create-sdcard output: pv@E6510:~/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/bin$ sudo ./create-sdcard.sh ################################################################################ This script will create a bootable SD card from custom or pre-built binaries. The script must be run with root permissions and from the bin directory of the SDK Example: $ sudo ./create-sdcard.sh Formatting can be skipped if the SD card is already formatted and partitioned properly. ################################################################################ Available Drives to write images to: # major minor size name 1: 8 16 15159296 sdb Enter Device Number or n to exit: 1 sdb was selected /dev/sdb is an sdx device Unmounting the sdb drives unmounted /dev/sdb1 unmounted /dev/sdb2 Current size of sdb1 71680 bytes Current size of sdb2 15070208 bytes ################################################################################ Select 2 partitions if only need boot and rootfs (most users). Select 3 partitions if need SDK & other content on SD card. This is usually used by device manufacturers with access to partition tarballs. ****WARNING**** continuing will erase all data on sdb ################################################################################ Number of partitions needed [2/3] : 2 Now partitioning sdb with 2 partitions... ################################################################################ Now making 2 partitions ################################################################################ 1024+0 records in 1024+0 records out 1048576 bytes (1,0 MB, 1,0 MiB) copied, 0,225793 s, 4,6 MB/s DISK SIZE - 15523119104 bytes ################################################################################ Partitioning Boot ################################################################################ mkfs.fat 3.0.28 (2015-05-16) mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows /dev/sdb1: No such file or directory ################################################################################ Partitioning rootfs ################################################################################ mke2fs 1.42.13 (17-May-2015) The file /dev/sdb2 does not exist and no size was specified. ################################################################################ Partitioning is now done Continue to install filesystem or select 'n' to safe exit **Warning** Continuing will erase files any files in the partitions ################################################################################ Would you like to continue? [y/n] : y Mount the partitions Emptying partitions Syncing.... ################################################################################ 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 Will now install from SDK pre-built images now installing: ti-processor-sdk-linux-am57xx-evm-04.00.00.04 ################################################################################ Copying files now... will take minutes ################################################################################ Copying boot partition MLO copied u-boot.img copied uEnv.txt copied Copying rootfs System partition Syncing... Un-mount the partitions Remove created temp directories Operation Finished Boot output: Trying to boot from MMC1 reading uboot.env ** Unable to read "uboot.env" from mmc0:1 ** Using default environment reading u-boot.img reading u-boot.img reading u-boot.img reading u-boot.img U-Boot 2017.01-g9fd60700db (Jun 28 2017 - 19:55:57 -0400) CPU : DRA752-GP ES2.0 Model: TI AM572x EVM Rev A3 Board: AM572x EVM REV A.30 DRAM: 2 GiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 reading uboot.env ** Unable to read "uboot.env" from mmc0:1 ** Using default environment 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: not set. Validating first E-fuse MAC cpsw Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 reading boot.scr ** Unable to read file boot.scr ** reading uEnv.txt 574 bytes read in 5 ms (111.3 KiB/s) Loaded env from uEnv.txt Importing environment from mmc0 ... switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 3725624 bytes read in 276 ms (12.9 MiB/s) 103304 bytes read in 83 ms (1.2 MiB/s) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8ffe3000, end 8ffff387 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.28-geed43d1050 (gtbldadm@ubuntu-16) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #2 SMP PREEMPT Wed Jun 28 18:16:59 EDT 2017 [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] OF: fdt:Machine model: TI AM572x EVM Rev A3 [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB [ 0.000000] OF: reserved mem: initialized node ipu2_cma@95800000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB [ 0.000000] OF: reserved mem: initialized node dsp1_cma@99000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB [ 0.000000] OF: reserved mem: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB [ 0.000000] OF: reserved mem: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool [ 0.000000] cma: Reserved 24 MiB at 0x00000000fe400000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier [ 0.000000] DRA752 ES2.0 [ 0.000000] percpu: Embedded 13 pages/cpu @eed34000 s22092 r8192 d22964 u53248 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 472640 [ 0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=3fd39b8c-02 rw rootfstype=ext4 rootwait [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 1675680K/1897472K available (8192K kernel code, 314K rwdata, 2492K rodata, 2048K init, 296K bss, 33376K reserved, 188416K cma-reserved, 1283072K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0a00000 (10208 kB) [ 0.000000] .init : 0xc0e00000 - 0xc1000000 (2048 kB) [ 0.000000] .data : 0xc1000000 - 0xc104e860 ( 315 kB) [ 0.000000] .bss : 0xc1050000 - 0xc109a130 ( 297 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] OMAP clockevent source: timer1 at 32786 Hz [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns [ 0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns [ 0.000016] Switching to timer-based delay loop, resolution 162ns [ 0.000319] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000327] OMAP clocksource: 32k_counter at 32768 Hz [ 0.000740] Console: colour dummy device 80x30 [ 0.000757] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2' [ 0.000764] This ensures that you still see kernel messages. Please [ 0.000770] update your kernel commandline. [ 0.000787] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475) [ 0.000799] pid_max: default: 32768 minimum: 301 [ 0.000897] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000909] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001516] CPU: Testing write buffer coherency: ok [ 0.001724] /cpus/cpu@0 missing clock-frequency property [ 0.001742] /cpus/cpu@1 missing clock-frequency property [ 0.001753] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.001770] Setting up static identity map for 0x80200000 - 0x80200060 [ 0.080067] EFI services will not be available. [ 0.170313] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.170398] Brought up 2 CPUs [ 0.170412] SMP: Total of 2 processors activated (24.59 BogoMIPS). [ 0.170419] CPU: All CPU(s) started in HYP mode. [ 0.170425] CPU: Virtualization extensions available. [ 0.170930] devtmpfs: initialized [ 0.198251] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 [ 0.198488] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.198506] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.201859] pinctrl core: initialized pinctrl subsystem [ 0.202660] NET: Registered protocol family 16 [ 0.203518] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.204466] omap_hwmod: l3_main_2 using broken dt data from ocp [ 0.314154] omap_hwmod: dcan1: _wait_target_disable failed [ 0.440386] cpuidle: using governor ladder [ 0.470412] cpuidle: using governor menu [ 0.480099] OMAP GPIO hardware version 0.1 [ 0.494604] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 ! [ 0.521031] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.521041] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.521394] omap4_sram_init:Unable to allocate sram needed to handle errata I688 [ 0.521404] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.521935] OMAP DMA hardware revision 0.0 [ 0.561602] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported) [ 0.562893] edma 43300000.edma: memcpy is disabled [ 0.567675] edma 43300000.edma: TI EDMA DMA engine driver [ 0.572118] omap-iommu 40d01000.mmu: 40d01000.mmu registered [ 0.572290] omap-iommu 40d02000.mmu: 40d02000.mmu registered [ 0.572436] omap-iommu 58882000.mmu: 58882000.mmu registered [ 0.572586] omap-iommu 55082000.mmu: 55082000.mmu registered [ 0.572846] omap-iommu 41501000.mmu: 41501000.mmu registered [ 0.573020] omap-iommu 41502000.mmu: 41502000.mmu registered [ 0.575653] palmas 0-0058: Irq flag is 0x00000008 [ 0.602650] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0 [ 0.606441] vtt_fixed: supplied by smps3 [ 0.651335] random: fast init done [ 0.682380] vdd_3v3: supplied by regen1 [ 0.682598] aic_dvdd_fixed: supplied by vdd_3v3 [ 0.685752] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz [ 0.686242] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz [ 0.686811] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz [ 0.687002] media: Linux media interface: v0.10 [ 0.687048] Linux video capture interface: v2.00 [ 0.687083] pps_core: LinuxPPS API ver. 1 registered [ 0.687090] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.687110] PTP clock support registered [ 0.687148] EDAC MC: Ver: 3.0.0 [ 0.687834] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400 [ 0.688131] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400 [ 0.688411] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400 [ 0.688693] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400 [ 0.689031] Advanced Linux Sound Architecture Driver Initialized. [ 0.689846] clocksource: Switched to clocksource arch_sys_counter [ 0.700598] NET: Registered protocol family 2 [ 0.701097] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.701160] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.701286] TCP: Hash tables configured (established 8192 bind 8192) [ 0.701333] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.701364] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.701492] NET: Registered protocol family 1 [ 0.701836] RPC: Registered named UNIX socket transport module. [ 0.701845] RPC: Registered udp transport module. [ 0.701852] RPC: Registered tcp transport module. [ 0.701859] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.702775] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available [ 0.705667] workingset: timestamp_bits=14 max_order=19 bucket_order=5 [ 0.713194] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.713900] NFS: Registering the id_resolver key type [ 0.713922] Key type id_resolver registered [ 0.713929] Key type id_legacy registered [ 0.713970] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.715124] bounce: pool size: 64 pages [ 0.715267] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 0.715276] io scheduler noop registered [ 0.715285] io scheduler deadline registered [ 0.715411] io scheduler cfq registered (default) [ 0.719778] pinctrl-single 4a003400.pinmux: please update dts to use #pinctrl-cells = <1> [ 0.720319] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128 [ 0.723723] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges: [ 0.723735] OF: PCI: No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff] [ 0.723767] OF: PCI: IO 0x20003000..0x20012fff -> 0x00000000 [ 0.723788] OF: PCI: MEM 0x20013000..0x2fffffff -> 0x20013000 [ 1.725192] dra7-pcie 51000000.pcie: phy link never came up [ 1.725363] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00 [ 1.725376] pci_bus 0000:00: root bus resource [bus 00-ff] [ 1.725387] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] [ 1.725398] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff] [ 1.725771] PCI: bus0: Fast back to back transfers disabled [ 1.725889] PCI: bus1: Fast back to back transfers enabled [ 1.726006] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff] [ 1.726022] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff] [ 1.726036] pci 0000:00:00.0: PCI bridge to [bus 01] [ 1.726257] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt [ 1.727287] backlight supply power not found, using dummy regulator [ 1.789387] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 1.792763] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250 [ 2.761383] console [ttyS2] enabled [ 2.765721] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_baud = 3000000) is a 8250 [ 2.776464] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20 [ 2.783240] [drm] Initialized [ 2.788097] OMAP DSS rev 6.1 [ 2.791479] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops) [ 2.799914] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops) [ 2.809981] display supply vcc not found, using dummy regulator [ 2.826885] brd: module loaded [ 2.855183] loop: module loaded [ 2.858899] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write [ 2.868593] libphy: Fixed MDIO Bus: probed [ 2.929874] davinci_mdio 48485000.mdio: davinci mdio revision 1.6 [ 2.935999] libphy: 48485000.mdio: probed [ 2.944450] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY [ 2.954189] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY [ 2.964390] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:bd:48:bc [ 2.971075] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies) [ 2.979343] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:bd:48:bd [ 2.987747] mousedev: PS/2 mouse device common for all mice [ 2.993682] i2c /dev entries driver [ 3.000026] gpio-fan gpio_fan: GPIO fan initialized [ 3.006248] tmp102 0-0048: initialized [ 3.015123] omap_hsmmc 4809c000.mmc: Got CD GPIO [ 3.090190] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode [ 3.096570] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode [ 3.240758] ledtrig-cpu: registered to indicate activity on CPUs [ 3.251475] NET: Registered protocol family 10 [ 3.266602] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 3.272949] NET: Registered protocol family 17 [ 3.277549] Key type dns_resolver registered [ 3.281941] omap_voltage_late_init: Voltage driver support not added [ 3.288386] Power Management for TI OMAP4+ devices. [ 3.293503] Registering SWP/SWPB emulation handler [ 3.307352] dmm 4e000000.dmm: initialized all PAT entries [ 3.340925] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 3.347567] [drm] No driver support for vblank timestamp query. [ 3.355361] [drm] Enabling DMM ywrap scrolling [ 3.393798] mmc1: new DDR MMC card at address 0001 [ 3.394145] mmcblk1: mmc1:0001 S10004 3.56 GiB [ 3.394305] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB [ 3.394452] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB [ 3.394979] mmcblk1: p1 p2 p3 [ 3.401919] omap_hsmmc 4809c000.mmc: card busy [ 3.428526] Console: switching to colour frame buffer device 100x30 [ 3.463304] mmc0: error -110 whilst initialising SD card [ 3.470800] omapdrm omapdrm.0: fb0: omapdrm frame buffer device [ 3.532006] input: gpio_keys as /devices/platform/gpio_keys/input/input0 [ 3.538941] hctosys: unable to open rtc device (rtc0) [ 3.544590] aic_dvdd_fixed: disabling [ 3.548267] vmmcwl_fixed: disabling [ 3.551966] ldousb: disabling [ 3.555213] ALSA device list: [ 3.558191] No soundcards found. [ 3.562253] Waiting for root device PARTUUID=3fd39b8c-02...