A new kernel for oxnas

This forum is for all other ARMv5 devices

Re: A new kernel for oxnas

Postby celemine1gig » Wed Mar 26, 2014 9:48 pm

No, they just renamed the dts file, which is the basis of the dtb file you are trying to create. There is no ox820.dts anymore, so there can't be a ox820.dtb. Search in "arch/arm/boot/dts" or something like that. ;)
celemine1gig
 
Posts: 54
Joined: Fri Apr 26, 2013 7:55 pm

Re: A new kernel for oxnas

Postby tilator » Wed Mar 26, 2014 10:58 pm

Well, there seems to be "ox820.dtsi". How can I use it to make ox820.dtb?

Just rename ox820.dtsi to ox820.dts and compile? Or am I totally lost here :roll:
tilator
 
Posts: 42
Joined: Sat Sep 01, 2012 2:24 pm

Re: A new kernel for oxnas

Postby celemine1gig » Wed Mar 26, 2014 11:08 pm

There is a "arch/arm/boot/dts/ox820-pogoplug-pro.dts".
So, you just tell make to create a ox820-pogoplug-pro.dtb . ;)
celemine1gig
 
Posts: 54
Joined: Fri Apr 26, 2013 7:55 pm

Re: A new kernel for oxnas

Postby tilator » Sat Mar 29, 2014 12:07 am

$this->bbcode_second_pass_quote('celemine1gig', 'T')here is a "arch/arm/boot/dts/ox820-pogoplug-pro.dts".
So, you just tell make to create a ox820-pogoplug-pro.dtb . ;)


Well, I know how to do that.

My problem is now actually something else. The device is not Pogoplug but Akitio Mycloud mini. It has same hardware except one thing - there is some weird GPIO driven rtc. It's called Bitbash and unfortunately this kernel does not support it. So, I can't get rtc to work with it. Everything else seems to be just fine.
tilator
 
Posts: 42
Joined: Sat Sep 01, 2012 2:24 pm

Re: A new kernel for oxnas

Postby jbrnd » Mon Mar 31, 2014 4:01 am

Hi. I've been trying to boot the new kernel (both self-compiled and the version from http://www.hs-augsburg.de/~ingmar_k/Pog ... ty.tar.bz2) over tftp, using the original uboot.

After issuing "tftp 60008000 uImage" and then "bootm 60008000", I get the output

$this->bbcode_second_pass_code('', '
## Booting image at 60008000 ...
Image Name: Linux-3.11.1+
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3299854 Bytes = 3.1 MB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
XIP Kernel Image ... OK

Starting kernel ...

')

... and then the boot hangs. What am I doing wrong?
jbrnd
 
Posts: 17
Joined: Sun Jul 08, 2012 2:15 am

Re: A new kernel for oxnas

Postby Geoff » Mon Mar 31, 2014 3:09 pm

$this->bbcode_second_pass_quote('jbrnd', '&')quot;tftp 60008000 uImage" and then "bootm 60008000"
... and then the boot hangs. What am I doing wrong?

You have to load and boot the kernel at 60500000, even though it is packaged by default with the address that you used. Also, as you're using the old uboot, make sure you configure your kernel to look for an appended DTB, and make sure you package the kernel with the DTB appended.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: A new kernel for oxnas

Postby celemine1gig » Mon Mar 31, 2014 3:11 pm

And my 3.12.13 kernels were never tested. So it could very well be that they don't boot at all. I never found the time for testing.
celemine1gig
 
Posts: 54
Joined: Fri Apr 26, 2013 7:55 pm

Re: A new kernel for oxnas

Postby tilator » Mon Mar 31, 2014 9:43 pm

I can't boot it either.

With the original kernel it boots and this is what I get first:

"Linux version 2.6.31.14-fast-20110801-fan (root@ubuntu) (gcc version 4.2.4) #41 SMP Fri Oct 14 10:05:59 CST 2011
CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387f"

I have done the new kernel appending ox820.dbt in it, but it keeps on nagging about machine ID like this:

"Restarting system.

U-Boot SPL 2013.10-ga72eb8f-dirty (Mar 26 2014 - 14:25:06)
Boot device: SATA
Attempting to set PLLA to 750 MHz ...
plla_ctrl0 : 0000000a
plla_ctrl1 : 000f0000
plla_ctrl2 : 001d01a0
plla_ctrl3 : 00000017

PLLA Set
Bus 0: OK
Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-ga72eb8f-dirty (Mar 26 2014 - 14:25:06) for OXNAS

DRAM: 256 MiB
IDE: Bus 0: OK
Device 0: Model: SAMSUNG HN-M101MBB Firm: 2AR10001 Ser#: S2RUJ9AB703398
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: mii0
switch to net console
Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x00000480).

Available machine support:

ID (hex) NAME
ffffffff PLXTECH NAS782X SoC (Flattened Device Tree)

Please check your kernel config and/or bootloader."

The device is not Pogoplug but Akitio Mycloud mini. Should the device ID be something else? Or is the trouble somewhere else?

***************************************************************************************************************************

BTW, this is what kref's kernel gives with the same device:

"U-Boot 2013.10-ga72eb8f-dirty (Mar 26 2014 - 14:25:06) for OXNAS

DRAM: 256 MiB
IDE: Bus 0: OK
Device 0: Model: SAMSUNG HN-M101MBB Firm: 2AR10001 Ser#: S2RUJ9AB703398
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: mii0
switch to net console
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.12.0-ppv3-classic-1.0 (root@ubuntu-13) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #15 SMP Mon Dec 2 22:28:50 CET 2013
[ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387d"

So, is there a wron ID or what?
tilator
 
Posts: 42
Joined: Sat Sep 01, 2012 2:24 pm

Re: A new kernel for oxnas

Postby Geoff » Mon Mar 31, 2014 11:00 pm

$this->bbcode_second_pass_quote('tilator', 'S')o, is there a wron ID or what?

You got pretty far using that generic ox820.dtb. I made a dtb from ox820-pogoplug-pro.dts in kref's 3.12 Linux source tree. I'm not surprised that the Akitio needs something a bit different. I don't know how to go about customizing it.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm
Top

Re: A new kernel for oxnas

Postby tilator » Tue Apr 01, 2014 4:44 am

Is it ox820.dtb I should change? Or is there something else to make the trouble at the beginning of booting from kernel?

***********************************************************

I gove ox820-pogoplug-pro.dts a try now. No change. Still "Error: unrecognized/unsupported machine ID (r1 = 0x00000480)"
tilator
 
Posts: 42
Joined: Sat Sep 01, 2012 2:24 pm

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 2 guests

cron