Other Parts Discussed in Thread: CSD
Tool/software: Linux
We have beagle bone black based custom board with 256MB RAM and 4GB eMMC.
We are trying to port U-Boot from version 2013 to 2017.01.
U-Boot code is changed lot between those version to I had to start porting from start.
I took am335x-evm reference and started porting.
I could get to a point where I can boot till u-boot prompt. however I am not able to get eMMC working.
Below is device tree entry
vmmcsd_fixed: fixedregulator@0 { compatible = "regulator-fixed"; regulator-name = "vmmcsd_fixed"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-boot-on; }; &mmc2 { vmmc-supply = <&vmmcsd_fixed>; pinctrl-names = "default"; pinctrl-0 = <&emmc_pins>; bus-width = <8>; status = "okay"; };
I see omap SD/MMC 0 listed but I am not able to get it working.
below is boot log for the same
U-Boot SPL 2017.01-ge7344f7-dirty (Jul 13 2018 - 10:51:07) ANKUR:---Inside spl board init Trying to boot from MMC2 malloc_simple: size=x, ptr=38, limit=38: 81f00000 malloc_simple: size=x, ptr=190, limit=1c8: 81f00038 malloc_simple: size=x, ptr=38, limit=200: 81f001c8 malloc_simple: size=x, ptr=190, limit=390: 81f00200 part_init: try 'EFI': ret=0 mmc_reinit: 0, time 74 (retries 0) spl: mmc boot mode: raw hdr read sector 800, count=1 spl: payload image: *s load addr: 0x4 size: -2139095072 read 2e7 sectors to 807fffc0 Jumping to U-Boot loaded - jumping to U-Boot... image entry point: 0x initcall: 8082d1d1 U-Boot 2017.01-ge7344f7-dirty (Jul 13 2018 - 10:51:07 -0400) initcall: 8080a68d U-Boot code: 80800000 -> 8084B340 BSS: -> 8088670C initcall: 80801385 CPU : AM335X-GP rev 2.1 initcall: 8080aa7d Model: TI AM335x EVM initcall: 8080a545 initcall: 8080a53b initcall: 8080a6b1 DRAM: initcall: 80801415 initcall: 8080a53b initcall: 8080a53b initcall: 8080a53b initcall: 8080a835 Monitor len: 0008670C Ram size: 10000000 Ram top: 90000000 initcall: 8080a50d initcall: 8080a645 TLB table from 8fff0000 to 8fff4000 initcall: 8080a521 initcall: 8080a605 Reserving 537k for U-Boot at: 8ff69000 initcall: 8080a5dd Reserving 32896k for malloc() at: 8df49000 initcall: 8080a775 Reserving 80 Bytes for Board Info at: 8df48fb0 initcall: 8080a525 initcall: 8080a5b5 Reserving 216 Bytes for Global Data at: 8df48ed8 initcall: 8080a565 Reserving 33824 Bytes for FDT at: 8df40ab8 initcall: 8080a537 initcall: 8080a89d initcall: 8080a819 initcall: 8080a7b5 RAM Configuration: Bank #0: 80000000 256 MiB DRAM: 256 MiB initcall: 8080a551 New Stack Pointer is: 8df40a90 initcall: 8080a53b initcall: 8080a749 initcall: 8080a6f1 Relocation Offset is: 0f769000 Relocating to 8ff69000, new gd at 8df48ed8, sp at 8df40a90 initcall: 8ff738dd initcall: 8ff738e1 initcall: 8080aa51 (relocated to 8ff73a51) dram_bank_mmu_setup: bank: 0 initcall: 8080aa29 (relocated to 8ff73a29) efi_runtime_relocate: Relocating to offset=8ff69000 efi_runtime_relocate: Setting 8ffb41f0 to 8ffb4248 efi_runtime_relocate: Setting 8ffb41fc to 8ff9baec efi_runtime_relocate: Setting 8ffb4204 to 8ff9baf8 efi_runtime_relocate: Setting 8ffb420c to 8ff9baf8 efi_runtime_relocate: Setting 8ffb4210 to 8ffb4260 efi_runtime_relocate: Setting 8ffb4214 to 8ff9b450 efi_runtime_relocate: Setting 8ffb421c to 8ffb4220 efi_runtime_relocate: Setting 8ffb4278 to 8ff8c831 efi_runtime_relocate: Setting 8ffb427c to 8ffb41c5 efi_runtime_relocate: Setting 8ffb4280 to 8ffb41bd efi_runtime_relocate: Setting 8ffb4284 to 8ffb41bd efi_runtime_relocate: Setting 8ffb4288 to 8ff8c985 efi_runtime_relocate: Setting 8ffb428c to 8ffb41cd efi_runtime_relocate: Setting 8ffb4290 to 8ffb41c5 efi_runtime_relocate: Setting 8ffb4294 to 8ffb41c5 efi_runtime_relocate: Setting 8ffb4298 to 8ffb41c5 efi_runtime_relocate: Setting 8ffb429c to 8ffb41c5 efi_runtime_relocate: Setting 8ffb42a0 to 8ff8c839 initcall: 8080a8f5 (relocated to 8ff738f5) initcall: 8080a9f9 (relocated to 8ff739f9) Pre-reloc malloc() used 0x178 bytes (0 KB) using memory 0x8df49000-0x8ff69000 for malloc() initcall: 8080a8f9 (relocated to 8ff738f9) initcall: 8080a8d9 (relocated to 8ff738d9) initcall: 8080a9e3 (relocated to 8ff739e3) uclass_find_device_by_seq: 0 -1 uclass_find_device_by_seq: 0 0 - -1 -1 - not found Bound device mod_exp_sw to root_driver bind node chosen Device 'chosen' has no compatible string bind node aliases Device 'aliases' has no compatible string bind node memory Device 'memory' has no compatible string bind node cpus Device 'cpus' has no compatible string bind node pmu - attempt to match compatible string 'arm,cortex-a8-pmu' No match for node 'pmu' bind node soc - attempt to match compatible string 'ti,omap-infra' No match for node 'soc' bind node ocp - attempt to match compatible string 'simple-bus' - found match at 'generic_simple_bus' fdtdec_get_int_array: ranges get_prop_check_min_len: ranges bind node l4_wkup@44c00000 - attempt to match compatible string 'ti,am3-l4-wkup' - attempt to match compatible string 'simple-bus' - found match at 'generic_simple_bus' fdtdec_get_int_array: ranges get_prop_check_min_len: ranges bind node prcm@200000 - attempt to match compatible string 'ti,am3-prcm' No match for node 'prcm@200000' bind node scm@210000 - attempt to match compatible string 'ti,am3-scm' - attempt to match compatible string 'simple-bus' - found match at 'generic_simple_bus' fdtdec_get_int_array: ranges get_prop_check_min_len: ranges bind node pinmux@800 - attempt to match compatible string 'pinctrl-single' No match for node 'pinmux@800' bind node scm_conf@0 - attempt to match compatible string 'syscon' No match for node 'scm_conf@0' bind node clockdomains Device 'clockdomains' has no compatible string Bound device scm@210000 to l4_wkup@44c00000 Bound device l4_wkup@44c00000 to ocp bind node interrupt-controller@48200000 - attempt to match compatible string 'ti,am33xx-intc' No match for node 'interrupt-controller@48200000' bind node edma@49000000 - attempt to match compatible string 'ti,edma3' No match for node 'edma@49000000' bind node gpio@44e07000 - attempt to match compatible string 'ti,omap4-gpio' - found match at 'gpio_omap' Looking for 'gpio' at 14348, name gpio@44e07000 - i2c0, /ocp/i2c@44e0b000 - i2c1, /ocp/i2c@4802a000 - i2c2, /ocp/i2c@4819c000 - serial0, /ocp/serial@44e09000 - serial1, /ocp/serial@48022000 - serial2, /ocp/serial@48024000 - serial3, /ocp/serial@481a6000 - serial4, /ocp/serial@481a8000 - serial5, /ocp/serial@481aa000 - d_can0, /ocp/can@481cc000 - d_can1, /ocp/can@481d0000 - usb0, /ocp/usb@47400000/usb@47401000 - usb1, /ocp/usb@47400000/usb@47401800 - phy0, /ocp/usb@47400000/usb-phy@47401300 - phy1, /ocp/usb@47400000/usb-phy@47401b00 - ethernet0, /ocp/ethernet@4a100000/slave@4a100200 - ethernet1, /ocp/ethernet@4a100000/slave@4a100300 Not found OF: ** translation for device gpio@44e07000 ** OF: bus is default (na=1, ns=1) on ocp OF: translating address: 0070e044 OF: parent bus is default (na=1, ns=1) on OF: no ranges, 1:1 translation OF: parent translation for: 00000000 OF: with offset: 1155559424 OF: one level translation: 0070e044 OF: reached root node Bound device gpio@44e07000 to ocp bind node gpio@4804c000 - attempt to match compatible string 'ti,omap4-gpio' - found match at 'gpio_omap' Looking for 'gpio' at 14512, name gpio@4804c000 - i2c0, /ocp/i2c@44e0b000 - i2c1, /ocp/i2c@4802a000 - i2c2, /ocp/i2c@4819c000 - serial0, /ocp/serial@44e09000 - serial1, /ocp/serial@48022000 - serial2, /ocp/serial@48024000 - serial3, /ocp/serial@481a6000 - serial4, /ocp/serial@481a8000 - serial5, /ocp/serial@481aa000 - d_can0, /ocp/can@481cc000 - d_can1, /ocp/can@481d0000 - usb0, /ocp/usb@47400000/usb@47401000 - usb1, /ocp/usb@47400000/usb@47401800 - phy0, /ocp/usb@47400000/usb-phy@47401300 - phy1, /ocp/usb@47400000/usb-phy@47401b00 - ethernet0, /ocp/ethernet@4a100000/slave@4a100200 - ethernet1, /ocp/ethernet@4a100000/slave@4a100300 Not found OF: ** translation for device gpio@4804c000 ** OF: bus is default (na=1, ns=1) on ocp OF: translating address: 00c00448 OF: parent bus is default (na=1, ns=1) on OF: no ranges, 1:1 translation OF: parent translation for: 00000000 OF: with offset: 1208270848 OF: one level translation: 00c00448 OF: reached root node Bound device gpio@4804c000 to ocp bind node gpio@481ac000 - attempt to match compatible string 'ti,omap4-gpio' - found match at 'gpio_omap' Looking for 'gpio' at 14676, name gpio@481ac000 - i2c0, /ocp/i2c@44e0b000 - i2c1, /ocp/i2c@4802a000 - i2c2, /ocp/i2c@4819c000 - serial0, /ocp/serial@44e09000 - serial1, /ocp/serial@48022000 - serial2, /ocp/serial@48024000 - serial3, /ocp/serial@481a6000 - serial4, /ocp/serial@481a8000 - serial5, /ocp/serial@481aa000 - d_can0, /ocp/can@481cc000 - d_can1, /ocp/can@481d0000 - usb0, /ocp/usb@47400000/usb@47401000 - usb1, /ocp/usb@47400000/usb@47401800 - phy0, /ocp/usb@47400000/usb-phy@47401300 - phy1, /ocp/usb@47400000/usb-phy@47401b00 - ethernet0, /ocp/ethernet@4a100000/slave@4a100200 - ethernet1, /ocp/ethernet@4a100000/slave@4a100300 Not found OF: ** translation for device gpio@481ac000 ** OF: bus is default (na=1, ns=1) on ocp OF: translating address: 00c01a48 OF: parent bus is default (na=1, ns=1) on OF: no ranges, 1:1 translation OF: parent translation for: 00000000 OF: with offset: 1209712640 OF: one level translation: 00c01a48 OF: reached root node Bound device gpio@481ac000 to ocp bind node gpio@481ae000 - attempt to match compatible string 'ti,omap4-gpio' - found match at 'gpio_omap' Looking for 'gpio' at 14840, name gpio@481ae000 - i2c0, /ocp/i2c@44e0b000 - i2c1, /ocp/i2c@4802a000 - i2c2, /ocp/i2c@4819c000 - serial0, /ocp/serial@44e09000 - serial1, /ocp/serial@48022000 - serial2, /ocp/serial@48024000 - serial3, /ocp/serial@481a6000 - serial4, /ocp/serial@481a8000 - serial5, /ocp/serial@481aa000 - d_can0, /ocp/can@481cc000 - d_can1, /ocp/can@481d0000 - usb0, /ocp/usb@47400000/usb@47401000 - usb1, /ocp/usb@47400000/usb@47401800 - phy0, /ocp/usb@47400000/usb-phy@47401300 - phy1, /ocp/usb@47400000/usb-phy@47401b00 - ethernet0, /ocp/ethernet@4a100000/slave@4a100200 - ethernet1, /ocp/ethernet@4a100000/slave@4a100300 Not found OF: ** translation for device gpio@481ae000 ** OF: bus is default (na=1, ns=1) on ocp OF: translating address: 00e01a48 OF: parent bus is default (na=1, ns=1) on OF: no ranges, 1:1 translation OF: parent translation for: 00000000 OF: with offset: 1209720832 OF: one level translation: 00e01a48 OF: reached root node Bound device gpio@481ae000 to ocp bind node serial@44e09000 - attempt to match compatible string 'ti,omap3-uart' - found match at 'ns16550_serial' Looking for 'serial' at 15004, name serial@44e09000 - i2c0, /ocp/i2c@44e0b000 - i2c1, /ocp/i2c@4802a000 - i2c2, /ocp/i2c@4819c000 - serial0, /ocp/serial@44e09000 Found seq 0 Bound device serial@44e09000 to ocp bind node serial@48022000 - attempt to match compatible string 'ti,omap3-uart' - found match at 'ns16550_serial' Looking for 'serial' at 15248, name serial@48022000 - i2c0, /ocp/i2c@44e0b000 - i2c1, /ocp/i2c@4802a000 - i2c2, /ocp/i2c@4819c000 - serial0, /ocp/serial@44e09000 - serial1, /ocp/serial@48022000 Found seq 1 Bound device serial@48022000 to ocp - ignoring disabled device - ignoring disabled device - ignoring disabled device - ignoring disabled device bind node i2c@44e0b000 - attempt to match compatible string 'ti,omap4-i2c' - found match at 'i2c_omap' Looking for 'i2c' at 16196, name i2c@44e0b000 - i2c0, /ocp/i2c@44e0b000 Found seq 0 bind node tps@2d Device 'tps@2d' has no compatible string Bound device i2c@44e0b000 to ocp bind node i2c@4802a000 - attempt to match compatible string 'ti,omap4-i2c' - found match at 'i2c_omap' Looking for 'i2c' at 16440, name i2c@4802a000 - i2c0, /ocp/i2c@44e0b000 - i2c1, /ocp/i2c@4802a000 Found seq 1 bind node lis331dlh@18 - attempt to match compatible string 'st,lis331dlh' - attempt to match compatible string 'st,lis3lv02d' No match for node 'lis331dlh@18' bind node tsl2550@39 - attempt to match compatible string 'taos,tsl2550' No match for node 'tsl2550@39' bind node tmp275@48 - attempt to match compatible string 'ti,tmp275' No match for node 'tmp275@48' Bound device i2c@4802a000 to ocp - ignoring disabled device - ignoring disabled device bind node mmc@481d8000 - attempt to match compatible string 'ti,omap4-hsmmc' - found match at 'omap_hsmmc' Looking for 'mmc' at 17560, name mmc@481d8000 - i2c0, /ocp/i2c@44e0b000 - i2c1, /ocp/i2c@4802a000 - i2c2, /ocp/i2c@4819c000 - serial0, /ocp/serial@44e09000 - serial1, /ocp/serial@48022000 - serial2, /ocp/serial@48024000 - serial3, /ocp/serial@481a6000 - serial4, /ocp/serial@481a8000 - serial5, /ocp/serial@481aa000 - d_can0, /ocp/can@481cc000 - d_can1, /ocp/can@481d0000 - usb0, /ocp/usb@47400000/usb@47401000 - usb1, /ocp/usb@47400000/usb@47401800 - phy0, /ocp/usb@47400000/usb-phy@47401300 - phy1, /ocp/usb@47400000/usb-phy@47401b00 - ethernet0, /ocp/ethernet@4a100000/slave@4a100200 - ethernet1, /ocp/ethernet@4a100000/slave@4a100300 Not found Bound device mmc@481d8000 to ocp - ignoring disabled device bind node spinlock@480ca000 - attempt to match compatible string 'ti,omap4-hwspinlock' No match for node 'spinlock@480ca000' bind node wdt@44e35000 - attempt to match compatible string 'ti,omap3-wdt' No match for node 'wdt@44e35000' - ignoring disabled device - ignoring disabled device bind node mailbox@480C8000 - attempt to match compatible string 'ti,omap4-mailbox' No match for node 'mailbox@480C8000' bind node timer@44e31000 - attempt to match compatible string 'ti,am335x-timer-1ms' No match for node 'timer@44e31000' bind node timer@48040000 - attempt to match compatible string 'ti,am335x-timer' - found match at 'omap_timer' Looking for 'timer' at 18952, name timer@48040000 - i2c0, /ocp/i2c@44e0b000 - i2c1, /ocp/i2c@4802a000 - i2c2, /ocp/i2c@4819c000 - serial0, /ocp/serial@44e09000 - serial1, /ocp/serial@48022000 - serial2, /ocp/serial@48024000 - serial3, /ocp/serial@481a6000 - serial4, /ocp/serial@481a8000 - serial5, /ocp/serial@481aa000 - d_can0, /ocp/can@481cc000 - d_can1, /ocp/can@481d0000 - usb0, /ocp/usb@47400000/usb@47401000 - usb1, /ocp/usb@47400000/usb@47401800 - phy0, /ocp/usb@47400000/usb-phy@47401300 - phy1, /ocp/usb@47400000/usb-phy@47401b00 - ethernet0, /ocp/ethernet@4a100000/slave@4a100200 - ethernet1, /ocp/ethernet@4a100000/slave@4a100300 Not found Bound device timer@48040000 to ocp bind node timer@48042000 - attempt to match compatible string 'ti,am335x-timer' - found match at 'omap_timer' Looking for 'timer' at 19060, name timer@48042000 - i2c0, /ocp/i2c@44e0b000 - i2c1, /ocp/i2c@4802a000 - i2c2, /ocp/i2c@4819c000 - serial0, /ocp/serial@44e09000 - serial1, /ocp/serial@48022000 - serial2, /ocp/serial@48024000 - serial3, /ocp/serial@481a6000 - serial4, /ocp/serial@481a8000 - serial5, /ocp/serial@481aa000 - d_can0, /ocp/can@481cc000 - d_can1, /ocp/can@481d0000 - usb0, /ocp/usb@47400000/usb@47401000 - usb1, /ocp/usb@47400000/usb@47401800 - phy0, /ocp/usb@47400000/usb-phy@47401300 - phy1, /ocp/usb@47400000/usb-phy@47401b00 - ethernet0, /ocp/ethernet@4a100000/slave@4a100200 - ethernet1, /ocp/ethernet@4a100000/slave@4a100300 Not found Bound device timer@48042000 to ocp bind node timer@48044000 - attempt to match compatible string 'ti,am335x-timer' - found match at 'omap_timer' Looking for 'timer' at 19168, name timer@48044000 - i2c0, /ocp/i2c@44e0b000 - i2c1, /ocp/i2c@4802a000 - i2c2, /ocp/i2c@4819c000 - serial0, /ocp/serial@44e09000 - serial1, /ocp/serial@48022000 - serial2, /ocp/serial@48024000 - serial3, /ocp/serial@481a6000 - serial4, /ocp/serial@481a8000 - serial5, /ocp/serial@481aa000 - d_can0, /ocp/can@481cc000 - d_can1, /ocp/can@481d0000 - usb0, /ocp/usb@47400000/usb@47401000 - usb1, /ocp/usb@47400000/usb@47401800 - phy0, /ocp/usb@47400000/usb-phy@47401300 - phy1, /ocp/usb@47400000/usb-phy@47401b00 - ethernet0, /ocp/ethernet@4a100000/slave@4a100200 - ethernet1, /ocp/ethernet@4a100000/slave@4a100300 Not found Bound device timer@48044000 to ocp bind node timer@48046000 - attempt to match compatible string 'ti,am335x-timer' - found match at 'omap_timer' Looking for 'timer' at 19288, name timer@48046000 - i2c0, /ocp/i2c@44e0b000 - i2c1, /ocp/i2c@4802a000 - i2c2, /ocp/i2c@4819c000 - serial0, /ocp/serial@44e09000 - serial1, /ocp/serial@48022000 - serial2, /ocp/serial@48024000 - serial3, /ocp/serial@481a6000 - serial4, /ocp/serial@481a8000 - serial5, /ocp/serial@481aa000 - d_can0, /ocp/can@481cc000 - d_can1, /ocp/can@481d0000 - usb0, /ocp/usb@47400000/usb@47401000 - usb1, /ocp/usb@47400000/usb@47401800 - phy0, /ocp/usb@47400000/usb-phy@47401300 - phy1, /ocp/usb@47400000/usb-phy@47401b00 - ethernet0, /ocp/ethernet@4a100000/slave@4a100200 - ethernet1, /ocp/ethernet@4a100000/slave@4a100300 Not found Bound device timer@48046000 to ocp bind node timer@48048000 - attempt to match compatible string 'ti,am335x-timer' - found match at 'omap_timer' Looking for 'timer' at 19408, name timer@48048000 - i2c0, /ocp/i2c@44e0b000 - i2c1, /ocp/i2c@4802a000 - i2c2, /ocp/i2c@4819c000 - serial0, /ocp/serial@44e09000 - serial1, /ocp/serial@48022000 - serial2, /ocp/serial@48024000 - serial3, /ocp/serial@481a6000 - serial4, /ocp/serial@481a8000 - serial5, /ocp/serial@481aa000 - d_can0, /ocp/can@481cc000 - d_can1, /ocp/can@481d0000 - usb0, /ocp/usb@47400000/usb@47401000 - usb1, /ocp/usb@47400000/usb@47401800 - phy0, /ocp/usb@47400000/usb-phy@47401300 - phy1, /ocp/usb@47400000/usb-phy@47401b00 - ethernet0, /ocp/ethernet@4a100000/slave@4a100200 - ethernet1, /ocp/ethernet@4a100000/slave@4a100300 Not found Bound device timer@48048000 to ocp bind node timer@4804a000 - attempt to match compatible string 'ti,am335x-timer' - found match at 'omap_timer' Looking for 'timer' at 19528, name timer@4804a000 - i2c0, /ocp/i2c@44e0b000 - i2c1, /ocp/i2c@4802a000 - i2c2, /ocp/i2c@4819c000 - serial0, /ocp/serial@44e09000 - serial1, /ocp/serial@48022000 - serial2, /ocp/serial@48024000 - serial3, /ocp/serial@481a6000 - serial4, /ocp/serial@481a8000 - serial5, /ocp/serial@481aa000 - d_can0, /ocp/can@481cc000 - d_can1, /ocp/can@481d0000 - usb0, /ocp/usb@47400000/usb@47401000 - usb1, /ocp/usb@47400000/usb@47401800 - phy0, /ocp/usb@47400000/usb-phy@47401300 - phy1, /ocp/usb@47400000/usb-phy@47401b00 - ethernet0, /ocp/ethernet@4a100000/slave@4a100200 - ethernet1, /ocp/ethernet@4a100000/slave@4a100300 Not found Bound device timer@4804a000 to ocp bind node rtc@44e3e000 - attempt to match compatible string 'ti,am3352-rtc' - attempt to match compatible string 'ti,da830-rtc' No match for node 'rtc@44e3e000' - ignoring disabled device - ignoring disabled device bind node usb@47400000 - attempt to match compatible string 'ti,am33xx-usb' No match for node 'usb@47400000' bind node epwmss@48300000 - attempt to match compatible string 'ti,am33xx-pwmss' No match for node 'epwmss@48300000' - ignoring disabled device - ignoring disabled device bind node ethernet@4a100000 - attempt to match compatible string 'ti,cpsw' No match for node 'ethernet@4a100000' bind node ocmcram@40300000 - attempt to match compatible string 'mmio-sram' No match for node 'ocmcram@40300000' bind node wkup_m3@44d00000 - attempt to match compatible string 'ti,am3353-wkup-m3' No match for node 'wkup_m3@44d00000' bind node elm@48080000 - attempt to match compatible string 'ti,am3352-elm' No match for node 'elm@48080000' - ignoring disabled device bind node tscadc@44e0d000 - attempt to match compatible string 'ti,am3359-tscadc' No match for node 'tscadc@44e0d000' - ignoring disabled device bind node sham@53100000 - attempt to match compatible string 'ti,omap4-sham' No match for node 'sham@53100000' bind node aes@53500000 - attempt to match compatible string 'ti,omap4-aes' No match for node 'aes@53500000' - ignoring disabled device - ignoring disabled device bind node rng@48310000 - attempt to match compatible string 'ti,omap4-rng' No match for node 'rng@48310000' Bound device ocp to root_driver bind node fixedregulator@0 - attempt to match compatible string 'regulator-fixed' No match for node 'fixedregulator@0' bind node fixedregulator@1 - attempt to match compatible string 'regulator-fixed' No match for node 'fixedregulator@1' bind node backlight - attempt to match compatible string 'pwm-backlight' No match for node 'backlight' initcall: 8080a9d7 (relocated to 8ff739d7) initcall: 808003a9 (relocated to 8ff693a9) initcall: 808244c9 (relocated to 8ff8d4c9) efi_add_memory_map: 0x80000000 0x10000 7 no efi_add_memory_map: 0x8cf40000 0x30c0 2 no efi_add_memory_map: 0x8ffb4000 0x1 5 no initcall: 80810839 (relocated to 8ff79839) initcall: 8080a9cd (relocated to 8ff739cd) uclass_find_device_by_seq: 0 -1 uclass_find_device_by_seq: 0 0 - -1 -1 - -1 -1 - -1 -1 - not found uclass_find_device_by_seq: 0 0 - 0 -1 - 1 -1 - not found OF: ** translation for device serial@44e09000 ** OF: bus is default (na=1, ns=1) on ocp OF: translating address: 0090e044 OF: parent bus is default (na=1, ns=1) on OF: no ranges, 1:1 translation OF: parent translation for: 00000000 OF: with offset: 1155567616 OF: one level translation: 0090e044 OF: reached root node fdtdec_get_int: reg-offset: (not found) fdtdec_get_int: reg-shift: 0x2 (2) fdtdec_get_int: clock-frequency: 0x2dc6c00 (48000000) initcall: 8080a909 (relocated to 8ff73909) ANKUR:----Indeed board_init_r from board_r.c------ initcall: 8080a9b9 (relocated to 8ff739b9) Now running in RAM - U-Boot at: 8ff69000 initcall: 8080a53b (relocated to 8ff7353b) initcall: 8080a53b (relocated to 8ff7353b) initcall: 8080a53b (relocated to 8ff7353b) initcall: 8080a8fd (relocated to 8ff738fd) initcall: 8080a53b (relocated to 8ff7353b) initcall: 8080a9a1 (relocated to 8ff739a1) MMC: uclass_find_device_by_seq: 0 0 - -1 -1 - not found uclass_find_device_by_seq: 1 0 - -1 -1 - not found uclass_find_device_by_seq: 0 -1 uclass_find_device_by_seq: 0 0 - -1 -1 - not found OF: ** translation for device mmc@481d8000 ** OF: bus is default (na=1, ns=1) on ocp OF: translating address: 00801d48 OF: parent bus is default (na=1, ns=1) on OF: no ranges, 1:1 translation OF: parent translation for: 00000000 OF: with offset: 1209892864 OF: one level translation: 00801d48 OF: reached root node fdtdec_get_int: bus-width: 0x8 (8) fdtdec_get_int: max-frequency: (not found) fdtdec_get_bool: cap-sd-highspeed fdtdec_get_bool: cap-mmc-highspeed fdtdec_get_bool: mmc-ddr-1_8v fdtdec_get_bool: mmc-hs200-1_8v fdtdec_get_bool: sd-uhs-sdr104 fdtdec_get_bool: sd-uhs-sdr50 fdtdec_get_bool: sd-uhs-ddr50 fdtdec_get_bool: sd-uhs-sdr25 fdtdec_get_bool: sd-uhs-sdr12 fdtdec_get_bool: ti,dual-volt fdtdec_get_bool: no-1-8-v fdtdec_get_bool: cd-inverted _gpio_request_by_name_nodev: fdtdec_parse_phandle_with_args failed _gpio_request_by_name_nodev: Node 'mmc@481d8000', property 'cd-gpios', failed to request GPIO index 0: -2 _gpio_request_by_name_nodev: fdtdec_parse_phandle_with_args failed _gpio_request_by_name_nodev: Node 'mmc@481d8000', property 'wp-gpios', failed to request GPIO index 0: -2 OMAP SD/MMC: 0 initcall: 8080a959 (relocated to 8ff73959) fdtdec_get_config_int: load-environment MMC Device 1 not found *** Warning - No MMC card found, using default environment Destroy Hash Table: 8ffb2a3c table = 00000000 Create Hash Table: N=512 INSERT: table 8ffb2a3c, filled 1/521 rv 8df4cb14 ==> name="bootcmd" value="if test ${boot_fit} -eq 1; then run " INSERT: table 8ffb2a3c, filled 2/521 rv 8df4d370 ==> name="bootdelay" value="2" INSERT: table 8ffb2a3c, filled 3/521 rv 8df4c6f0 ==> name="baudrate" value="115200" INSERT: table 8ffb2a3c, filled 4/521 rv 8df4bf0c ==> name="arch" value="arm" INSERT: table 8ffb2a3c, filled 5/521 rv 8df4d708 ==> name="cpu" value="armv7" INSERT: table 8ffb2a3c, filled 6/521 rv 8df4cec0 ==> name="board" value="test_board" INSERT: table 8ffb2a3c, filled 7/521 rv 8df4c1c8 ==> name="board_name" value="test_board" INSERT: table 8ffb2a3c, filled 8/521 rv 8df4d794 ==> name="vendor" value="testvendor" INSERT: table 8ffb2a3c, filled 9/521 rv 8df4dd5c ==> name="soc" value="am33xx" INSERT: table 8ffb2a3c, filled 10/521 rv 8df4d1f4 ==> name="loadaddr" value="0x82000000" INSERT: table 8ffb2a3c, filled 11/521 rv 8df4cb78 ==> name="kernel_addr_r" value="0x82000000" INSERT: table 8ffb2a3c, filled 12/521 rv 8df4d514 ==> name="fdtaddr" value="0x88000000" INSERT: table 8ffb2a3c, filled 13/521 rv 8df4c4d4 ==> name="fdt_addr_r" value="0x88000000" INSERT: table 8ffb2a3c, filled 14/521 rv 8df4d35c ==> name="rdaddr" value="0x88080000" INSERT: table 8ffb2a3c, filled 15/521 rv 8df4d898 ==> name="ramdisk_addr_r" value="0x88080000" INSERT: table 8ffb2a3c, filled 16/521 rv 8df4c36c ==> name="scriptaddr" value="0x80000000" INSERT: table 8ffb2a3c, filled 17/521 rv 8df4c1dc ==> name="pxefile_addr_r" value="0x80100000" INSERT: table 8ffb2a3c, filled 18/521 rv 8df4bb4c ==> name="bootm_size" value="0x10000000" INSERT: table 8ffb2a3c, filled 19/521 rv 8df4c678 ==> name="boot_fdt" value="try" INSERT: table 8ffb2a3c, filled 20/521 rv 8df4c010 ==> name="mmcdev" value="0" INSERT: table 8ffb2a3c, filled 21/521 rv 8df4cd1c ==> name="mmcrootfstype" value="ext4 rootwait" INSERT: table 8ffb2a3c, filled 22/521 rv 8df4c588 ==> name="finduuid" value="part uuid mmc ${bootpart} uuid" INSERT: table 8ffb2a3c, filled 23/521 rv 8df4e2fc ==> name="args_mmc" value="run finduuid;setenv bootargs conso" INSERT: table 8ffb2a3c, filled 24/521 rv 8df4bcf0 ==> name="loadbootscript" value="load mmc ${mmcdev} ${loadadd" INSERT: table 8ffb2a3c, filled 25/521 rv 8df4c650 ==> name="bootscript" value="echo Running bootscript from mmc" INSERT: table 8ffb2a3c, filled 26/521 rv 8df4cf24 ==> name="bootenvfile" value="uEnv.txt" INSERT: table 8ffb2a3c, filled 27/521 rv 8df4c344 ==> name="importbootenv" value="echo Importing environment fr" INSERT: table 8ffb2a3c, filled 28/521 rv 8df4e054 ==> name="loadbootenv" value="fatload mmc ${mmcdev} ${loadadd" INSERT: table 8ffb2a3c, filled 29/521 rv 8df4d49c ==> name="loadimage" value="load ${devtype} ${bootpart} ${loa" INSERT: table 8ffb2a3c, filled 30/521 rv 8df4d834 ==> name="loadfdt" value="load ${devtype} ${bootpart} ${fdtad" INSERT: table 8ffb2a3c, filled 31/521 rv 8df4c380 ==> name="envboot" value="mmc dev ${mmcdev}; if mmc rescan; t" INSERT: table 8ffb2a3c, filled 32/521 rv 8df4e1e4 ==> name="mmcloados" value="run args_mmc; if test ${boot_fdt}" INSERT: table 8ffb2a3c, filled 33/521 rv 8df4dde8 ==> name="mmcboot" value="mmc dev ${mmcdev}; setenv devnum ${" INSERT: table 8ffb2a3c, filled 34/521 rv 8df4bc50 ==> name="boot_fit" value="0" INSERT: table 8ffb2a3c, filled 35/521 rv 8df4cdf8 ==> name="fit_loadaddr" value="0x87000000" INSERT: table 8ffb2a3c, filled 36/521 rv 8df4dec4 ==> name="fit_bootfile" value="fitImage" INSERT: table 8ffb2a3c, filled 37/521 rv 8df4da14 ==> name="update_to_fit" value="setenv loadaddr ${fit_loadadd" INSERT: table 8ffb2a3c, filled 38/521 rv 8df4dca8 ==> name="loadfit" value="run args_mmc; bootm ${loadaddr}#${f" INSERT: table 8ffb2a3c, filled 39/521 rv 8df4df00 ==> name="bootpart" value="0:2" INSERT: table 8ffb2a3c, filled 40/521 rv 8df4bae8 ==> name="bootdir" value="/boot" INSERT: table 8ffb2a3c, filled 41/521 rv 8df4ce34 ==> name="bootfile" value="zImage" INSERT: table 8ffb2a3c, filled 42/521 rv 8df4d014 ==> name="fdtfile" value="undefined" INSERT: table 8ffb2a3c, filled 43/521 rv 8df4dd20 ==> name="console" value="ttyO0,115200n8" INSERT: table 8ffb2a3c, filled 44/521 rv 8df4d71c ==> name="partitions" value="uuid_disk=${uuid_gpt_disk};name=" DELETE CANDIDATE: "optargs" hdelete: DELETE key "optargs" DELETE ERROR ############################## INSERT: table 8ffb2a3c, filled 45/521 rv 8df4c330 ==> name="ramroot" value="/dev/ram0 rw" INSERT: table 8ffb2a3c, filled 46/521 rv 8df4bafc ==> name="ramrootfstype" value="ext2" INSERT: table 8ffb2a3c, filled 47/521 rv 8df4d76c ==> name="spiroot" value="/dev/mtdblock4 rw" INSERT: table 8ffb2a3c, filled 48/521 rv 8df4cf38 ==> name="spirootfstype" value="jffs2" INSERT: table 8ffb2a3c, filled 49/521 rv 8df4dbe0 ==> name="spisrcaddr" value="0xe0000" INSERT: table 8ffb2a3c, filled 50/521 rv 8df4d424 ==> name="spiimgsize" value="0x362000" INSERT: table 8ffb2a3c, filled 51/521 rv 8df4dc44 ==> name="spibusno" value="0" INSERT: table 8ffb2a3c, filled 52/521 rv 8df4cee8 ==> name="spiargs" value="setenv bootargs console=${console} " INSERT: table 8ffb2a3c, filled 53/521 rv 8df4baac ==> name="ramargs" value="setenv bootargs console=${console} " INSERT: table 8ffb2a3c, filled 54/521 rv 8df4bd90 ==> name="loadramdisk" value="load mmc ${mmcdev} ${rdaddr} ra" INSERT: table 8ffb2a3c, filled 55/521 rv 8df4e004 ==> name="spiboot" value="echo Booting from spi ...; run spia" INSERT: table 8ffb2a3c, filled 56/521 rv 8df4cbc8 ==> name="ramboot" value="echo Booting from ramdisk ...; run " INSERT: table 8ffb2a3c, filled 57/521 rv 8df4bd40 ==> name="findfdt" value="if test $board_name = A335BONE; the" INSERT: table 8ffb2a3c, filled 58/521 rv 8df4d730 ==> name="init_console" value="if test $board_name = A335_ICE" INSERT: table 8ffb2a3c, filled 59/521 rv 8df4de60 ==> name="static_ip" value="${ipaddr}:${serverip}:${gatewayip" INSERT: table 8ffb2a3c, filled 60/521 rv 8df4d5c8 ==> name="nfsopts" value="nolock" INSERT: table 8ffb2a3c, filled 61/521 rv 8df4d44c ==> name="rootpath" value="/export/rootfs" INSERT: table 8ffb2a3c, filled 62/521 rv 8df4be44 ==> name="netloadimage" value="tftp ${loadaddr} ${bootfile}" INSERT: table 8ffb2a3c, filled 63/521 rv 8df4ce5c ==> name="netloadfdt" value="tftp ${fdtaddr} ${fdtfile}" INSERT: table 8ffb2a3c, filled 64/521 rv 8df4d140 ==> name="netargs" value="setenv bootargs console=${console} " INSERT: table 8ffb2a3c, filled 65/521 rv 8df4e25c ==> name="netboot" value="echo Booting from network ...; sete" INSERT: table 8ffb2a3c, filled 66/521 rv 8df4c9c0 ==> name="dfu_alt_info_emmc" value="rawemmc raw 0 3751936" INSERT: table 8ffb2a3c, filled 67/521 rv 8df4d384 ==> name="dfu_alt_info_mmc" value="boot part 0 1;rootfs part " INSERT: table 8ffb2a3c, filled 68/521 rv 8df4c40c ==> name="dfu_alt_info_ram" value="kernel ram 0x80200000 0x40" INSERT: table 8ffb2a3c, filled 69/521 rv 8df4d5f0 ==> name="mmc_boot" value="if mmc dev ${devnum}; then setenv " INSERT: table 8ffb2a3c, filled 70/521 rv 8df4d21c ==> name="boot_efi_binary" value="load ${devtype} ${devnum}:$" INSERT: table 8ffb2a3c, filled 71/521 rv 8df4e068 ==> name="load_efi_dtb" value="load ${devtype} ${devnum}:${di" INSERT: table 8ffb2a3c, filled 72/521 rv 8df4d7d0 ==> name="efi_dtb_prefixes" value="/ /dtb/ /dtb/current/" INSERT: table 8ffb2a3c, filled 73/521 rv 8df4bb38 ==> name="scan_dev_for_efi" value="setenv efi_fdtfile ${fdtfi" INSERT: table 8ffb2a3c, filled 74/521 rv 8df4bb24 ==> name="boot_prefixes" value="/ /boot/" INSERT: table 8ffb2a3c, filled 75/521 rv 8df4bb88 ==> name="boot_scripts" value="boot.scr.uimg boot.scr" INSERT: table 8ffb2a3c, filled 76/521 rv 8df4e1bc ==> name="boot_script_dhcp" value="boot.scr.uimg" INSERT: table 8ffb2a3c, filled 77/521 rv 8df4d8e8 ==> name="boot_targets" value="mmc0 legacy_mmc0 mmc1 legacy_m" INSERT: table 8ffb2a3c, filled 78/521 rv 8df4c754 ==> name="boot_extlinux" value="sysboot ${devtype} ${devnum}:" INSERT: table 8ffb2a3c, filled 79/521 rv 8df4e20c ==> name="scan_dev_for_extlinux" value="if test -e ${devtype}" INSERT: table 8ffb2a3c, filled 80/521 rv 8df4c3f8 ==> name="boot_a_script" value="load ${devtype} ${devnum}:${d" INSERT: table 8ffb2a3c, filled 81/521 rv 8df4e11c ==> name="scan_dev_for_scripts" value="for script in ${boot_s" INSERT: table 8ffb2a3c, filled 82/521 rv 8df4e02c ==> name="scan_dev_for_boot" value="echo Scanning ${devtype} " INSERT: table 8ffb2a3c, filled 83/521 rv 8df4df3c ==> name="scan_dev_for_boot_part" value="part list ${devtype}" INSERT: table 8ffb2a3c, filled 84/521 rv 8df4dadc ==> name="bootcmd_mmc0" value="setenv devnum 0; run mmc_boot" INSERT: table 8ffb2a3c, filled 85/521 rv 8df4c268 ==> name="bootcmd_legacy_mmc0" value="setenv mmcdev 0; setenv" INSERT: table 8ffb2a3c, filled 86/521 rv 8df4ca88 ==> name="bootcmd_mmc1" value="setenv devnum 1; run mmc_boot" INSERT: table 8ffb2a3c, filled 87/521 rv 8df4d2a8 ==> name="bootcmd_legacy_mmc1" value="setenv mmcdev 1; setenv" INSERT: table 8ffb2a3c, filled 88/521 rv 8df4dac8 ==> name="bootcmd_nand" value="run nandboot" INSERT: table 8ffb2a3c, filled 89/521 rv 8df4e2e8 ==> name="bootcmd_pxe" value="dhcp; if pxe get; then pxe boot" INSERT: table 8ffb2a3c, filled 90/521 rv 8df4c254 ==> name="bootcmd_dhcp" value="if dhcp ${scriptaddr} ${boot_s" INSERT: table 8ffb2a3c, filled 91/521 rv 8df4cf4c ==> name="distro_bootcmd" value="for target in ${boot_targets" INSERT: free(data = 8df49c18) INSERT: done Initial value for argc=3 Final value for argc=3 initcall: 8080a53b (relocated to 8ff7353b) initcall: 8080aa5d (relocated to 8ff73a5d) initcall: 8080a53b (relocated to 8ff7353b) initcall: 8081084d (relocated to 8ff7984d) initcall: 8080a94f (relocated to 8ff7394f) initcall: 8080d6e9 (relocated to 8ff766e9) Initial value for argc=3 Final value for argc=3 Initial value for argc=3 Final value for argc=3 Initial value for argc=3 Final value for argc=3 initcall: 80801441 (relocated to 8ff6a441) initcall: 8080a53b (relocated to 8ff7353b) initcall: 80800fa1 (relocated to 8ff69fa1) initcall: 8080a945 (relocated to 8ff73945) initcall: 8080a92d (relocated to 8ff7392d) initcall: 808003c1 (relocated to 8ff693c1) <ethaddr> not set. Validating first E-fuse MAC Initial value for argc=3 Final value for argc=3 Initial value for argc=3 Final value for argc=3 initcall: 8080a53b (relocated to 8ff7353b) initcall: 8080a919 (relocated to 8ff73919) Net: Initial value for argc=3 Final value for argc=3 uclass_find_device_by_seq: 0 -1 uclass_find_device_by_seq: 0 0 - -1 -1 - -1 -1 - -1 -1 - -1 -1 - -1 -1 - -1 -1 - not found fdtdec_get_int: clock-frequency: (not found) OF: ** translation for device timer@48040000 ** OF: bus is default (na=1, ns=1) on ocp OF: translating address: 00000448 OF: parent bus is default (na=1, ns=1) on OF: no ranges, 1:1 translation OF: parent translation for: 00000000 OF: with offset: 1208221696 OF: one level translation: 00000448 OF: reached root node cpsw connected to Generic PHY cpsw initcall: 8080a901 (relocated to 8ff73901) Initial value for argc=3 Final value for argc=3 Initial value for argc=3 Final value for argc=3 fdtdec_get_config_int: bootdelay ### main_loop entered: bootdelay=2 fdtdec_get_config_int: kernel-offset fdtdec_get_config_int: rootdisk-offset fdtdec_get_config_string: bootcmd fdtdec_get_config_int: bootsecure ### main_loop: bootcmd="if test ${boot_fit} -eq 1; then run update_to_fit;fi;run findfdt; run init_console; run" Hit any key to stop autoboot: 0 => mmc list OMAP SD/MMC: 0 => mmc dev 0 mmc_reinit: 1, time 71 (retries 0) Command failed, result=1 => mmc part mmc_reinit: 1, time 71 (retries 0) Command failed, result=1
Any suggestion/pointer ?