The first would be in relation to booting via usb. I tried using the method “setenv bootargs root = / dev / sda1 rw rootfstype = ext4” ... but I didn't get success, I think my uboot is too outdated version 1.0
The second would be to mount or rootfiles on usb, this would be the most important.
I'm trying my best to solve this problem, but without success.
I'm guessing that some kernel boot driver for usb reading might be missing. What are all the necessary drivers?
Affectionate Information:
The usb is reading normally.
You might want to force uboot to scan the USB ports for storage, before you attempt a boot.
There might be some usable info in https://forum.doozan.com/read.php?3,12
Doozans' usually a great source of info about uboot booting, although the versions
described there, might be newer than the one you're using.
"help" result:
? - alias for 'help'
bootm - boot application image from memory
cp - memory copy
crc32 - checksum calculation
erase - erase SPI FLASH memory
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
flash_always_3byte always switch to 3byte
flash_always_4byte always switch to 4byte
flash_exit_4byte exit to 4byte
flash_to_4byte switch to 4byte
go - start application at address 'addr'
help - print online help
loadb - load binary file over serial line (kermit mode)
md - memory display
mdio - Ralink PHY register R/W command !!
mm - memory modify (auto-incrementing)
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset - Perform RESET of the CPU
rf - read/write rf register
saveenv - save environment variables to persistent storage
setenv - set environment variables
spi - spi command
spi_read_sr read Status Register
switch - rt3052 embedded switch command
tftpboot- boot image via network using TFTP protocol
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version
bootcmd is missing, the value is empty ? bootargs is incorrect, there is space characters which must be removed
You normally have a command to reset to default values.
You must find somewhere these defaults and missing values, or find the command to reset them.
bootcmd normally filled with commands executed when you boot, or with the boot command.
manually I can read the usb, read the usb image with fatls, but I don't understand how I can set the rootfiles through usb and load the image through usb