* Kirkwood NSA 310 does not boot with 3.8.3
@ 2013-03-16 20:48 Lukas Zapletal
2013-03-16 21:55 ` Jason Cooper
0 siblings, 1 reply; 4+ messages in thread
From: Lukas Zapletal @ 2013-03-16 20:48 UTC (permalink / raw)
To: linux-arm-kernel
Hello all,
I have noticed that in the latest stable (3.8) kernels, support for NSA 310
(Marwell based NAS) has been added.
I tried to boot a kernel with Marwell DT and NSA310 enabled and it can't boot up
with strange error:
<snip>
## Booting image at 00800000 ...
Image Name: Linux-3.8.3
Created: 2013-03-16 20:35:06 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3646704 Bytes = 3.5 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Error: unrecognized/unsupported machine ID (r1 = 0x00000d0b).
Available machine support:
ID (hex) NAME
ffffffff Marvell Kirkwood (Flattened Device Tree)
Please check your kernel config and/or bootloader.
</snip>
Particularly, I dont understand the ID code - it really does not look right.
This is vanilla 3.8.3. Is there an ARM-dedicated git branch I should rather use
for early support for NSA310?
Here is my full kernel config:
http://lzap.fedorapeople.org/patches/nsa310/config-3.8.3-vanilla-no-boot
I hope this is the right mailing list to ask, I apologize otherwise.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Kirkwood NSA 310 does not boot with 3.8.3
2013-03-16 20:48 Kirkwood NSA 310 does not boot with 3.8.3 Lukas Zapletal
@ 2013-03-16 21:55 ` Jason Cooper
2013-03-18 9:16 ` Lukas Zapletal
0 siblings, 1 reply; 4+ messages in thread
From: Jason Cooper @ 2013-03-16 21:55 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Mar 16, 2013 at 08:48:13PM +0000, Lukas Zapletal wrote:
> Hello all,
>
> I have noticed that in the latest stable (3.8) kernels, support for NSA 310
> (Marwell based NAS) has been added.
>
> I tried to boot a kernel with Marwell DT and NSA310 enabled and it can't boot up
> with strange error:
>
> <snip>
> ## Booting image at 00800000 ...
> Image Name: Linux-3.8.3
> Created: 2013-03-16 20:35:06 UTC
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 3646704 Bytes = 3.5 MB
> Load Address: 00008000
> Entry Point: 00008000
> Verifying Checksum ... OK
> OK
>
> Starting kernel ...
>
> Uncompressing Linux... done, booting the kernel.
>
> Error: unrecognized/unsupported machine ID (r1 = 0x00000d0b).
Your bootloader doesn't support devicetree.
> Here is my full kernel config:
> http://lzap.fedorapeople.org/patches/nsa310/config-3.8.3-vanilla-no-boot
You'll need to enable ARM_APPENDED_DTB, concatenate your dtb onto your
zImage, then run mkimage on the result to get the uImage.
thx,
Jason.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Kirkwood NSA 310 does not boot with 3.8.3
2013-03-16 21:55 ` Jason Cooper
@ 2013-03-18 9:16 ` Lukas Zapletal
2013-03-18 11:17 ` Jason Cooper
0 siblings, 1 reply; 4+ messages in thread
From: Lukas Zapletal @ 2013-03-18 9:16 UTC (permalink / raw)
To: linux-arm-kernel
Jason Cooper <jason <at> lakedaemon.net> writes:
> You'll need to enable ARM_APPENDED_DTB, concatenate your dtb onto your
> zImage, then run mkimage on the result to get the uImage.
Jason, thanks for help. It worked great, just for completenes for googlers:
# grep "ARM_APPENDED_DTB|NSA" .config
CONFIG_ARM_APPENDED_DTB=y
CONFIG_MACH_NSA310_DT=y
# make zImage
# make dtbs
# cat arch/arm/boot/zImage arch/arm/boot/dts/kirkwood-nsa310.dtb > /tmp/X
# mv /tmp/X arch/arm/boot/zImage
# make uImage
...
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3684110 Bytes = 3597.76 kB = 3.51 MB
Load Address: 00008000
Entry Point: 00008000
Image arch/arm/boot/uImage is ready
# cp arch/arm/boot/uImage /boot/uImage-nsa310
UBOOT# ide reset; ext2load ide 0:1 0x800000 /uImage-nsa310; bootm 0x800000
Compared to my patched NSA310 3.6 kernel I don't see console anymore, I guess is
is just an config option I miss. And LEDs are not working yet.
Thank you
^ permalink raw reply [flat|nested] 4+ messages in thread
* Kirkwood NSA 310 does not boot with 3.8.3
2013-03-18 9:16 ` Lukas Zapletal
@ 2013-03-18 11:17 ` Jason Cooper
0 siblings, 0 replies; 4+ messages in thread
From: Jason Cooper @ 2013-03-18 11:17 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Mar 18, 2013 at 09:16:34AM +0000, Lukas Zapletal wrote:
> Jason Cooper <jason <at> lakedaemon.net> writes:
> > You'll need to enable ARM_APPENDED_DTB, concatenate your dtb onto your
> > zImage, then run mkimage on the result to get the uImage.
>
> Jason, thanks for help. It worked great, just for completenes for googlers:
>
> # grep "ARM_APPENDED_DTB|NSA" .config
> CONFIG_ARM_APPENDED_DTB=y
> CONFIG_MACH_NSA310_DT=y
>
> # make zImage
>
> # make dtbs
>
> # cat arch/arm/boot/zImage arch/arm/boot/dts/kirkwood-nsa310.dtb > /tmp/X
> # mv /tmp/X arch/arm/boot/zImage
> # make uImage
Be careful using this in the future when we go multiplatform, it's not
supported (which Load Address and Entry Point?). You'll need to use the
mkimage command by hand then.
thx,
Jason.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-03-18 11:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-16 20:48 Kirkwood NSA 310 does not boot with 3.8.3 Lukas Zapletal
2013-03-16 21:55 ` Jason Cooper
2013-03-18 9:16 ` Lukas Zapletal
2013-03-18 11:17 ` Jason Cooper
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.