On Thu, Oct 20, 2016 at 1:19 PM, Catudal Michel <[email protected]> wrote: > > > I got two of the Beagleboard X15 Rev B1 and have not been able to boot the > MicroSD TI Linux (generated by yocto) on it. The previous release with > kernel 4.1 boots OK except that it is set in a low resolution, not the > 1920x1080 expected resolution. > > I tried the same image on three rev A3 from TI and 1 rev A2 beagleboard X15, > they all work as expected. > > If I replace u-boot from TI with the one from Beagleboard X15 I get a > different error, log after the first log > > Here is the log > > > U-Boot SPL 2016.05-00118-g797bc2f-dirty (Oct 13 2016 - 17:12:54) > 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-00118-g797bc2f-dirty (Oct 13 2016 - 17:12:54 -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 196 ms (17.4 MiB/s) > 95697 bytes read in 59 ms (1.5 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 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=78e8c3fb-02 rw rootfstype=et > [ 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, 33) > [ 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_ids > [ 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: 58327s > [ 0.000331] OMAP clocksource: 32k_counter at 32768 Hz > [ 0.000734] Console: colour dummy device 80x30 > [ 0.000750] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2' > [ 0.000756] This ensures that you still see kernel messages. Please > [ 0.000761] update your kernel commandline. > [ 0.000775] Calibrating delay loop (skipped), value calculated using > timer frequency.. 12.29 Bogo) > [ 0.000789] pid_max: default: 32768 minimum: 301 > [ 0.000882] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) > [ 0.000892] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 > bytes) > [ 0.001431] Initializing cgroup subsys io > [ 0.001448] Initializing cgroup subsys memory > [ 0.001471] Initializing cgroup subsys devices > [ 0.001484] Initializing cgroup subsys freezer > [ 0.001495] Initializing cgroup subsys perf_event > [ 0.001505] Initializing cgroup subsys pids > [ 0.001530] CPU: Testing write buffer coherency: ok > [ 0.001729] /cpus/cpu@0 missing clock-frequency property > [ 0.001744] /cpus/cpu@1 missing clock-frequency property > [ 0.001754] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 > [ 0.001789] Setting up static identity map for 0x800082c0 - 0x80008318 > [ 0.080093] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 > [ 0.080154] Brought up 2 CPUs > [ 0.080168] SMP: Total of 2 processors activated (24.59 BogoMIPS). > [ 0.080175] CPU: All CPU(s) started in SVC mode. > [ 0.080546] devtmpfs: initialized > [ 0.107533] VFP support v0.3: implementor 41 architecture 4 part 30 > variant f rev 0 > [ 0.108449] omap_hwmod: l3_main_2 using broken dt data from ocp > [ 0.218527] omap_hwmod: dcan1: _wait_target_disable failed > [ 0.224981] omap_hwmod: dcan2: _wait_target_disable failed > [ 0.319039] clocksource: jiffies: mask: 0xffffffff max_cycles: > 0xffffffff, max_idle_ns: 191126044s > [ 0.322956] pinctrl core: initialized pinctrl subsystem > [ 0.323797] NET: Registered protocol family 16 > [ 0.324701] DMA: preallocated 256 KiB pool for atomic coherent > allocations > [ 0.350245] cpuidle: using governor ladder > [ 0.380275] cpuidle: using governor menu > [ 0.388751] OMAP GPIO hardware version 0.1 > [ 0.395216] irq: no irq domain found for > /ocp/l4@4a000000/scm@2000/pinmux@1400 ! > [ 0.418568] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 > watchpoint registers. > [ 0.418578] hw-breakpoint: maximum watchpoint size is 8 bytes. > [ 0.419036] omap4_sram_init:Unable to allocate sram needed to handle > errata I688 > [ 0.419045] omap4_sram_init:Unable to get sram pool needed to handle > errata I688 > [ 0.419601] OMAP DMA hardware revision 0.0 > [ 0.454451] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine > driver > [ 0.455533] edma 43300000.edma: memcpy is disabled > [ 0.460299] edma 43300000.edma: TI EDMA DMA engine driver > [ 0.463895] omap-iommu 40d01000.mmu: 40d01000.mmu registered > [ 0.464083] omap-iommu 40d02000.mmu: 40d02000.mmu registered > [ 0.464235] omap-iommu 58882000.mmu: 58882000.mmu registered > [ 0.464390] omap-iommu 55082000.mmu: 55082000.mmu registered > [ 0.464647] omap-iommu 41501000.mmu: 41501000.mmu registered > [ 0.464821] omap-iommu 41502000.mmu: 41502000.mmu registered > [ 0.467630] palmas 0-0058: Irq flag is 0x00000008 > [ 0.481972] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0 > [ 0.564044] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz > [ 0.564541] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz > [ 0.564733] media: Linux media interface: v0.10 > [ 0.564784] Linux video capture interface: v2.00 > [ 0.564824] pps_core: LinuxPPS API ver. 1 registered > [ 0.564831] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo > Giometti <giometti@linux.> > [ 0.564856] PTP clock support registered > [ 0.564907] EDAC MC: Ver: 3.0.0 > [ 0.565653] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400 > [ 0.565947] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400 > [ 0.566230] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400 > [ 0.566519] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400 > [ 0.566830] Advanced Linux Sound Architecture Driver Initialized. > [ 0.567651] clocksource: Switched to clocksource arch_sys_counter > [ 0.578564] NET: Registered protocol family 2 > [ 0.579056] TCP established hash table entries: 8192 (order: 3, 32768 > bytes) > [ 0.579119] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) > [ 0.579243] TCP: Hash tables configured (established 8192 bind 8192) > [ 0.579289] UDP hash table entries: 512 (order: 2, 16384 bytes) > [ 0.579321] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) > [ 0.579465] NET: Registered protocol family 1 > [ 0.579727] RPC: Registered named UNIX socket transport module. > [ 0.579737] RPC: Registered udp transport module. > [ 0.579743] RPC: Registered tcp transport module. > [ 0.579750] RPC: Registered tcp NFSv4.1 backchannel transport module. > [ 0.580693] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 > counters available > [ 0.583101] futex hash table entries: 512 (order: 3, 32768 bytes) > [ 0.590859] squashfs: version 4.0 (2009/01/31) Phillip Lougher > [ 0.591513] NFS: Registering the id_resolver key type > [ 0.591545] Key type id_resolver registered > [ 0.591553] Key type id_legacy registered > [ 0.591612] ntfs: driver 2.1.32 [Flags: R/O]. > [ 0.593564] bounce: pool size: 64 pages > [ 0.593717] Block layer SCSI generic (bsg) driver version 0.4 loaded > (major 248) > [ 0.593732] io scheduler noop registered > [ 0.593746] io scheduler deadline registered > [ 0.593780] io scheduler cfq registered (default) > [ 0.598654] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size > 1128 > [ 0.601625] PCI host bridge /ocp/axi@0/pcie@51000000 ranges: > [ 0.601636] No bus range found for /ocp/axi@0/pcie@51000000, using [bus > 00-ff] > [ 0.601668] IO 0x20003000..0x20012fff -> 0x00000000 > [ 0.601689] MEM 0x20013000..0x2fffffff -> 0x20013000 > [ 0.631932] dra7-pcie 51000000.pcie: link is not up > [ 0.632106] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00 > [ 0.632119] pci_bus 0000:00: root bus resource [bus 00-ff] > [ 0.632129] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] > [ 0.632138] pci_bus 0000:00: root bus resource [mem > 0x20013000-0x2fffffff] > [ 0.632542] PCI: bus0: Fast back to back transfers disabled > [ 0.632660] PCI: bus1: Fast back to back transfers enabled > [ 0.632709] irq: no irq domain found for > /ocp/axi@0/pcie@51000000/interrupt-controller ! > [ 0.632741] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff] > [ 0.632755] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff] > [ 0.632767] pci 0000:00:00.0: PCI bridge to [bus 01] > [ 0.632988] pcieport 0000:00:00.0: Signaling PME through PCIe PME > interrupt > [ 0.693224] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled > [ 0.696629] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, > base_baud = 3000000) is a 8250 > [ 1.649220] console [ttyS2] enabled > [ 1.653879] [drm] Initialized drm 1.1.0 20060810 > [ 1.660416] OMAP DSS rev 6.1 > [ 1.664192] omapdss_dss 58000000.dss: bound 58001000.dispc (ops > dispc_component_ops) > [ 1.672660] omapdss_dss 58000000.dss: bound 58040000.encoder (ops > hdmi5_component_ops) > [ 1.688435] loop: module loaded > [ 1.694284] libphy: Fixed MDIO Bus: probed > [ 1.747686] davinci_mdio 48485000.mdio: davinci mdio revision 1.6 > [ 1.753811] davinci_mdio 48485000.mdio: detected phy mask fffffff9 > [ 1.764343] libphy: 48485000.mdio: probed > [ 1.768417] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, > driver Micrel KSZ9031 GiY > [ 1.778151] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, > driver Micrel KSZ9031 GiY > [ 1.788520] cpsw 48484000.ethernet: Detected MACID = 74:da:ea:08:81:32 > [ 1.795778] cpsw 48484000.ethernet: cpsw: Detected MACID = > 74:da:ea:08:81:33 > [ 1.804262] mousedev: PS/2 mouse device common for all mice > [ 1.810337] i2c /dev entries driver > [ 1.816446] gpio-fan gpio_fan: GPIO fan initialized > [ 1.822367] tmp102 0-0048: initialized > [ 1.828878] omap_hsmmc 4809c000.mmc: Got CD GPIO > [ 1.833741] omap_hsmmc 4809c000.mmc: no pinctrl state for default mode > [ 1.868126] omap_hsmmc 480b4000.mmc: no pinctrl state for default mode > [ 1.898974] ledtrig-cpu: registered to indicate activity on CPUs > [ 1.907035] davinci-mcasp 48468000.mcasp: ERRATA i868 workaround is > enabled > [ 1.915188] NET: Registered protocol family 10 > [ 1.920500] sit: IPv6 over IPv4 tunneling driver > [ 1.925678] NET: Registered protocol family 17 > [ 1.930403] Key type dns_resolver registered > [ 1.934773] omap_voltage_late_init: Voltage driver support not added > [ 1.941653] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm > [ 1.947879] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm > [ 1.954575] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm > [ 1.960829] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm > [ 1.969033] Power Management for TI OMAP4+ devices. > [ 1.974122] Registering SWP/SWPB emulation handler > [ 1.981036] dmm 4e000000.dmm: initialized all PAT entries > [ 1.989779] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > [ 1.996420] [drm] No driver support for vblank timestamp query. > [ 2.270006] [drm] Enabling DMM ywrap scrolling > [ 2.290813] Console: switching to colour frame buffer device 240x67 > [ 2.312360] omapdrm omapdrm.0: fb0: omapdrm frame buffer device > [ 2.348020] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0 > [ 2.354640] hctosys: unable to open rtc device (rtc0) > [ 2.371495] vdd_3v3: disabling > [ 2.374570] aic_dvdd_fixed: disabling > [ 2.378487] ldousb: disabling > [ 2.381760] pbias_mmc_omap5: disabling > [ 2.385724] ALSA device list: > [ 2.388723] No soundcards found. > [ 2.393055] Waiting for root device PARTUUID=78e8c3fb-02... > > > Log with beagleboard x15 u-boot > > > U-Boot SPL 2016.05-00541-gd74bd0c-dirty (Oct 20 2016 - 12:21:57) > DRA752-GP ES1.1 > Trying to boot from MMC1 > Expected Linux image is not found. Trying to start U-boot > > > U-Boot 2016.05-00541-gd74bd0c-dirty (Oct 20 2016 - 12:21:57 -0400) > > CPU : DRA752-GP ES1.1 > Board: BeagleBoard X15 REV B.10 > I2C: ready > DRAM: 2 GiB > MMC: 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: <ethaddr> not set. Validating first E-fuse MAC > cpsw > Press SPACE to abort autoboot in 2 seconds > usb_boot is currently disabled > scsi_boot is currently disabled > switch to partitions #0, OK > mmc0 is current device > Scanning mmc device 0 > Checking for: /uEnv.txt ... > Checking for: /boot/uEnv.txt ... > ** Invalid partition 2 ** > ** Invalid partition 3 ** > ** Invalid partition 4 ** > ** Invalid partition 5 ** > ** Invalid partition 6 ** > ** Invalid partition 7 ** > switch to partitions #0, OK > mmc1(part 0) is current device > > > The rest would be the boot on debian. I use the boards for a demo before I > get final hardware, I do not want to use debian. My demo requires good > weston support with the GPU which is not available with Debian. > I only have on partition one ext4 partition on the disk, not 7
This isn't a u-boot issue. The problem, the kernel isn't finding: [ 2.393055] Waiting for root device PARTUUID=78e8c3fb-02... For debian, i had no luck finding the actual breakage, as an early fix broke my am335'x, so i threw out the UUID/PARTUUID, by back-porting this patch to make sure eMMC always = 1 and microSD = 0.. https://github.com/RobertCNelson/ti-linux-kernel-dev/blob/ti-linux-4.4.y/patches/x15/fixes/0004-mmc-block-Use-the-mmc-host-device-index-as-the-mmcbl.patch commit: [x15: uuid is failing on eMMC, so we need eMMC=mmc1, microSD=mmc0] Then patch u-boot pass /dev/mmcblk1 or /dev/mmcblk0 Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYhFaaBDcCGQps2guVWZW9EVPmPPgv%2BX3NsXOAAb5oFWqQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
