Skip to content

Instantly share code, notes, and snippets.

@Kwiboo
Created September 1, 2023 20:33
Show Gist options
  • Save Kwiboo/c01de92dbe84a77ef78f7918cd39cbf6 to your computer and use it in GitHub Desktop.
Save Kwiboo/c01de92dbe84a77ef78f7918cd39cbf6 to your computer and use it in GitHub Desktop.
GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:800;NAND:81;SD:0;READ:0;CHK:0;
<debug_uart>
spl_early_init
size=30, ptr=30, limit=2000: d900e000
size=98, ptr=c8, limit=2000: d900e030
bind node aliases
Device 'aliases' has no compatible string
bind node chosen
Device 'chosen' has no compatible string
bind node soc
- attempt to match compatible string 'simple-bus'
- found match at 'simple_bus': 'simple-bus' matches 'simple-bus'
size=30, ptr=f8, limit=2000: d900e0c8
size=98, ptr=190, limit=2000: d900e0f8
size=18, ptr=1a8, limit=2000: d900e190
ofnode_read_u32_array: ranges: fdtdec_get_int_array: ranges
get_prop_check_min_len: ranges
bind node apb@d0000000
- attempt to match compatible string 'simple-bus'
- found match at 'simple_bus': 'simple-bus' matches 'simple-bus'
size=98, ptr=240, limit=2000: d900e1a8
size=18, ptr=258, limit=2000: d900e240
ofnode_read_u32_array: ranges: fdtdec_get_int_array: ranges
get_prop_check_min_len: ranges
bind node mmc@72000
- attempt to match compatible string 'amlogic,meson-gx-mmc'
- found match at 'meson_gx_mmc': 'amlogic,meson-gx-mmc' matches 'amlogic,meson-gx-mmc'
size=30, ptr=288, limit=2000: d900e258
size=98, ptr=320, limit=2000: d900e288
size=138, ptr=458, limit=2000: d900e320
meson_mmc_bind(mmc=d900e348)
mmc_bind: alias devnum=0
size=e, ptr=466, limit=2000: d900e458
size=30, ptr=498, limit=2000: d900e468
size=98, ptr=530, limit=2000: d900e498
size=88, ptr=5b8, limit=2000: d900e530
bind node mmc@74000
- attempt to match compatible string 'amlogic,meson-gx-mmc'
- found match at 'meson_gx_mmc': 'amlogic,meson-gx-mmc' matches 'amlogic,meson-gx-mmc'
size=98, ptr=650, limit=2000: d900e5b8
size=138, ptr=788, limit=2000: d900e650
meson_mmc_bind(mmc=d900e678)
mmc_bind: alias devnum=1
size=e, ptr=796, limit=2000: d900e788
size=98, ptr=830, limit=2000: d900e798
size=88, ptr=8b8, limit=2000: d900e830
U-Boot SPL 2023.10-rc3 (Sep 01 2023 - 20:30:09 +0000)
>>SPL: board_init_r()
spl_init
Trying to boot from MMC1
0
- 0 'mmc@72000'
- found
size=8, ptr=8c0, limit=2000: d900e8b8
meson_mmc_of_to_plat(mmc=d900e348)
OF: ** translation for device mmc@72000 **
OF: bus is default (na=2, ns=2) on apb@d0000000
OF: translating address: 00000000 00200700
OF: parent bus is default (na=2, ns=2) on soc
OF: walking ranges...
OF: default map, cp=x, s=x, da=x
OF: parent translation for: 00000000 000000d0
OF: with offset: u
OF: one level translation: 00000000 002007d0
OF: parent bus is default (na=2, ns=2) on
OF: no ranges, 1:1 translation
OF: parent translation for: 00000000 00000000
OF: with offset: u
OF: one level translation: 00000000 002007d0
OF: reached root node
meson_mmc_probe(mmc=d900e348)
clock is enabled (380953Hz)
meson_dm_mmc_set_ios(mmc=d900e348)
meson_mmc_config_clock(mmc=d900e348): mmc->clock=5d019
meson_write(mmc=d900e348): writel(23f, d0072000)
meson_read(mmc=d900e348): readl(d0072044): 4791
blk_find_device: uclass_id=71, devnum=0: mmc@72000.blk, 71, 0
clock is disabled (0Hz)
meson_dm_mmc_set_ios(mmc=d900e348)
meson_mmc_config_clock(mmc=d900e348): mmc->clock=0
meson_read(mmc=d900e348): readl(d0072044): 4791
meson_dm_mmc_set_ios(mmc=d900e348)
meson_mmc_config_clock(mmc=d900e348): mmc->clock=0
meson_read(mmc=d900e348): readl(d0072044): 4791
meson_write(mmc=d900e348): writel(4890, d0072044)
clock is enabled (380953Hz)
meson_dm_mmc_set_ios(mmc=d900e348)
meson_mmc_config_clock(mmc=d900e348): mmc->clock=5d019
meson_write(mmc=d900e348): writel(23f, d0072000)
meson_read(mmc=d900e348): readl(d0072044): 4890
meson_write(mmc=d900e348): writel(4890, d0072044)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_write(mmc=d900e348): writel(8001c800, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(0, d0072058)
meson_write(mmc=d900e348): writel(0, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2000
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d007205c): 0
meson_write(mmc=d900e348): writel(ffff, d0072048)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_write(mmc=d900e348): writel(8800c800, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(0, d0072058)
meson_write(mmc=d900e348): writel(1aa, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2000
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d007205c): 1aa
meson_write(mmc=d900e348): writel(ffff, d0072048)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_write(mmc=d900e348): writel(b700c800, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(0, d0072058)
meson_write(mmc=d900e348): writel(0, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2000
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d007205c): 120
meson_write(mmc=d900e348): writel(ffff, d0072048)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_write(mmc=d900e348): writel(a910c800, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(0, d0072058)
meson_write(mmc=d900e348): writel(40380000, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2000
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d007205c): ff8000
meson_write(mmc=d900e348): writel(ffff, d0072048)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_write(mmc=d900e348): writel(b700c800, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(0, d0072058)
meson_write(mmc=d900e348): writel(0, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2000
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d007205c): 120
meson_write(mmc=d900e348): writel(ffff, d0072048)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_write(mmc=d900e348): writel(a910c800, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(0, d0072058)
meson_write(mmc=d900e348): writel(40380000, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2000
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d007205c): c0ff8000
meson_write(mmc=d900e348): writel(ffff, d0072048)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_write(mmc=d900e348): writel(8220c800, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(0, d0072058)
meson_write(mmc=d900e348): writel(0, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2000
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d0072068): 3534453
meson_read(mmc=d900e348): readl(d0072064): 44333247
meson_read(mmc=d900e348): readl(d0072060): 85fdf84a
meson_read(mmc=d900e348): readl(d007205c): e3016c00
meson_write(mmc=d900e348): writel(ffff, d0072048)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_write(mmc=d900e348): writel(8300c800, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(0, d0072058)
meson_write(mmc=d900e348): writel(0, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2000
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d007205c): 50480500
meson_write(mmc=d900e348): writel(ffff, d0072048)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_write(mmc=d900e348): writel(8920c800, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(0, d0072058)
meson_write(mmc=d900e348): writel(50480000, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2000
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d0072068): 400e0032
meson_read(mmc=d900e348): readl(d0072064): 5b590000
meson_read(mmc=d900e348): readl(d0072060): eddf7f80
meson_read(mmc=d900e348): readl(d007205c): a400000
meson_write(mmc=d900e348): writel(ffff, d0072048)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_write(mmc=d900e348): writel(8700c800, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(0, d0072058)
meson_write(mmc=d900e348): writel(50480000, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2000
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d007205c): 700
meson_write(mmc=d900e348): writel(ffff, d0072048)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_write(mmc=d900e348): writel(b700c800, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(0, d0072058)
meson_write(mmc=d900e348): writel(50480000, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2000
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d007205c): 920
meson_write(mmc=d900e348): writel(ffff, d0072048)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_read(mmc=d900e348): readl(d0072044): 4890
meson_write(mmc=d900e348): writel(4830, d0072044)
meson_write(mmc=d900e348): writel(8804ca01, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(d900db40, d0072058)
meson_write(mmc=d900e348): writel(0, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2800
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d007205c): 0
meson_write(mmc=d900e348): writel(ffff, d0072048)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_read(mmc=d900e348): readl(d0072044): 4830
meson_write(mmc=d900e348): writel(4830, d0072044)
meson_write(mmc=d900e348): writel(8804ca01, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(d900db40, d0072058)
meson_write(mmc=d900e348): writel(0, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2800
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d007205c): 0
meson_write(mmc=d900e348): writel(ffff, d0072048)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_read(mmc=d900e348): readl(d0072044): 4830
meson_write(mmc=d900e348): writel(4830, d0072044)
meson_write(mmc=d900e348): writel(8804ca01, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(d900db40, d0072058)
meson_write(mmc=d900e348): writel(0, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2800
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d007205c): 0
meson_write(mmc=d900e348): writel(ffff, d0072048)
meson_dm_mmc_send_cmd(mmc=d900e348)
meson_mmc_setup_cmd(mmc=d900e348)
meson_read(mmc=d900e348): readl(d0072044): 4830
meson_write(mmc=d900e348): writel(4830, d0072044)
meson_write(mmc=d900e348): writel(8804ca01, d0072050)
meson_mmc_setup_addr(mmc=d900e348)
meson_write(mmc=d900e348): writel(d900db40, d0072058)
meson_write(mmc=d900e348): writel(0, d0072054)
meson_read(mmc=d900e348): readl(d0072048): 1ff2800
meson_mmc_read_response(mmc=d900e348)
meson_read(mmc=d900e348): readl(d007205c): 0
meson_write(mmc=d900e348): writel(ffff, d0072048)
spl: mmc init failed with error: -110
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment