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

Need help with creating USB for the new uBoot (1 reply)

$
0
0
It has been many years ago that I installed debian on a dockstar using Jeff's instruction. I am familiar much with the unix command and only followed several step-by-step instruction to get things to work.

I have an old Pogo-B01 that I never used and want to put a new system into it. I have followed the steps to install new U-Boot but I did not do anything in step 11 because I did not understand how to do it. So I rebooted the box.

Quote

11. Required setup for default envs

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

r1. 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.
r2. The partition that contains the 2 kernel files must be partition 1 in a disk drive
r3. The partition that contains the rootfs must be labeled rootfs
r4. The rootfs partition is recommended to be type Ext3 (this is not a hard requirement, ext4 should boot OK, but Ext3 will ensure no problem).

Now I am stuck as I don't have a working usb to boot it and it keeps rebooting itself. And if I stop autoboot, I would get the OX820> prompt.

U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)
  Boot device: NAND
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set


U-Boot 2015.10-tld-2 (Oct 21 2017 - 22:00:02 -0700)
OXNAS OX820

DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   dwmac.40400000
Hit any key to stop autoboot:  0
OX820>

Can someone please guide me to the right place what I should do next or how do I create a USB stick for it?

I am accessing the box using a serial cable.

Viewing all articles
Browse latest Browse all 3247

Trending Articles