A new kernel for oxnas

This forum is for all other ARMv5 devices

Re: A new kernel for oxnas

Postby celemine1gig » Sat Jan 25, 2014 4:55 pm

Shouldn't this work with the default u-Boot version, when compiled correctly and then creating a uImage with attached DTB, like described by kref?
I never tested it myself, as I also just went ahead and updated the uBoot, too. But theoretically, it should work. If not, please correct me.
celemine1gig
 
Posts: 54
Joined: Fri Apr 26, 2013 7:55 pm

Re: A new kernel for oxnas

Postby ShapeShifter499 » Sun Jan 26, 2014 3:02 am

I have a number of isssues still, I can't get WIFI working, I can't get the LED in front working, and I can't update environment strings in uboot from inside the OS resulting in a CRC error. I can update the uboot enviroment strings if I connect over serial. I did update my uboot to the latest found here. Any ideas on the CRC error? My pogoplug currently has a squeeze rootfs I got from the doozan foums that was updated to wheezy. Unless someone has a better way I'm going to dump the arch package onto my debian system to try to see if the compile version will get the WIFI and LED working.

EDIT: If all else fails I may try installing Arch on this pogoplug but I don't know how well that will go. I have never used a Arch distro before.

EDIT 2: Oh just saw the note about the kernel config file being in /proc/config.gz of the Arch package, I'll try transplanting that and compiling first.
ShapeShifter499
 
Posts: 34
Joined: Mon Nov 25, 2013 12:24 pm

Re: A new kernel for oxnas

Postby moonman » Sun Jan 26, 2014 3:56 am

Would.t it be easier to grab it from our github?

That may be your problem that you are on debian.
Running arch isn't that much more difficult with the benefit of having the latest packages. Just consult ArchWiki - there's a page for almost every package.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: A new kernel for oxnas

Postby godfather007 » Sun Jan 26, 2014 9:26 am

Hi,

i'm following navym warheadse and celemine their postings a while but i still have questions.
Having the 820 pinky box with serial IO and trying to replace u-boot as i want the thing to boot from NAND.

In a VM (ubuntu :-)) i managed to make a new u-boot:

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- ox820_nand_config
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j4 all u-boot.img

To test the new u-boot.img i tried loading this from tftp but it does not start...

I get "resetting" device and / or (with bin -file) "starting program..." but no new u-boot.

KREF's u-boot works:
https://github.com/kref/u-boot-oxnas/re ... u-boot.zip

How can i produce a working u-boot?


Thanks,

Martijn
godfather007
 
Posts: 4
Joined: Mon Apr 01, 2013 6:19 am

Re: A new kernel for oxnas

Postby godfather007 » Sun Jan 26, 2014 6:20 pm

By the way,

looking at other peoples their bootlogs i see different CPU frequencies.

700, 750, 800Mhz.. how is this determined? I've read about possible higher power consumption after applying a different u-boot?
godfather007
 
Posts: 4
Joined: Mon Apr 01, 2013 6:19 am

Re: A new kernel for oxnas

Postby celemine1gig » Fri Jan 31, 2014 9:48 am

Just a little heads up, because I got some private messages concerning the platform.

At the moment I don't have any time to do some testing with my Pogo V3 devices. In about 2 weeks, I could perhaps be able to retest kref's latest U-Boot and kernel.
And MAYBE, I could assist WarheadsSE and kref to get the Arch support going again. We'll see. It looks very promising however.
I am mainly a Debian guy, but the U-Boot environment, kernel config etc. should be universal anyway. Will also see if I can create a ARMv6k-softfloat compiler for the newest kernel. Could potentially improve performance of the kernel itself a little.

Edit:
Just finished building a new cross-compiler for ARMv6k and krefs linux kernel 3.12.6.
For those who are interested, it is available here:
https://github.com/ingmar-k/armv6k-soft ... ux-gnueabi

I did not have time to test it yet. So if you do, please tell me how it went. ;)

Edit 2:

Couldn't wait and gave it a little try. Seems to work just fine. But as always, some Makefiles need a little Editing to really make use of the armv6k compiler. Otherwise some other standard optimizations are used.
celemine1gig
 
Posts: 54
Joined: Fri Apr 26, 2013 7:55 pm

Re: A new kernel for oxnas

Postby Geoff » Sun Feb 09, 2014 11:51 pm

That's good to have an ARMv6 kernel. I wonder if you have compared and found that it's an improvement over the kernel in the linux-oxnas package, in terms of either speed or memory usage. I think what's holding up the general use of these kernels is the work still needed to be done on u-boot. At the moment, the u-boot I am using with the 3.12 kernel is built only for booting from SATA.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: A new kernel for oxnas

Postby godfather007 » Sat Feb 15, 2014 8:22 am

$this->bbcode_second_pass_quote('celemine1gig', 'J')ust a little heads up, because I got some private messages concerning the platform.

...
I am mainly a Debian guy, but the U-Boot environment, kernel config etc. should be universal anyway. Will also see if I can create a ARMv6k-softfloat compiler for the newest kernel. Could potentially improve performance of the kernel itself a little.
...


Ingmar, could you show me the way? :?

I would love to do it myself, a little githubbing is possible but i can only get "kref's" u-boot to work.
godfather007
 
Posts: 4
Joined: Mon Apr 01, 2013 6:19 am

Re: A new kernel for oxnas

Postby coachskolari » Sat Feb 15, 2014 4:38 pm

guys we can successfully compile u-boot (f.e. krefs) and the new kernel...
but how to get the pogo booting from sata with it ?

i tried according to krefs instructions but the divice does not boot.

warheads script does not work also, since we or at least i do not know how to get the stage1 "wrapped".

i think we should at least give these information to the community?
sure it is not yet working stable but then it would be possible to have more testers with more ideas.
coachskolari
 
Posts: 6
Joined: Sun Jan 12, 2014 12:49 pm

Re: A new kernel for oxnas

Postby celemine1gig » Mon Feb 17, 2014 10:51 pm

I still don't have a lot of time at the moment, but here is a test kernel for the Pogoplug V3 Classic:
http://www.hs-augsburg.de/~ingmar_k/Pog ... ty.tar.bz2

Not tested yet, so please only try/use it if you know what you are doing. ;)
celemine1gig
 
Posts: 54
Joined: Fri Apr 26, 2013 7:55 pm

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 7 guests