Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pdp7/c3b1e5aec026e92940e27169172036e1 to your computer and use it in GitHub Desktop.
Save pdp7/c3b1e5aec026e92940e27169172036e1 to your computer and use it in GitHub Desktop.
flash-u-boot-with-spl-beagle-2024-12-23-build.bin
pdp7@x1:~/dev/ahead/xuantie-ubuntu$ sudo ./08_fastboot_emmc.sh
Sending 'ram' (969 KB) OKAY [ 0.257s]
Writing 'ram' OKAY [ 0.002s]
Finished. Total time: 0.264s
Rebooting OKAY [ 0.001s]
Finished. Total time: 0.302s
OKAY [ 0.015s]
Finished. Total time: 0.015s
Sending 'uboot' (969 KB) OKAY [ 0.048s]
Writing 'uboot' OKAY [ 0.099s]
Finished. Total time: 0.170s
Invalid sparse file format at header magic
Sending sparse 'boot' 1/1 (19856 KB) OKAY [ 0.675s]
Writing 'boot' OKAY [ 8.527s]
Finished. Total time: 9.344s
Rebooting OKAY [ 0.006s]
Finished. Total time: 3.015s
pdp7@x1:~/dev/ahead/xuantie-ubuntu$
brom_ver 8
[APP][E] protocol_connect failed, exit.
Starting download of 993216 bytes
downloading of 993216 bytes finished
-----------------------------------------
_____ _ _____ _____ _ __
| __ \ (_)/ ____| __ \| |/ /
| |__) | _ _ _ _| (___ | | | | ' /
| _ / | | | | | | |\___ \| | | | <
| | \ \ |_| | |_| | |____) | |__| | . \
|_| \_\__,_|\__, |_|_____/|_____/|_|\_\
__/ |
|___/
-- Presented by ISCAS
-----------------------------------------
U-Boot SPL 2020.01-g68565d28 (Dec 23 2024 - 07:48:28 +0000)
FM[1] lpddr4x singlerank freq=3733 64bit dbi_off=n sdram init
found ddr boundary <0x80000000>
ddr initialized, jump to uboot
image has no header
U-Boot 2020.01-g68565d28 (Dec 23 2024 - 07:48:28 +0000)
CPU: rv64imafdcvsu
Model: T-HEAD c910 light
DRAM: 2 GiB
C910 CPU FREQ: 750MHz
MMC: sdhci@ffe7080000: 0, sd@ffe7090000: 1
Loading Environment from MMC... OK
Error reading output register
Warning: cannot get lcd-en GPIO
LCD panel cannot be found : -121
splash screen startup cost 216 ms
In: serial
Out: serial
Err: serial
light_c910_set_gpio_output_high: trying to set gpio output high
light_c910_set_gpio_output_high: no /config node?
## Resetting to default environment
Saving Environment to MMC... Writing to MMC(0)... OK
Writing GPT: success!
dwc3_gadget_start maximum_speed:5 revision:0x5533330b
dwc3_gadget_start DWC3_DCFG:0x80804
dwc3_gadget_conndone_interrupt speed:0 dwc3_dsts:0x20000
dwc3_gadget_conndone_interrupt speed:0 dwc3_dsts:0x212e8
Writing GPT: success!
request 000000007fa57740 was not queued to ep1in-bulk
request 000000007fa57740 was not queued to ep1in-bulk
request 000000007fa57740 was not queued to ep1in-bulk
request 000000007fa57740 was not queued to ep1in-bulk
Starting download of 993216 bytes
request 000000007fa57740 was not queued to ep1in-bulk
.......
downloading of 993216 bytes finished
request 000000007fa57740 was not queued to ep1in-bulk
MMC write: dev # 0, block # 0, count 1940 ... 1940 blocks written: OK
find fastresume partition , erase the header:
find swap partition , erase the header:
request 000000007fa57740 was not queued to ep1in-bulk
request 000000007fa57740 was not queued to ep1in-bulk
request 000000007fa57740 was not queued to ep1in-bulk
request 000000007fa57740 was not queued to ep1in-bulk
Starting download of 20332796 bytes
request 000000007fa57740 was not queued to ep1in-bulk
..........................................................................
..........................................................................
.......
downloading of 20332796 bytes finished
request 000000007fa57740 was not queued to ep1in-bulk
cmd_parameter: boot, imagesize: 20332796
Flashing sparse image at offset 4096
Flashing Sparse Image
........ wrote 199229440 bytes to 'boot'
request 000000007fa57740 was not queued to ep1in-bulk
request 000000007fa57740 was not queued to ep1in-bulk
fastboot bootcmd bootslave; run set_bootargs; booti 0x200000 - 0x3800000
## Error: "set_bootargs" not defined
Bad Linux RISCV Image magic!
brom_ver 8
[APP][E] protocol_connect failed, exit.
-----------------------------------------
_____ _ _____ _____ _ __
| __ \ (_)/ ____| __ \| |/ /
| |__) | _ _ _ _| (___ | | | | ' /
| _ / | | | | | | |\___ \| | | | <
| | \ \ |_| | |_| | |____) | |__| | . \
|_| \_\__,_|\__, |_|_____/|_____/|_|\_\
__/ |
|___/
-- Presented by ISCAS
-----------------------------------------
U-Boot SPL 2020.01-g68565d28 (Dec 23 2024 - 07:48:28 +0000)
FM[1] lpddr4x singlerank freq=3733 64bit dbi_off=n sdram init
found ddr boundary <0x100000000>
ddr initialized, jump to uboot
image has no header
U-Boot 2020.01-g68565d28 (Dec 23 2024 - 07:48:28 +0000)
CPU: rv64imafdcvsu
Model: T-HEAD c910 light
DRAM: 4 GiB
C910 CPU FREQ: 750MHz
MMC: sdhci@ffe7080000: 0, sd@ffe7090000: 1
Loading Environment from MMC... OK
Error reading output register
Warning: cannot get lcd-en GPIO
LCD panel cannot be found : -121
splash screen startup cost 216 ms
In: serial
Out: serial
Err: serial
light_c910_set_gpio_output_high: trying to set gpio output high
light_c910_set_gpio_output_high: no /config node?
ethaddr: 96:da:e1:cc:69:f2
eth1addr: 96:da:e1:cc:69:f3
Net: ethernet@ffe7070000 (eth0) using MAC address - 96:da:e1:cc:69:f2
eth0: ethernet@ffe7070000ethernet@ffe7070000:0 is connected to ethernet@ffe7070000. Reconnecting to ethernet@ffe7060000
ethernet@ffe7060000 (eth1) using MAC address - 96:da:e1:cc:69:f3
, eth1: ethernet@ffe7060000
Hit any key to stop autoboot: 0
Unknown command 'usb' - try 'help'
50340 bytes read in 2 ms (24 MiB/s)
get light aon config faild -19
aon config and set faild -19### ERROR ### Please RESET the board ###
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment