Power & Source of Big Ideas

boot from usb

Moderators: chensy, FATechsupport

Hy

I tried to run clonezilla from a usb stick so i can clone the eMMC to the USB stick.
However it does not boot from the stick.
When I view this over the DEBUG Serial prot I see:

Code: Select all

starting USB...
No controllers found


And then it boots form the eMMC ...
What can I do to start it from the USB?

Andy
Here is the whole terminal output:

Code: Select all

CPU:   Allwinner H5 (SUN50I)
Model: FriendlyElec NanoPi H5
DRAM:  1 GiB
Sy8106a: 1200mv
CPU Freq: 1008MHz
MMC:   SUNXI SD/MMC: 1, SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
SID: 82800001-44004704-44004704-5190410c
BOARD: nanopi-neo-core2
starting USB...
No controllers found
Hit any key to stop autoboot:  0
For start, you need an u-boot with USB support.
ok so the standard U-Boot delivered with the Core 2 has no USB support.

So how can I get a "new" u-boot that is compatible with the Core 2?

Andy
GekoCH wrote:
ok so the standard U-Boot delivered with the Core 2 has no USB support.

So how can I get a "new" u-boot that is compatible with the Core 2?

Andy


The easy way, but I am not sure if all this is supported yet:
https://www.armbian.com/nanopi-neo-plus2/
Move OS to USB and boot from eMMC
https://docs.armbian.com/User-Guide_Get ... d-sata-usb
With this method, you don't need USB support within u-boot level.

If you want to boot USB directly from u-boot (loaded from eMMC, SD, SPI, FEL)), you might need to go with the latest mainline u-boot. Now, from my head, I am not 100% sure that it works on H5 but it works on H3 boards. They are very similar so I assume it should.

Again you have more options. The easy one:
https://docs.armbian.com/Developer-Guid ... eparation/
the one you are using now and doesn't work
http://wiki.friendlyarm.com/wiki/index. ... _and_Linux
for geeks http://linux-sunxi.org/Mainline_U-Boot
Thx a lot for the infos! Great!

I still try to figure out what the best solution is to bring my custom OS that is currently running on a Core 2 to all the other Core 2 units.
Currently I copy the whole Partition with the dd command to the SD-Card and then copy it back on the other Core 2 with a bootable OS on the same SD-Card.

Andy
GekoCH wrote:
Thx a lot for the infos! Great!

I still try to figure out what the best solution is to bring my custom OS that is currently running on a Core 2 to all the other Core 2 units.
Currently I copy the whole Partition with the dd command to the SD-Card and then copy it back on the other Core 2 with a bootable OS on the same SD-Card.

Andy


For deploying OS to internal eMMC directly, there is another tool:
https://github.com/zador-blood-stained/fel-mass-storage
Thx didn't know the FEL mode seems a great way to save the image to the eMMC

Andy

Who is online

In total there are 44 users online :: 0 registered, 0 hidden and 44 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 44 guests