Skip to content

Instantly share code, notes, and snippets.

@adukot
Last active September 15, 2015 00:16
Show Gist options
  • Save adukot/a06cdb6dc7969348bbc3 to your computer and use it in GitHub Desktop.
Save adukot/a06cdb6dc7969348bbc3 to your computer and use it in GitHub Desktop.
OrangePi PC boot message
HELLO! BOOT0 is starting!
boot0 version : 4.0.0
fel_flag = 0x00000000
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
rtc[4] value = 0x00000000
rtc[5] value = 0x00000000
rtc[6] value = 0x00000000
rtc[7] value = 0x00000000
DRAM DRIVE INFO: V0.8
DRAM Type = 3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 672 MHz
DRAM zq value: 003b3bfb
READ DQS LCDL = 001c1d1c
DRAM SIZE =1024 M
odt delay
dram size =1024
card boot number = 0
card no is 0
sdcard 0 line count 4
[mmc]: mmc driver ver 2014-12-10 21:20:39
[mmc]: ***Try SD card 0***
[mmc]: SD/MMC Card: 4bit, capacity: 3781MB
[mmc]: vendor: Man 00035344 Snr 0ba04fe4
[mmc]: product: SS04G
[mmc]: revision: 8.0
[mmc]: ***SD/MMC 0 init OK!!!***
sdcard 0 init ok
The size of uboot is 000dc000.
sum=ede66ee7
src_sum=ede66ee7
Succeed in loading uboot from sdmmc flash.
Ready to disable icache.
Jump to secend Boot.
SUNXI_NORMAL_MODE
[ 0.363]e mode
U-Boot 2011.09-rc1 (Jun 21 2015 - 19:33:17) Allwinner Technology
[ 0.370]version: 1.1.0
normal mode
[ 0.378]pmbus: ready
not set main pmu id
axp_probe error
[ 0.393]PMU: pll1 1200 Mhz,PLL6=600 Mhz
AXI=400 Mhz,AHB=200 Mhz, APB1=100 Mhz
sid read already
fel key new mode
run key detect
no key found
no key input
dram_para_set start
dram_para_set end
normal mode
[ 0.423]DRAM: 1 GiB
relocation Offset is: 35af9000
[box standby] read rtc = 0x0
[box_start_os] mag be start_type no use
user_gpio config
user_gpio ok
gic: normal or no secure os mode
workmode = 0
MMC: 0
[ 0.497][mmc]: mmc driver ver 2014-12-10 9:23:00
[ 0.502][mmc]: get sdc_phy_wipe fail.
[ 0.506][mmc]: get sdc0 sdc_erase fail.
[ 0.510][mmc]: get sdc_f_max fail,use default 50000000Hz
[ 0.515][mmc]: get sdc_ex_dly_used fail,use default dly
[ 0.521][mmc]: SUNXI SD/MMC: 0
[ 0.534][mmc]: *Try SD card 0*
[ 0.581][mmc]: CID 0x3534453 0x53303447 0x800ba04f 0xe400e849
[ 0.586][mmc]: mmc clk 50000000
[ 0.590][mmc]: SD/MMC Card: 4bit, capacity: 3781MB
[ 0.594][mmc]: boot0 capacity: 0KB,boot1 capacity: 0KB
[ 0.600][mmc]: ***SD/MMC 0 init OK!!!***
[ 0.604][mmc]: erase_grp_size:0x1WrBlk * 0x200 = 0x200 Byte
[ 0.610][mmc]: secure_feature 0x0
[ 0.613][mmc]: secure_removal_type 0x0
[ 0.617]sunxi flash init ok
script config pll_de to 864 Mhz
Not Found clk pll_video1 in script
script config pll_video to 297 Mhz
[boot]disp_init_tv
[DISP_TV] disp_init_tv enter g_tv_used
screen 0 do not support TV TYPE!
[BOOOT_DISP_TV] disp tv device_registered
unable to find regulator vcc-hdmi-18 from [pmu1_regu] or [pmu2_regu]
enable power vcc-hdmi-18, ret=-1
DRV_DISP_Init end
boot_disp.auto_hpd=1
auto hpd check has 50 times!
[disk_read_fs] no the partition
error: open disp_rsl.fex, maybe it is not exist
attched ok, mgr1<-->device1, type=2, mode=11----
ready to set mode
disp_tv_enable
[ 1.459]finally, output_type=0x2, output_mode=0xb, screen_id=0x1, disp_para=0x20b0000
fail to find part named env
Using default environment
In: serial
Out: serial
Err: serial
--------fastboot partitions--------
mbr not exist
base bootcmd=run setargs_mmc boot_normal
bootcmd set setargs_mmc
key 0
cant find rcvy value
cant find fstbt value
no misc partition is found
to be run cmd=run setargs_mmc boot_normal
[ 1.496][mmc]: MMC Device 2 not found
[ 1.500][mmc]: Can not find mmc dev
[ 1.504][mmc]: read first backup failed in fun sdmmc_secure_storage_read line 1849
sunxi_secstorage_read fail
get secure storage map err
the private part isn't exist
WORK_MODE_BOOT
adver not need show
sunxi_bmp_logo_display
[disk_read_fs] no the partition
error: open bootlogo.bmp, maybe it is not exist
sunxi bmp info error : unable to open logo file bootlogo.bmp
[ 1.537]Hit any key to stop autoboot: 0
sunxi# help
? - alias for 'help'
advert - show default advert
aw_fatload- load binary file from a dos filesystem
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
boota - boota - boot android bootimg from memory
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootvx - Boot vxWorks from an ELF image
check_userdata- check user data
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
delay_test- do a delay test
efex - run to efex
efex_test- do a usb efex test
efuse_read- read efuse key
env - environment handling commands
exit - exit script
false - do nothing, unsuccessfully
fastboot_test- do a sprite test
fatdown - download data to a dos filesystem
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
go - start application at address 'addr'
help - print command description/usage
huk_test- create a huk as a test
key_test- Test the key value
logo - show default logo
loop - infinite loop on address range
mass_test- do a usb mass test
md - memory display
memcpy_test- do a memcpy test
memtester- start application at address 'addr'
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mtest - simple RAM read/write test
mw - memory write (fill)
nm - memory modify (constant address)
power_probe- probe the axp output
printenv- print environment variables
pst - read data from secure storageerase flag in secure storage
recovery- sunxi recovery function
reset - Perform RESET of the CPU
run - run commands in an environment variable
save_userdata- save user data
savecfg - save sys_config into flash if you execute command setcfg
saveenv - save environment variables to persistent storage
screen_char- show default screen chars
setcfg - modify sys_config.fex
setenv - set environment variables
showvar - print local hushshell variables
shutdown- shutdown the system
sprite_recovery- one key sprite recovery
sprite_test- do a sprite test
standby - run to boot standby
sunxi_bmp_info- manipulate BMP image data
sunxi_bmp_show- manipulate BMP image data
sunxi_boot_signature- sunxi_boot_signature sub-system
sunxi_flash- sunxi_flash sub-system
sunxi_so- sunxi_so sub-system
sys_config- show the sys config value
test - minimal test like /bin/sh
timer_test- do a timer and int test
timer_test1- do a timer and int test
true - do nothing, successfully
uburn - do a burn from boot
version - print monitor, compiler and linker version
sunxi#
sunxi#printenv
baudrate=115200
boot_fastboot=fastboot
boot_normal=fatload mmc 0:1 0x43000000 script.bin;fatload mmc 0:1 40007800 uimage;bootm 40007800
boot_recovery=sunxi_flash read 40007800 recovery;boota 40007800
bootcmd=run setargs_mmc boot_normal
bootdelay=3
console=ttyS0,115200
init=/init
loglevel=8
mmc_root=/dev/mmcblk0p2
nand_root=/dev/nandd
setargs_mmc=setenv bootargs console=${console} root=${mmc_root} init=${init} loglevel=${loglevel} partitions=${partitions}
setargs_nand=setenv bootargs console=${console} root=${nand_root}init=${init} loglevel=${loglevel} partitions=${partitions}
stderr=serial
stdin=serial
stdout=serial
Environment size: 657/131068 bytes
sunxi#
sunxi#fatls mmc 0:1
5039512 uimage
36424 script.bin
.trash-1001/
system volume information/
2 file(s), 2 dir(s)
sunxi#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment