Tool/software: Linux
After creating a Micro SD Card, my AM5728 isn't booting correctly. Below are the steps I followed to create the card:
~/ti-processor-sdk-linux-am57xx-evm-05.00.00.15/bin# ./create-sdcard.sh
Available Drives to write images to:
# major minor size name 1: 8 32 7643136 sdc Enter Device Number or n to exit: 1
...
Number of partitions needed [2/3] : 2
...
Would you like to continue? [y/n] : y
...
Choose file path to install from 1 ) Install pre-built images from SDK 2 ) Enter in custom boot and rootfs file paths ################################################################################ Choose now [1/2] : 1
Next I inserted the SD Card into the AM5728 and watched the console via serial connection. This is what I see:
CPU : DRA752-GP ES2.0 Model: TI AM5728 BeagleBoard-X15 Board: AM572x EVM REV A.3A DRAM: 2 GiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** SCSI: SATA link 0 timeout. AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst scanning bus for devices... Found 0 device(s). Net: Warning: ethernet@48484000 using MAC address from ROM eth0: ethernet@48484000 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 ** Unable to read file boot.scr ** reading uEnv.txt 1490 bytes read in 5 ms (291 KiB/s) Loaded env from uEnv.txt Importing environment from mmc0 ... Running uenvcmd ... reading .psdk_setup 1 bytes read in 3 ms (0 Bytes/s) Already setup. switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 3998208 bytes read in 246 ms (15.5 MiB/s) 147682 bytes read in 53 ms (2.7 MiB/s) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8ffd8000, end 8ffff0e1 ... OK Starting kernel ... ... [ 3.249102] sdhci-omap 480ad000.mmc: no pinctrl state for ddr50 mode [ 3.256646] sdhci-omap 480ad000.mmc: no pinctrl state for hs200_1_8v mode [ 3.324568] mmc2: SDHCI controller on 480ad000.mmc [480ad000.mmc] using PIO [ 3.332147] mmc0: error -110 whilst initialising SD card [ 3.341546] mmc1: new DDR MMC card at address 0001 [ 3.347044] mmcblk1: mmc1:0001 S10004 3.56 GiB [ 3.351643] ledtrig-cpu: registered to indicate activity on CPUs [ 3.357981] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB [ 3.359453] NET: Registered protocol family 10 [ 3.368731] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB [ 3.370100] Segment Routing with IPv6 [ 3.370139] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 3.370457] NET: Registered protocol family 17 [ 3.370602] Key type dns_resolver registered [ 3.370687] omap_voltage_late_init: Voltage driver support not added [ 3.370690] Power Management for TI OMAP4+ devices. [ 3.370887] Registering SWP/SWPB emulation handler [ 3.394244] dmm 4e000000.dmm: workaround for errata i878 in use [ 3.406030] dmm 4e000000.dmm: initialized all PAT entries [ 3.425997] mmcblk1rpmb: mmc1:0001 S10004 partition 3 4.00 MiB [ 3.434363] mmcblk1: p1 p2 p3 [ 3.442330] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 3.448974] [drm] No driver support for vblank timestamp query. [ 3.457145] [drm] Enabling DMM ywrap scrolling [ 3.530466] Console: switching to colour frame buffer device 100x30 [ 3.539140] omapdrm omapdrm.0: fb0: omapdrm frame buffer device [ 3.545834] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0 [ 3.551483] mmc0: Got command interrupt 0x00030000 even though no command operation was in progress. [ 3.551486] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [ 3.551491] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00003302 [ 3.551495] mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [ 3.551498] mmc0: sdhci: Argument: 0x00000c00 | Trn mode: 0x00000000 [ 3.551502] mmc0: sdhci: Present: 0x00000000 | Host ctl: 0x00000000 [ 3.551506] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000 [ 3.551509] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000ffc7 [ 3.551513] mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [ 3.551517] mmc0: sdhci: Int enab: 0x007f0003 | Sig enab: 0x007f0003 [ 3.551521] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000 [ 3.551525] mmc0: sdhci: Caps: 0x25e90080 | Caps_1: 0x00000f77 [ 3.551528] mmc0: sdhci: Cmd: 0x0000341a | Max curr: 0x00000000 [ 3.551532] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [ 3.551536] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [ 3.551539] mmc0: sdhci: Host ctl2: 0x00000000 [ 3.551543] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000 [ 3.551546] mmc0: sdhci: ============================================ [ 3.671440] input: gpio_keys as /devices/platform/gpio_keys/input/input0 [ 3.678484] hctosys: unable to open rtc device (rtc0) [ 3.684052] aic_dvdd_fixed: disabling [ 3.687884] ldousb: disabling [ 3.691122] ALSA device list: [ 3.694114] No soundcards found. [ 3.698054] Waiting for root device PARTUUID=eb246be3-02... [ 373.991315] random: crng init done
It just hangs after the `random: crng init done` line. Can you please identify what I need to do to correctly boot?