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

Re: NSA 325 V2 Debian Is Possible!

$
0
0
lille,

>
> BTW, I am not willing to install your U-boot, beca
> use I want to boot to stock rootfs and your U-boot
> version doesn't allow this until today afaik.

That's OK. No need to install new u-boot if you still 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 the instruction quoted below.

Quote

4. Create uImage and uInitrd and setup for booting.

....

4b. Boot with DTB file embedded in the kernel image (no U-Boot envs changes are needed if your system 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 0x00008000 -e 0x00008000 -n Linux-4.8.0-kirkwood-tld-1 -d zImage.fdt  uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-4.8.0-kirkwood-tld-1 -d initrd.img-4.8.0-kirkwood-tld-1 uInitrd

Viewing all articles
Browse latest Browse all 359

Trending Articles