Quantcast
Channel: Debian on NSA325 V1/V2
Viewing all articles
Browse latest Browse all 359

Re: NSA 325 V2 Debian Is Possible!

$
0
0
bodhi Wrote:
-------------------------------------------------------
> lille,
>
> >
> > BTW, I am not willing to install your U-boot, be
> ca
> > use I want to boot to stock rootfs and your U-bo
> ot
> > version doesn't allow this until today afaik.
>
> That's OK. No need to install new u-boot if you st
> ill want to boot stock.
>
> This booting problem is simple. Your rootfs uImage
> needs to have the DTB appended to it (because you
> are booting with stock u-boot). Use the kirkwood-
> nsa325.dtb insteadt of kirkwood-goflexnet.dtb in t
> he instruction quoted below.
>
>
Quote

4. Create uImage and uInitrd and setup for
> booting.
>
> ....
>
> 4b. Boot with DTB file embedded in the kernel imag
> e (no U-Boot envs changes are needed if your syste
> m already booting on USB or HDD)
>
> Again, please replace kirkwood-goflexnet.dtb below
> with the correct DTB name for your box.
>
> Generate the uImage and uInitrd:
>
> cd /boot
> mv uImage uImage.orig
> cp -a zImage-4.8.0-kirkwood-tld-1  zImage.fdt
> cat dts/kirkwood-goflexnet.dtb  >> zImage.fdt
> mkimage -A arm -O linux -T kernel -C none -a 0x000
> 08000 -e 0x00008000 -n Linux-4.8.0-kirkwood-tld-1
> -d zImage.fdt  uImage
> mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00
> 000000 -e 0x00000000 -n initramfs-4.8.0-kirkwood-t
> ld-1 -d initrd.img-4.8.0-kirkwood-tld-1 uInitrd
> 

sorted this out already by reading the http://forum.doozan.com/read.php?2,12096 thread properly, sorry my fault.

but how to boot to stock rootfs when usb stick with your debian rootfs is not inserted?

Viewing all articles
Browse latest Browse all 359

Trending Articles