Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Oxnas U-Boot default environment image (no replies)

$
0
0
For Oxnas U-Boot in this thread: http://forum.doozan.com/read.php?3,16017

I've decided to release this envs image early, instead of waiting until the new u-boot version release, as requested by forum members wanting to solve problems with booting in multiple-partition configuration.

This new default envs image now supports booting with multiple disk drives (and hubs) attached. The disk drives could be any type (usb, sata, sd card). The scanning logic and default envs were set to automatically boot the box with the following required configuration:

a. There must be only one partition among all partitions from all drives that contains the kernel files. The 2 kernel files are /boot/uImage and /boot/uInitrd.
b. The partition that contains the 2 kernel files must be partition 1 in a disk drive
c. The partition that contains the rootfs must be labeled rootfs


How to flash and use the new default set of u-boot envs.

1. Download the default u-boot envs at Dropbox:

uboot.2013.10-tld-5.ox820.environment.bodhi.tar
md5
27d246da2a1e84c3d2b46db78f76da65

This tarball includes 2 files:

uboot.2013.10-tld-5.ox820.environment.img (the default envs image to be flashed)
uboot.2013.10-tld-5.ox820.environment (the content of the default envs in text format)

2. Flash new default envs

Please use the same instruction as for uboot.2013.10-tld-4 in step 2 in the Oxnas u-boot thread 1st post. Replace the image name pogopro_uboot_env.img with uboot.2013.10-tld-5.ox820.environment.img where it appears.

3. Adjust the DTB name to boot with a rootfs that has FDT kernel

Find your box DTB file in the rootfs /boot/dts directory and adjust the env to it. For example, if the box is the Pogo Classic V3
fw_setenv dtb_file 'ox820-pogoplug-classic.dtb'
Note that the env is already default to the Pogo Pro (no need to perform this step if you have the Pogo Pro V3)

4. Verify the envs were flashed and adjusted OK using fw_printenv to list them.
fw_printenv

If there was error in listing the envs, then don't reboot. Post the problem here so we can help.

Viewing all articles
Browse latest Browse all 3247

Trending Articles