This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Beagleboard X15 RevB1 booting issue

Other Parts Discussed in Thread: BEAGLEBOARD-X15, AM5728, PMP, DRA752, TMP102, TMDSEVM572X, TMDXIDK5718, DRA726

I am having some problems booting the new code on the Beagleboard X15 Rev B1 with a micro SD card. So far for dev I have been using the Rev 3 that comes with the TI EVM. We use the board with our own LCD board for a demo to the customer while we are waiting for our own board that uses an automotive part.We need to send a couple demo to a customer.

Not wanting to pay the $600 for the full dev since we remove the 7 inch LCD display, we bought a couple of Beagleboard X15 Rev B1. It turns out that the new code from TI will not boot from it. This tells me that the code was written but never tested on the actual hardware.

Before it hangs it shows this :

[    2.368521]   No soundcards found.
[    2.372846] Waiting for root device PARTUUID=000c9edb-02...
[  119.798818] random: nonblocking pool is initialized

On the Beagleboards Rev A2 and A2 it works perfectly.

[    2.521810]   No soundcards found.
[    2.728877] EXT4-fs (mmcblk0p2): recovery complete
[    2.740066] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.748212] VFS: Mounted root (ext4 filesystem) on device 179:2.

I did several experiments

I tried the older u-boot. It works fine except that it doesn't recognize the HDMI correct frequency and runs in some low resolution. That is because it loads the wrong device tree, there has been a GPIO change there. If I create a link to force loading of the B1 devicetree I get identical results as with the newer u-boot


I tried the u-boot that Robert Nelson did to fix the problem for his debian. It gives me several bad partitions error messages, amusing considering that I only have two partitions. It then boots debian which is on the eMMC. I even tried his patch for the kernel, still using TI kernel.

This morning I recreated two images, one with the SPL and u-boot written in raw mode and the other with the files copied on a FAT partition.

For the one in raw mode I get a bad 2nd partition which is weird considering that there is only one partition in the case.

In my recording I have the 3 listing, I stopped the listing for the one that works after it shows that it found the ext4 partition

I posted on google since I figured that it is not TI hardware and that I might get a quicker answer. Robert told me that since it is TI SDK it would be better to describe the problem here.

The difference between the two hardware don't seem to be that big so I am confused as to why I have this weird issue.

Michel

Recording :

U-Boot SPL 2016.05-g2f757e5b2c (Oct 12 2016 - 21:47:01)
DRA752-GP ES1.1
Trying to boot from MMC1
Expected Linux image is not found. Trying to start U-boot


U-Boot 2016.05-g2f757e5b2c (Oct 12 2016 - 21:47:01 -0400)

CPU  : DRA752-GP ES1.1
Model: TI AM5728 BeagleBoard-X15
Board: BeagleBoard X15 REV B.10
DRAM:  2 GiB
MMC:   no pinctrl for ddr50
no pinctrl for sdr25
no pinctrl for sdr12
OMAP SD/MMC: 0, OMAP SD/MMC: 1

** Unable to use mmc 0:1 for loading the env **
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:   
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
** Unrecognized filesystem type **
** Unrecognized filesystem type **
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Invalid partition 2 **
failed to set signal voltage
switch to partitions #0, OK
mmc1(part 0) is current device
failed to set signal voltage
SD/MMC found on device 1
** Invalid partition 2 **
=>
U-Boot SPL 2016.05-g2f757e5b2c (Oct 12 2016 - 21:47:01)
DRA752-GP ES1.1
Trying to boot from MMC1
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2016.05-g2f757e5b2c (Oct 12 2016 - 21:47:01 -0400)

CPU  : DRA752-GP ES1.1
Model: TI AM5728 BeagleBoard-X15
Board: BeagleBoard X15 REV B.10
DRAM:  2 GiB
MMC:   no pinctrl for ddr50
no pinctrl for sdr25
no pinctrl for sdr12
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:   
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
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
574 bytes read in 4 ms (139.6 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
3576592 bytes read in 191 ms (17.9 MiB/s)
95697 bytes read in 53 ms (1.7 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x369310 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe5000, end 8ffff5d0 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.19-gdb0b54cdad (michel@michel) (gcc version 5.3.1 20160113 (Linaro GCC 6
[    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TI AM5728 BeagleBoard-X15 rev B1
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
[    0.000000] Reserved memory: 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] Reserved memory: 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] Reserved memory: 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] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
[    0.000000] Forcing write-allocate cache policy for SMP
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
[    0.000000] DRA752 ES1.1
[    0.000000] PERCPU: Embedded 11 pages/cpu @eed34000 s14848 r8192 d22016 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 472640
[    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=000c9edb-02 rw rootfstype=ext4 t
[    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: 1680668K/1897472K available (6535K kernel code, 358K rwdata, 2444K rodata, 336K i)
[    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 - 0xc08cd04c   (8981 kB)
[    0.000000]       .init : 0xc08ce000 - 0xc0922000   ( 336 kB)
[    0.000000]       .data : 0xc0922000 - 0xc097bab0   ( 359 kB)
[    0.000000]        .bss : 0xc097d000 - 0xc09c56c0   ( 290 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] Architected cp15 timer(s) running at 6.14MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns
[    0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[    0.000015] Switching to timer-based delay loop, resolution 162ns
[    0.000323] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 583270399s
[    0.000331] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000737] Console: colour dummy device 80x30
[    0.000752] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[    0.000759] This ensures that you still see kernel messages. Please
[    0.000764] update your kernel commandline.
[    0.000778] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS)
[    0.000791] pid_max: default: 32768 minimum: 301
[    0.000883] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000892] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001424] Initializing cgroup subsys io
[    0.001441] Initializing cgroup subsys memory
[    0.001466] Initializing cgroup subsys devices
[    0.001478] Initializing cgroup subsys freezer
[    0.001490] Initializing cgroup subsys perf_event
[    0.001501] Initializing cgroup subsys pids
[    0.001526] CPU: Testing write buffer coherency: ok
[    0.001724] /cpus/cpu@0 missing clock-frequency property
[    0.001741] /cpus/cpu@1 missing clock-frequency property
[    0.001751] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001787] Setting up static identity map for 0x800082c0 - 0x80008318
[    0.080092] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.080155] Brought up 2 CPUs
[    0.080168] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[    0.080174] CPU: All CPU(s) started in SVC mode.
[    0.080548] devtmpfs: initialized
[    0.107287] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.108209] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.308065] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275s
[    0.311987] pinctrl core: initialized pinctrl subsystem
[    0.312821] NET: Registered protocol family 16
[    0.313732] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.340248] cpuidle: using governor ladder
[    0.370270] cpuidle: using governor menu
[    0.378752] OMAP GPIO hardware version 0.1
[    0.385210] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[    0.408563] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.408573] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.409034] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.409043] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.409601] OMAP DMA hardware revision 0.0
[    0.444447] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
[    0.445531] edma 43300000.edma: memcpy is disabled
[    0.450295] edma 43300000.edma: TI EDMA DMA engine driver
[    0.453909] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[    0.454096] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[    0.454249] omap-iommu 58882000.mmu: 58882000.mmu registered
[    0.454402] omap-iommu 55082000.mmu: 55082000.mmu registered
[    0.454660] omap-iommu 41501000.mmu: 41501000.mmu registered
[    0.454833] omap-iommu 41502000.mmu: 41502000.mmu registered
[    0.457643] palmas 0-0058: Irq flag is 0x00000008
[    0.472637] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
[    0.554035] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    0.554527] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[    0.554722] media: Linux media interface: v0.10
[    0.554774] Linux video capture interface: v2.00
[    0.554814] pps_core: LinuxPPS API ver. 1 registered
[    0.554821] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.554846] PTP clock support registered
[    0.554897] EDAC MC: Ver: 3.0.0
[    0.555645] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
[    0.555941] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
[    0.556224] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[    0.556515] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[    0.556822] Advanced Linux Sound Architecture Driver Initialized.
[    0.557638] clocksource: Switched to clocksource arch_sys_counter
[    0.568545] NET: Registered protocol family 2
[    0.569038] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.569101] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.569226] TCP: Hash tables configured (established 8192 bind 8192)
[    0.569273] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.569304] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.569448] NET: Registered protocol family 1
[    0.569712] RPC: Registered named UNIX socket transport module.
[    0.569721] RPC: Registered udp transport module.
[    0.569727] RPC: Registered tcp transport module.
[    0.569733] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.570670] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.573066] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.580775] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.581424] NFS: Registering the id_resolver key type
[    0.581449] Key type id_resolver registered
[    0.581457] Key type id_legacy registered
[    0.581515] ntfs: driver 2.1.32 [Flags: R/O].
[    0.583451] bounce: pool size: 64 pages
[    0.583604] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.583619] io scheduler noop registered
[    0.583633] io scheduler deadline registered
[    0.583668] io scheduler cfq registered (default)
[    0.588541] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[    0.591513] PCI host bridge /ocp/axi@0/pcie@51000000 ranges:
[    0.591524]   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
[    0.591556]    IO 0x20003000..0x20012fff -> 0x00000000
[    0.591576]   MEM 0x20013000..0x2fffffff -> 0x20013000
[    0.621718] dra7-pcie 51000000.pcie: link is not up
[    0.621894] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[    0.621906] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.621917] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.621926] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[    0.622328] PCI: bus0: Fast back to back transfers disabled
[    0.622445] PCI: bus1: Fast back to back transfers enabled
[    0.622491] irq: no irq domain found for /ocp/axi@0/pcie@51000000/interrupt-controller !
[    0.622523] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.622537] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[    0.622549] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.622769] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.683363] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.686757] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
[    1.628300] console [ttyS2] enabled
[    1.632961] [drm] Initialized drm 1.1.0 20060810
[    1.639504] OMAP DSS rev 6.1
[    1.643278] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[    1.651736] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[    1.667524] loop: module loaded
[    1.673399] libphy: Fixed MDIO Bus: probed
[    1.727673] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[    1.733800] davinci_mdio 48485000.mdio: detected phy mask fffffff9
[    1.744294] libphy: 48485000.mdio: probed
[    1.748368] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 GigabiY
[    1.758102] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 GigabiY
[    1.768471] cpsw 48484000.ethernet: Detected MACID = 74:da:ea:48:93:ae
[    1.775729] cpsw 48484000.ethernet: cpsw: Detected MACID = 74:da:ea:48:93:af
[    1.784217] mousedev: PS/2 mouse device common for all mice
[    1.790295] i2c /dev entries driver
[    1.796412] gpio-fan gpio_fan: GPIO fan initialized
[    1.802329] tmp102 0-0048: initialized
[    1.808827] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    1.813686] omap_hsmmc 4809c000.mmc: no pinctrl state for default mode
[    1.848114] omap_hsmmc 480b4000.mmc: no pinctrl state for default mode
[    1.878962] ledtrig-cpu: registered to indicate activity on CPUs
[    1.887020] davinci-mcasp 48468000.mcasp: ERRATA i868 workaround is enabled
[    1.895183] NET: Registered protocol family 10
[    1.900495] sit: IPv6 over IPv4 tunneling driver
[    1.905673] NET: Registered protocol family 17
[    1.910398] Key type dns_resolver registered
[    1.914770] omap_voltage_late_init: Voltage driver support not added
[    1.921648] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    1.927875] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    1.934577] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    1.940832] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    1.949070] Power Management for TI OMAP4+ devices.
[    1.954170] Registering SWP/SWPB emulation handler
[    1.961093] dmm 4e000000.dmm: initialized all PAT entries
[    1.969916] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.976557] [drm] No driver support for vblank timestamp query.
[    2.249757] [drm] Enabling DMM ywrap scrolling
[    2.270905] Console: switching to colour frame buffer device 240x67
[    2.292421] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    2.327985] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[    2.334582] hctosys: unable to open rtc device (rtc0)
[    2.351292] vdd_3v3: disabling
[    2.354366] aic_dvdd_fixed: disabling
[    2.358286] ldousb: disabling
[    2.361557] pbias_mmc_omap5: disabling
[    2.365521] ALSA device list:
[    2.368521]   No soundcards found.
[    2.372846] Waiting for root device PARTUUID=000c9edb-02...
[  119.798818] random: nonblocking pool is initialized



On Rev A3

U-Boot SPL 2016.05-g2f757e5b2c (Oct 12 2016 - 21:47:01)
DRA752-GP ES2.0
Trying to boot from MMC1
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2016.05-g2f757e5b2c (Oct 12 2016 - 21:47:01 -0400)

CPU  : DRA752-GP ES2.0
Model: TI AM5728 BeagleBoard-X15
Board: AM572x EVM REV A.30
DRAM:  2 GiB
MMC:   no pinctrl for sdr104
no pinctrl for ddr50
no pinctrl for sdr50
no pinctrl for sdr25
no pinctrl for sdr12
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:   
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
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
574 bytes read in 4 ms (139.6 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
3576592 bytes read in 191 ms (17.9 MiB/s)
101816 bytes read in 42 ms (2.3 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x369310 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe4000, end 8ffffdb7 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.19-gdb0b54cdad (michel@michel) (gcc version 5.3.1 20160113 (Linaro GCC 6
[    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TI AM572x EVM Rev A3
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
[    0.000000] Reserved memory: 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] Reserved memory: 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] Reserved memory: 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] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
[    0.000000] Forcing write-allocate cache policy for SMP
[    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 11 pages/cpu @eed30000 s14848 r8192 d22016 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 472640
[    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=000c9edb-02 rw rootfstype=ext4 t
[    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: 1680648K/1897472K available (6535K kernel code, 358K rwdata, 2444K rodata, 336K i)
[    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 - 0xc08cd04c   (8981 kB)
[    0.000000]       .init : 0xc08ce000 - 0xc0922000   ( 336 kB)
[    0.000000]       .data : 0xc0922000 - 0xc097bab0   ( 359 kB)
[    0.000000]        .bss : 0xc097d000 - 0xc09c56c0   ( 290 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] Architected cp15 timer(s) running at 6.14MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns
[    0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[    0.000015] Switching to timer-based delay loop, resolution 162ns
[    0.000331] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 583270399s
[    0.000339] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000764] Console: colour dummy device 80x30
[    0.000779] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[    0.000785] This ensures that you still see kernel messages. Please
[    0.000791] update your kernel commandline.
[    0.000804] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS)
[    0.000817] pid_max: default: 32768 minimum: 301
[    0.000907] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000917] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001453] Initializing cgroup subsys io
[    0.001471] Initializing cgroup subsys memory
[    0.001494] Initializing cgroup subsys devices
[    0.001506] Initializing cgroup subsys freezer
[    0.001518] Initializing cgroup subsys perf_event
[    0.001528] Initializing cgroup subsys pids
[    0.001553] CPU: Testing write buffer coherency: ok
[    0.001755] /cpus/cpu@0 missing clock-frequency property
[    0.001772] /cpus/cpu@1 missing clock-frequency property
[    0.001782] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001815] Setting up static identity map for 0x800082c0 - 0x80008318
[    0.080086] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.080147] Brought up 2 CPUs
[    0.080160] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[    0.080167] CPU: All CPU(s) started in SVC mode.
[    0.080536] devtmpfs: initialized
[    0.108875] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.109843] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.314441] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275s
[    0.318341] pinctrl core: initialized pinctrl subsystem
[    0.319185] NET: Registered protocol family 16
[    0.320089] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.350243] cpuidle: using governor ladder
[    0.380270] cpuidle: using governor menu
[    0.388896] OMAP GPIO hardware version 0.1
[    0.395407] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[    0.421138] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.421148] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.421615] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.421625] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.422195] OMAP DMA hardware revision 0.0
[    0.454536] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
[    0.455663] edma 43300000.edma: memcpy is disabled
[    0.460504] edma 43300000.edma: TI EDMA DMA engine driver
[    0.464489] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[    0.464677] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[    0.464832] omap-iommu 58882000.mmu: 58882000.mmu registered
[    0.464983] omap-iommu 55082000.mmu: 55082000.mmu registered
[    0.465256] omap-iommu 41501000.mmu: 41501000.mmu registered
[    0.465450] omap-iommu 41502000.mmu: 41502000.mmu registered
[    0.468396] palmas 0-0058: Irq flag is 0x00000008
[    0.482629] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
[    0.564088] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    0.564588] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[    0.565158] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
[    0.565367] media: Linux media interface: v0.10
[    0.565422] Linux video capture interface: v2.00
[    0.565462] pps_core: LinuxPPS API ver. 1 registered
[    0.565469] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.565493] PTP clock support registered
[    0.565543] EDAC MC: Ver: 3.0.0
[    0.566270] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
[    0.566561] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
[    0.566853] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[    0.567140] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[    0.567466] Advanced Linux Sound Architecture Driver Initialized.
[    0.568260] clocksource: Switched to clocksource arch_sys_counter
[    0.579204] NET: Registered protocol family 2
[    0.579700] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.579763] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.579888] TCP: Hash tables configured (established 8192 bind 8192)
[    0.579935] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.579966] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.580111] NET: Registered protocol family 1
[    0.580380] RPC: Registered named UNIX socket transport module.
[    0.580389] RPC: Registered udp transport module.
[    0.580395] RPC: Registered tcp transport module.
[    0.580401] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.581423] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.583815] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.591576] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.592214] NFS: Registering the id_resolver key type
[    0.592239] Key type id_resolver registered
[    0.592247] Key type id_legacy registered
[    0.592305] ntfs: driver 2.1.32 [Flags: R/O].
[    0.594250] bounce: pool size: 64 pages
[    0.594408] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.594424] io scheduler noop registered
[    0.594436] io scheduler deadline registered
[    0.594471] io scheduler cfq registered (default)
[    0.599468] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[    0.603041] PCI host bridge /ocp/axi@0/pcie@51000000 ranges:
[    0.603052]   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
[    0.603084]    IO 0x20003000..0x20012fff -> 0x00000000
[    0.603104]   MEM 0x20013000..0x2fffffff -> 0x20013000
[    0.633256] dra7-pcie 51000000.pcie: link is not up
[    0.633429] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[    0.633441] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.633451] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.633460] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[    0.633874] PCI: bus0: Fast back to back transfers disabled
[    0.633997] PCI: bus1: Fast back to back transfers enabled
[    0.634045] irq: no irq domain found for /ocp/axi@0/pcie@51000000/interrupt-controller !
[    0.634076] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.634091] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[    0.634103] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.634325] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.635648] backlight supply power not found, using dummy regulator
[    0.695574] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.699008] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
[    1.651365] console [ttyS2] enabled
[    1.655717] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_baud = 3000000) is a 8250
[    1.665808] [drm] Initialized drm 1.1.0 20060810
[    1.672473] OMAP DSS rev 6.1
[    1.676246] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[    1.684725] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[    1.700912] loop: module loaded
[    1.706849] libphy: Fixed MDIO Bus: probed
[    1.758294] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[    1.764417] davinci_mdio 48485000.mdio: detected phy mask fffffff9
[    1.774667] libphy: 48485000.mdio: probed
[    1.778738] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 GigabiY
[    1.788473] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 GigabiY
[    1.798862] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:c2:6b:5a
[    1.806125] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:c2:6b:5b
[    1.814684] mousedev: PS/2 mouse device common for all mice
[    1.820778] i2c /dev entries driver
[    1.827070] gpio-fan gpio_fan: GPIO fan initialized
[    1.833012] tmp102 0-0048: initialized
[    1.839778] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    1.844790] vdd_3v3: supplied by regen1
[    1.898754] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[    1.905137] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[    2.009626] ledtrig-cpu: registered to indicate activity on CPUs
[    2.020755] NET: Registered protocol family 10
[    2.036071] sit: IPv6 over IPv4 tunneling driver
[    2.041379] NET: Registered protocol family 17
[    2.046066] Key type dns_resolver registered
[    2.050473] omap_voltage_late_init: Voltage driver support not added
[    2.057342] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    2.063567] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    2.070270] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    2.076480] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    2.084666] Power Management for TI OMAP4+ devices.
[    2.089786] Registering SWP/SWPB emulation handler
[    2.096640] dmm 4e000000.dmm: initialized all PAT entries
[    2.121203] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.127843] [drm] No driver support for vblank timestamp query.
[    2.146182] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.155902] mmc0: new ultra high speed DDR50 SDHC card at address 59b4
[    2.162802] mmcblk0: mmc0:59b4 00000 14.9 GiB
[    2.168033]  mmcblk0: p1 p2
[    2.232893] mmc1: MAN_BKOPS_EN bit is not set
[    2.245938] mmc1: new DDR MMC card at address 0001
[    2.251058] mmcblk1: mmc1:0001 S10004 3.56 GiB
[    2.255761] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB
[    2.261855] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB
[    2.268420]  mmcblk1: p1 p2 p3
[    2.401953] [drm] Enabling DMM ywrap scrolling
[    2.441017] Console: switching to colour frame buffer device 100x30
[    2.449922] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    2.478540] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[    2.485859] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[    2.492826] hctosys: unable to open rtc device (rtc0)
[    2.507973] aic_dvdd_fixed: disabling
[    2.511687] vmmcwl_fixed: disabling
[    2.515396] ldousb: disabling
[    2.518832] ALSA device list:
[    2.521810]   No soundcards found.
[    2.728877] EXT4-fs (mmcblk0p2): recovery complete
[    2.740066] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.748212] VFS: Mounted root (ext4 filesystem) on device 179:2.

  • I meant to write Rev A2 and Rev A3 and somehow wrote A2 twice

    Michel
  • If you take a look at the AM57x Linux SDK download page (software-dl.ti.com/.../index_FDS.html) you will see that supported EVMs are: AM572x EVM (TMDSEVM572X), AM572x IDK (TMDXIDK5728), and AM571x IDK (TMDXIDK5718).

    Beagleboard X15 is not a TI design. It's a community project, developed and supported by www.beagleboard.org The AM572x GP EVM processor boards are similar to it, but not identical.
  • I understand your point but that is an unacceptable answer if Texas Instruments is serious about wanting us to go to production with their DRA devices. I checked on the google group and was told that I would get a better answer here. No matter what your disclaimer says, you have the B1 version supported in your SDK and it is broken. I think that the disclaimer was added because you couldn't figure out where the bugs were. The beagleboard X15 board was supported prior to the B1 fix to pass FCC.

    I need to get those two boards working for our demo to a customer since we have a small delay on our DRA726 board prototypes.

    Michel

  • Michael,
    What is the processor you are using? Is it DRA726? please confirm.
  • Our design uses a DRA726 but the two panels that I am working on as a demo for the customer use the BeagleBoard X15. I have a few EVM but we want to keep those here for development. We have a custom LCD 12 inch board which we are making an adapter for the Beagleboard X15. This will give use some time to get our hardware finalized.

    If you need more details we need to discuss that as part of our NDA, not on a public forum.

    Michel
  • Last night I fixed the bug in TI Linux kernel for the Beagleboard A15 RevB1. For some mysterious reason support for the micro SD was removed in the device tree. This explained why it booted with the older kernel which could not identify the board as the RevB1. What was puzzling was the fact that u-boot could recognize the disk but then after it loaded the kernel the disk was no longer recognized. Once I realized that I looked deeper and realized where the problem was.

    One thing that surprised me was that the command line display now works for the full screen and weston didn't crash.Maybe it was just a higher quality HDMI monitor I have at home. I will test at work this morning on a couple of monitors, one HDMI and one DVI.

    I will have to do many power cycles to be sure that it was not just luck on that particular board.


    Michel

  • thanks much for reporting back.
  • I still have the weston crash problem on the DVI monitor (I use an HDMI to DVI adapter). The full screen command line display works. I only cycle the power 4 times on when it was connected to the ASUS hdmi monitor so that may just have been luck. On the DVI monitor weston crashed on the first boot.

    It works fine if I restart the weston service. I haven't tried shutting off the HDMI monitor as I did on my beaglebone at home. In that case after a while weston crashed.

    This board behaves somewhat better than the TI Rev3 but that may just be luck. I do have another board from TI that doesn't seem to have problems. That one is connected to a 7 inch LCD display. I have 2 other boards that have the weston issue both Rev 3. My Rev 2 board has the issue as well. The issue is present for both LCD board and HDMI.

    Michel
  • Michel,

    Due to the fact that TI does not control the Beagleboard-X15 hardware and because it has diverged from our EVM, removed it from our officially supported hardware list as of Proc SDK 3.00.  Note, however, that there is still a tremendous amount of community support for this board.  For example, I had a look at the mainline kernel and I see there are updates that have been merged to support the new Rev B1 board:

    https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts?id=refs/tags/v4.9-rc2

    You'll see that there's now a file called am57xx-beagle-x15-revb1.dts at the link above.  I recommend verifying your changes against it so you can be sure you didn't miss anything.

    Best regards,
    Brad

  • Brad,

    Good to know. I seem to have less display problems with the Beagleboard X15 RevB1 than on the Rev 3 from TI. I don't know if it is related to the same thing that creates an issue with FCC tests. What I was told was that in order to pass FCC they had to remove the current sensing hardware that TI had.

    I know that the community had issues with booting on emmc. My main issue with the TI board has to do with the weston crashes. One thing I did notice on that was that on the first boot after I had created an image it would calibrate the touch screen, weston never crashed in that condition. Perhaps all that is needed is a small delay on starting the weston service. Shutting off the HDMI monitor also crashes weston.

    I won't know if the crashing issue will exist on our 12 inch LCD displays until we get them. I do know that it crashes on the TI 7 inch display with the TI boards. My first impression with the B1 board last night and this morning was that the problem won't be there for our B1 board but after I connected one board to Tom's monitor I realized that the problem is still there. The community and TI board are very similar.

    We can get around the problem for now but that has to be resolved before the middle of next month.

    Michel
  • I have a Rev A2 version of the X15 and I am trying to get a Yocto build up and running.
    I am having some issue with getting it booting off of an SD card and I am think that it is my uEnv.txt.
    It has been hard trying to find examples what should be in the uEnv.txt.

    Currently it will load the dtb and the zImage but when it executes the kernel it just hangs. I have taken other kernels from different images and it looks up in the same place. Any examples of what you guys used for the uEnv.txt would be great.

    Thanks,
    Seth King






    U-Boot 2016.05-g6c5519b6fc (Dec 06 2016 - 17:12:31 -0500)

    CPU : DRA752-GP ES1.1
    Model: TI AM5728 BeagleBoard-X15
    Board: BeagleBoard X15 REV A.20
    DRAM: 2 GiB
    MMC: no pinctrl for ddr50
    no pinctrl for sdr25
    no pinctrl for sdr12
    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:
    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
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    562 bytes read in 3 ms (182.6 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    Running uenvcmd ...
    97007 bytes read in 30 ms (3.1 MiB/s)
    Loaded dtbs/4.4.32/am57xx-beagle-x15.dtb
    3562800 bytes read in 173 ms (19.6 MiB/s)
    Loaded zImage
    Kernel image @ 0x82000000 [ 0x000000 - 0x365d30 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffe5000, end 8ffffaee ... OK

    Starting kernel ...
  • I'm using the file that ships in the SDK at /ti-processor-sdk-linux-am57xx-evm-03.01.00.06/board-support/prebuilt-images/uEnv.txt. It's empty though:

    # This uEnv.txt file can contain additional environment settings that you
    # want to set in U-Boot at boot time. This can be simple variables such
    # as the serverip or custom variables. The format of this file is:
    # variable=value
    # NOTE: This file will be evaluated after the bootcmd is run and the
    # bootcmd must be set to load this file if it exists (this is the
    # default on all newer U-Boot images. This also means that some
    # variables such as bootdelay cannot be changed by this file since
    # it is not evaluated until the bootcmd is run.

    I recommend reverting back to the binaries from the SDK and then substituting your components one at a time: MLO, u-boot.img, zImage, dtb, etc.
  • Thanks, I will look into that.
  • I have figured out how to boot on the micro SD card on the B1 version. TI has the support for the micro SD card removed for that revision but not for Rev2 so I am not sure why you can't boot on Rev 2.

    At work I have Rev A3 and Rev B1. I have Rev 2 at home and I have no problem booting off the micro SD card. Do you have a fat partition on your micro SD card?.

    If you are trying to boot with 1 ext3 or ext4 partition that won't work with TI's u-boot which requires a fat partition for MLO and u-boot.img

    The u-boot from eewiki doesn't work with the micro SD card. I think their u-boot only works with the emmc.

    It looks for the EEPROM identification of the board and will read the device tree of the rootfs partition on the boot directory.


    The u-boot that comes with the yocto package doesn't support booting off the first partition, it is hardcoded to boot of the second partition.

    I have modified u-boot to boot off an ext4 partition. I do not have any fat partition, the only partition I create is an ext4 partition and MLO and u-boot.img are programmed in raw mode.


    On my system I have one disk of 4TB where I have gentoo and one 2TB where I have Debian. So my micro SD card is on /dev/sdc

    dd if=MLO of=/dev/sdc count=1 seek=1 bs=128k
    dd if=u-boot.img of=/dev/sdc count=2 seek=1 bs=384k

    for u-boot edit the file "include/configs/ti_omap5_common.h"

    Change the 2 for a 1 (in red)

    #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
    #define CONFIG_EXTRA_ENV_SETTINGS \
            DEFAULT_LINUX_BOOT_ENV \
            DEFAULT_MMC_TI_ARGS \
            "console=" CONSOLEDEV ",115200n8\0" \
            "fdtfile=undefined\0" \
            "bootpart=0:2\0" \

    #define CONFIG_BOOTCOMMAND \
            "if test ${dofastboot} -eq 1; then " \
                    "echo Boot fastboot requested, resetting dofastboot ...;" \
                    "setenv dofastboot 0; saveenv;" \
                    "echo Booting into fastboot ...; fastboot 0;" \   
            "fi;" \
            "run findfdt; " \
            "run envboot; " \
            "run mmcboot;" \
            "setenv mmcdev 1; " \
            "setenv bootpart 1:2; " \
            "setenv mmcroot /dev/mmcblk0p2 rw; " \
            "run mmcboot;" \
            ""

    I haven't checked to see if yocto build would boot, I just use it with my misc OS.

    I have created so far

    1-Funtoo

    2-Fedora 24

    3-SuSE

    4-Arch Linux


    I will publish funtoo on my suzielinux.com website in the new two or three weeks.

    I need to finish the creation of Lazarus first which I will do tomorrow and then I check to make sure the video and sound works correctly.

    The other ones are just minimal systems with no GUI yet, I will start with Arch Linux and then do the other two.

    Michel

  • So I am using 2 partitions and I am 99% confident that the MLO and uboot are working because the build date of the uboot is the same day that I did my yocto build.  Additionally uboot can find and load both my dtb and zImage so I think that part is working correctly.

    So if you are booting from the SD card does it change how the devices are enumerated?  I have debian on the eMMC and I can put the SD card in after it boots up and the eMMC is /dev/mmcblk0 and the SD Card is /dev/mmcblk1.  I figured this would stay the same not matter which device you are booting from.  So I made my root directory /dev/mmcblk1p2, when attempting to boot from the SD card.

    What does changing bootpart from 0:2 to 1:2 do specifically?(I tested this change this morning and if I put 1:2 in then it craps out to uboot because of Invalid partition 2)

    Thanks for the help,

    Seth

     

  • I got it booting. It was the rootfs path root directory /dev/mmcblk1p2 once I changed it to root directory /dev/mmcblk0p2 the LEDs started blinking then I figured out it was console path too.

    Thanks for the help,
    Seth
  • I played around with this too and I got confused on the working. I need to read a bit more to really understand what is going on. It seems that when you have both devices on power up the devices are switched. I tried Robert Nelson's u-boot but I was not able to get it to boot on the micro SD card. He told me that he could not boot from emmc with TI's u-boot. That is when I started to play with u-boot and realized that it would only boot with a fat partition and the rootfs on the second partition.
    After a few crashes during my tests at work I realized that the fat partition was a problem. Sometimes it would not boot until I clear the dirty flag on it. Anyhow I fail to see the logic in using a fat partition on a linux system.

    Robert has a different reason than me for that, he said that the reason he was not using the fat partition was because people tend to delete or mess with MLO and u-boot.img and then complain why it doesn't boot.

    Good to know that you got your u-boot to work. On my comments about my misc OS, I will publish something on my suzielinux.com web site either the coming weekend or next. I have funtoo working with mate desktop using Vivante 2D GPU and am in the process of creating packages for archlinux. When that is done I will publish both and minimal versions of Fedora 24 and OpenSuSE. The only problem I have with SuSE right now is that it doesn't seem to like that I do not use a SuSE generated kernel. It does work fine though except for the systemd error message.

    Michel
  • Do you guys have any good resources on what it would take to load and talk to the DSP and M4s on the X15?
    It is something on my list to do next year.

    Thanks,
    Seth
  • There are bits and pieces of information to be found, though I agree that this topic could use some kind of app note or wiki page. I'm planning to create one at some point soon. Here are a few things to check out for now:

    processors.wiki.ti.com/.../Processor_Training:_Multimedia
    e2e.ti.com/.../525739
    git.yoctoproject.org/.../ti-ipc-rtos_git.bb