Hi Robert, After some "research" of the bug I came across this bug post in one of your github repositories: https://github.com/RobertCNelson/armv7-multiplatform/issues/25 . As you stated you worked some time trying to figure out the error and there you have the proof ;). After reading all the messages I encountered with the last one, which suggest applying this patch https://github.com/balena-os/balena-beaglebone/blob/master/layers/meta-balena-beaglebone/recipes-kernel/linux/linux-beagleboard-4.14/0001-card-power-cycle.patch . I tried it and ... it worked perfectly! Of course I'm unable to explain why it fixes it, but I thought that maybe we can show this to someone you might know or maybe get in touch with the guys from Balena, in order to have a proper fix mainline. I feel that this is a big issue for those using the BeagleBoard-xM and trying to use the latest releases. I tried 3 different microSD cards and neither of them worked with the latest releases. I will attach two dmesg: the first one corresponds to the kernel without the patch and second one with it. If you think that more information is needed or want me to perform some type of debugging, just tell me! I'm willing to help to solve this issue in the best possible way.
Again, and knowing that I'm repeating myself, thank you for taking the time with this topic, von Bergen, Federico Without patch: ``` U-Boot SPL 2018.03-00001-g21a26066ea (May 21 2018 - 15:23:05 -0500) Trying to boot from MMC1 spl_load_image_fat_os: error reading image args, err - -2 U-Boot 2018.03-00001-g21a26066ea (May 21 2018 - 15:23:05 -0500), Build: jenkins-github_Bootloader-Builder-49 OMAP3630/3730-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 GHz Model: TI OMAP3 BeagleBoard OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 512 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0 Loading Environment from NAND... *** Warning - readenv() failed, using default environment Failed (-5) Beagle xM Rev C No EEPROM on expansion board No EEPROM on expansion board OMAP die ID: 037600029ff8000001578ca00f01d013 Net: usb_ether Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 Checking for: /uEnv.txt ... Checking for: /boot/uEnv.txt ... 290 bytes read in 32 ms (8.8 KiB/s) Loaded environment from /boot/uEnv.txt Checking if uname_r is set in /boot/uEnv.txt... Running uname_boot ... loading /boot/vmlinuz-5.4.47-armv7-x30 ... 10052096 bytes read in 907 ms (10.6 MiB/s) loading /boot/dtbs/5.4.47-armv7-x30/omap3-beagle-xm.dtb ... 94890 bytes read in 899 ms (102.5 KiB/s) debug: [console=ttyO2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet] ... debug: [bootz 0x82000000 - 0x88000000] ... ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 89fe5000, end 89fff2a9 ... OK Starting kernel ... [ 2.022827] tfp410-bridge encoder0: failed to parse powerdown gpio gpio 022827] tfp410-bridge encoder0: failed to parse powerdown[ 3.629943] mmc0: card never left busy state ``` Applying patch https://github.com/balena-os/balena-beaglebone/blob/master/layers/meta-balena-beaglebone/recipes-kernel/linux/linux-beagleboard-4.14/0001-card-power-cycle.patch : ``` U-Boot SPL 2018.03-00001-g21a26066ea (May 21 2018 - 15:23:05 -0500) Trying to boot from MMC1 spl_load_image_fat_os: error reading image args, err - -2 U-Boot 2018.03-00001-g21a26066ea (May 21 2018 - 15:23:05 -0500), Build: jenkins-github_Bootloader-Builder-49 OMAP3630/3730-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 GHz Model: TI OMAP3 BeagleBoard OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 512 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0 Loading Environment from NAND... *** Warning - readenv() failed, using default environment Failed (-5) Beagle xM Rev C No EEPROM on expansion board No EEPROM on expansion board OMAP die ID: 037600029ff8000001578ca00f01d013 Net: usb_ether Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 Checking for: /uEnv.txt ... Checking for: /boot/uEnv.txt ... 290 bytes read in 33 ms (7.8 KiB/s) Loaded environment from /boot/uEnv.txt Checking if uname_r is set in /boot/uEnv.txt... Running uname_boot ... loading /boot/vmlinuz-5.4.47-armv7-x30 ... 10052096 bytes read in 906 ms (10.6 MiB/s) loading /boot/dtbs/5.4.47-armv7-x30/omap3-beagle-xm.dtb ... 94890 bytes read in 361 ms (255.9 KiB/s) debug: [console=ttyO2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet] ... debug: [bootz 0x82000000 - 0x88000000] ... ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 89fe5000, end 89fff2a9 ... OK Starting kernel ... [ 2.016662] tfp410-bridge encoder0: failed to parse powerdown gpio Debian GNU/Linux 9 arm ttyS2 rcn-ee.net console Debian Image 2017-06-12 Support/FAQ: http://elinux.org/BeagleBoardDebian default username:password is [debian:temppwd] arm login: debian Password: Last login: Mon Jun 12 19:48:07 UTC 2017 on ttyS2 Linux arm 5.4.47-armv7-x30 #2 SMP PREEMPT Tue Jul 21 17:43:24 -03 2020 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. debian@arm:~$ dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.47-armv7-x30 (fvonbergen@fvonbergen) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #2 SMP PREEMPT Tue Jul 21 17:43:24 -03 2020 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: TI OMAP3 BeagleBoard xM [ 0.000000] Memory policy: Data cache writeback [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 48 MiB at 0x9c800000 [ 0.000000] On node 0 totalpages: 130560 [ 0.000000] Normal zone: 1148 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 130560 pages, LIFO batch:31 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] OMAP3630/DM3730 ES1.2 (l2cache iva sgx neon isp 192mhz_clk) [ 0.000000] percpu: Embedded 20 pages/cpu s52940 r8192 d20788 u81920 [ 0.000000] pcpu-alloc: s52940 r8192 d20788 u81920 alloc=20*4096 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129412 [ 0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 449456K/522240K available (10240K kernel code, 1351K rwdata, 4184K rodata, 1024K init, 366K bss, 23632K reserved, 49152K cma-reserved, 0K highmem) [ 0.000000] random: get_random_u32 called from __kmem_cache_create+0x2d/0x3d8 with crng_init=0 [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] ftrace: allocating 46506 entries in 91 pages [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 4.0) with 96 interrupts [ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz [ 0.000000] OMAP clockevent source: timer1 at 32768 Hz [ 0.000000] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns [ 0.000030] OMAP clocksource: 32k_counter at 32768 Hz [ 0.002288] Console: colour dummy device 80x30 [ 0.002319] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2' [ 0.002319] This ensures that you still see kernel messages. Please [ 0.002349] update your kernel commandline. [ 0.002380] Calibrating delay loop... 595.96 BogoMIPS (lpj=1191936) [ 0.027465] pid_max: default: 32768 minimum: 301 [ 0.027832] LSM: Security Framework initializing [ 0.027954] Yama: becoming mindful. [ 0.028137] AppArmor: AppArmor initialized [ 0.028137] TOMOYO Linux initialized [ 0.028259] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.028289] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.028411] *** VALIDATE tmpfs *** [ 0.029357] *** VALIDATE proc *** [ 0.029815] *** VALIDATE cgroup1 *** [ 0.029846] *** VALIDATE cgroup2 *** [ 0.029937] CPU: Testing write buffer coherency: ok [ 0.029998] CPU0: Spectre v2: using BPIALL workaround [ 0.030517] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.051544] Setting up static identity map for 0x80100000 - 0x80100054 [ 0.059448] rcu: Hierarchical SRCU implementation. [ 0.071716] EFI services will not be available. [ 0.079437] smp: Bringing up secondary CPUs ... [ 0.079467] smp: Brought up 1 node, 1 CPU [ 0.079467] SMP: Total of 1 processors activated (595.96 BogoMIPS). [ 0.079498] CPU: All CPU(s) started in SVC mode. [ 0.080352] devtmpfs: initialized [ 0.115814] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.116851] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.116882] futex hash table entries: 256 (order: 2, 16384 bytes, linear) [ 0.121124] xor: measuring software checksum speed [ 0.159362] arm4regs : 722.000 MB/sec [ 0.199340] 8regs : 647.000 MB/sec [ 0.239318] 32regs : 624.000 MB/sec [ 0.279296] neon : 1008.000 MB/sec [ 0.279296] xor: using function: neon (1008.000 MB/sec) [ 0.279327] pinctrl core: initialized pinctrl subsystem [ 0.280944] NET: Registered protocol family 16 [ 0.288360] DMA: preallocated 1024 KiB pool for atomic coherent allocations [ 0.326202] omap_hwmod: mcbsp2_sidetone using broken dt data from mcbsp [ 0.327362] omap_hwmod: mcbsp3_sidetone using broken dt data from mcbsp [ 0.409393] audit: initializing netlink subsys (disabled) [ 0.411010] cpuidle: using governor menu [ 0.411804] Reprogramming SDRC clock to 400000000 Hz [ 0.415313] audit: type=2000 audit(0.412:1): state=initialized audit_enabled=0 res=1 [ 0.419708] OMAP GPIO hardware version 2.5 [ 0.438476] omap-gpmc 6e000000.gpmc: GPMC revision 5.0 [ 0.438476] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 0.445892] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.448242] OMAP DMA hardware revision 5.0 [ 0.495483] raid6: using algorithm neonx8 gen() 0 MB/s [ 0.495483] raid6: .... xor() 0 MB/s, rmw enabled [ 0.495483] raid6: using neon recovery algorithm [ 0.511474] omap-dma-engine 48056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported) [ 0.519226] iommu: Default domain type: Translated [ 0.521179] omap-iommu 480bd400.mmu: 480bd400.mmu registered [ 0.521820] platform 480bc000.isp: Adding to iommu group 0 [ 0.524658] SCSI subsystem initialized [ 0.527313] libata version 3.00 loaded. [ 0.527770] usbcore: registered new interface driver usbfs [ 0.527832] usbcore: registered new interface driver hub [ 0.528015] usbcore: registered new device driver usb [ 0.531249] omap_i2c 48070000.i2c: bus 0 rev4.4 at 2600 kHz [ 0.532287] omap_i2c 48072000.i2c: bus 1 rev4.4 at 400 kHz [ 0.533172] omap_i2c 48060000.i2c: bus 2 rev4.4 at 100 kHz [ 0.533538] mc: Linux media interface: v0.10 [ 0.533599] videodev: Linux video capture interface: v2.00 [ 0.533782] pps_core: LinuxPPS API ver. 1 registered [ 0.533813] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giome...@linux.it> [ 0.533843] PTP clock support registered [ 0.534545] omap-mailbox 48094000.mailbox: omap mailbox rev 0x40 [ 0.540252] NetLabel: Initializing [ 0.540283] NetLabel: domain hash size = 128 [ 0.540283] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.540405] NetLabel: unlabeled traffic allowed by default [ 0.541595] clocksource: Switched to clocksource 32k_counter [ 1.017669] random: fast init done [ 1.887207] *** VALIDATE bpf *** [ 1.887664] VFS: Disk quotas dquot_6.6.0 [ 1.887817] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.888000] *** VALIDATE ramfs *** [ 1.889282] AppArmor: AppArmor Filesystem Enabled [ 1.906585] thermal_sys: Registered thermal governor 'fair_share' [ 1.906585] thermal_sys: Registered thermal governor 'bang_bang' [ 1.906585] thermal_sys: Registered thermal governor 'step_wise' [ 1.907562] NET: Registered protocol family 2 [ 1.908905] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 1.908935] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 1.908996] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 1.909088] TCP: Hash tables configured (established 4096 bind 4096) [ 1.909240] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 1.909271] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 1.909545] NET: Registered protocol family 1 [ 1.923706] RPC: Registered named UNIX socket transport module. [ 1.923706] RPC: Registered udp transport module. [ 1.923736] RPC: Registered tcp transport module. [ 1.923736] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.923736] NET: Registered protocol family 44 [ 1.928192] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 1.931671] Initialise system trusted keyrings [ 1.932067] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 1.944091] zbud: loaded [ 1.952514] NFS: Registering the id_resolver key type [ 1.952575] Key type id_resolver registered [ 1.952575] Key type id_legacy registered [ 1.952606] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.952972] fuse: init (API version 7.31) [ 1.953186] *** VALIDATE fuse *** [ 1.953186] *** VALIDATE fuse *** [ 1.961120] jitterentropy: Initialization failed with host not compliant with requirements: 2 [ 1.961120] Key type asymmetric registered [ 1.961151] Asymmetric key parser 'x509' registered [ 1.961212] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 1.965850] io scheduler mq-deadline registered [ 1.975891] pinctrl-single 48002030.pinmux: 284 pins, size 568 [ 1.976562] pinctrl-single 48002a00.pinmux: 46 pins, size 92 [ 1.977355] pinctrl-single 480025a0.pinmux: 46 pins, size 92 [ 1.988708] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled [ 1.992858] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a 8250 [ 1.994232] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a 8250 [ 1.995697] 49020000.serial: ttyS2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a 8250 [ 1.995880] printk: console [ttyS2] enabled [ 1.997344] 49042000.serial: ttyS3 at MMIO 0x49042000 (irq = 96, base_baud = 3000000) is a 8250 [ 2.002258] omapdss_dss 48050000.dss: 48050000.dss supply vdda_video not found, using dummy regulator [ 2.002471] omapdss_dss 48050000.dss: 48050000.dss supply vdds_dsi not found, using dummy regulator [ 2.016601] tfp410-bridge encoder0: Connector's ddc i2c bus found [ 2.016662] tfp410-bridge encoder0: failed to parse powerdown gpio [ 2.054199] twl 0-0048: PIH (irq 23) chaining IRQs 145..153 [ 2.054382] twl 0-0048: power (irq 150) chaining IRQs 153..160 [ 2.088531] twl4030_gpio twl4030-gpio: gpio (irq 145) chaining IRQs 161..178 [ 2.158264] twl4030_usb 48070000.i2c:twl@48:twl4030-usb: Initialized TWL4030 USB module [ 2.188079] libphy: Fixed MDIO Bus: probed [ 2.195770] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.195831] ehci-platform: EHCI generic platform driver [ 2.196319] ehci-mxc: Freescale On-Chip EHCI Host driver [ 2.196502] ehci-omap: OMAP-EHCI Host Controller driver [ 2.203033] usbcore: registered new interface driver uas [ 2.203124] usbcore: registered new interface driver usb-storage [ 2.203186] usbcore: registered new interface driver ums-alauda [ 2.203247] usbcore: registered new interface driver ums-cypress [ 2.203277] usbcore: registered new interface driver ums-datafab [ 2.203338] usbcore: registered new interface driver ums_eneub6250 [ 2.203399] usbcore: registered new interface driver ums-freecom [ 2.203430] usbcore: registered new interface driver ums-isd200 [ 2.203491] usbcore: registered new interface driver ums-jumpshot [ 2.203552] usbcore: registered new interface driver ums-karma [ 2.203582] usbcore: registered new interface driver ums-onetouch [ 2.203674] usbcore: registered new interface driver ums-realtek [ 2.203735] usbcore: registered new interface driver ums-sddr09 [ 2.203765] usbcore: registered new interface driver ums-sddr55 [ 2.203826] usbcore: registered new interface driver ums-usbat [ 2.205322] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver [ 2.205383] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1 [ 2.205932] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04 [ 2.205963] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.205963] usb usb1: Product: MUSB HDRC host driver [ 2.205963] usb usb1: Manufacturer: Linux 5.4.47-armv7-x30 musb-hcd [ 2.205993] usb usb1: SerialNumber: musb-hdrc.0.auto [ 2.206970] hub 1-0:1.0: USB hub found [ 2.207061] hub 1-0:1.0: 1 port detected [ 2.228302] twl_rtc 48070000.i2c:twl@48:rtc: Power up reset detected. [ 2.228454] twl_rtc 48070000.i2c:twl@48:rtc: Enabling TWL-RTC [ 2.232025] twl_rtc 48070000.i2c:twl@48:rtc: registered as rtc0 [ 2.233062] i2c /dev entries driver [ 2.238098] ti-soc-thermal 48002524.bandgap: This OMAP thermal sensor is unreliable. You've been warned [ 2.238128] ti-soc-thermal 48002524.bandgap: Non-trimmed BGAP, Temp not accurate [ 2.244720] sdhci: Secure Digital Host Controller Interface driver [ 2.244720] sdhci: Copyright(c) Pierre Ossman [ 2.296905] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.299774] ledtrig-cpu: registered to indicate activity on CPUs [ 2.301361] omap-aes 480c5000.aes: OMAP AES hw accel rev: 2.6 [ 2.301849] omap-aes 480c5000.aes: will run requests pump with realtime priority [ 2.304809] omap-sham 480c3000.sham: hw accel on OMAP rev 0.9 [ 2.311676] hidraw: raw HID events driver (C) Jiri Kosina [ 2.312072] usbcore: registered new interface driver usbhid [ 2.312072] usbhid: USB HID core driver [ 2.314514] drop_monitor: Initializing network drop monitor service [ 2.314636] wireguard: WireGuard 0.0.20191219 loaded. See www.wireguard.com for information. [ 2.314636] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld < ja...@zx2c4.com>. All Rights Reserved. [ 2.315643] NET: Registered protocol family 10 [ 2.328704] Segment Routing with IPv6 [ 2.328857] mip6: Mobile IPv6 [ 2.328857] NET: Registered protocol family 17 [ 2.333587] Key type dns_resolver registered [ 2.333587] mpls_gso: MPLS GSO support [ 2.334045] ThumbEE CPU extension supported. [ 2.334075] Registering SWP/SWPB emulation handler [ 2.334960] SmartReflex Class3 initialized [ 2.335693] registered taskstats version 1 [ 2.335693] Loading compiled-in X.509 certificates [ 2.335845] zswap: loaded using pool lzo/zbud [ 2.336425] Key type ._fscrypt registered [ 2.336425] Key type .fscrypt registered [ 2.342193] Btrfs loaded, crc32c=crc32c-generic [ 2.342346] AppArmor: AppArmor sha1 policy hashing enabled [ 2.384368] omapdss_dss 48050000.dss: 48050000.dss supply vdda_video not found, using dummy regulator [ 2.384552] omapdss_dss 48050000.dss: 48050000.dss supply vdds_dsi not found, using dummy regulator [ 2.386657] tfp410-bridge encoder0: Connector's ddc i2c bus found [ 2.479888] ehci-omap 48064800.ehci: EHCI Host Controller [ 2.480010] ehci-omap 48064800.ehci: new USB bus registered, assigned bus number 2 [ 2.481903] ehci-omap 48064800.ehci: irq 93, io mem 0x48064800 [ 2.497894] ehci-omap 48064800.ehci: USB 2.0 started, EHCI 1.00 [ 2.498840] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04 [ 2.498870] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.498901] usb usb2: Product: EHCI Host Controller [ 2.498931] usb usb2: Manufacturer: Linux 5.4.47-armv7-x30 ehci_hcd [ 2.498931] usb usb2: SerialNumber: 48064800.ehci [ 2.500793] hub 2-0:1.0: USB hub found [ 2.500976] hub 2-0:1.0: 3 ports detected [ 2.505065] omapdss_dss 48050000.dss: 48050000.dss supply vdda_video not found, using dummy regulator [ 2.505493] omapdss_dss 48050000.dss: 48050000.dss supply vdds_dsi not found, using dummy regulator [ 2.506469] DSS: OMAP DSS rev 2.0 [ 2.522125] input: gpio_keys as /devices/platform/gpio_keys/input/input0 [ 2.523162] twl_rtc 48070000.i2c:twl@48:rtc: setting system clock to 2000-01-01T00:00:00 UTC (946684800) [ 2.523834] smartreflex 480cb000.smartreflex: omap_sr_probe: SmartReflex driver initialized [ 2.524200] smartreflex 480c9000.smartreflex: omap_sr_probe: SmartReflex driver initialized [ 2.528259] Waiting for root device /dev/mmcblk0p2... [ 2.569274] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.569580] mmc0: new SD card at address aaaa [ 2.576202] mmcblk0: mmc0:aaaa SU02G 1.84 GiB [ 2.586212] mmcblk0: p1 p2 [ 2.637481] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 2.637817] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 2.656097] devtmpfs: mounted [ 2.672912] Freeing unused kernel memory: 1024K [ 2.678802] Checked W+X mappings: passed, no W+X pages found [ 2.678802] Run /sbin/init as init process [ 2.731811] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist. [ 2.838562] usb 2-2: new high-speed USB device number 2 using ehci-omap [ 2.995208] usb 2-2: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00 [ 2.995239] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.997039] hub 2-2:1.0: USB hub found [ 2.997283] hub 2-2:1.0: 5 ports detected [ 3.290191] usb 2-2.1: new high-speed USB device number 3 using ehci-omap [ 3.399383] usb 2-2.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00 [ 3.399414] usb 2-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 3.519836] systemd[1]: System time before build time, advancing clock. [ 3.653381] random: systemd: uninitialized urandom read (16 bytes read) [ 3.663208] random: systemd: uninitialized urandom read (16 bytes read) [ 3.711975] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 3.712951] systemd[1]: Detected architecture arm. [ 3.729400] systemd[1]: Set hostname to <arm>. [ 3.731170] usb 2-2.4: new high-speed USB device number 4 using ehci-omap [ 3.859252] usb 2-2.4: New USB device found, idVendor=0cf3, idProduct=9271, bcdDevice= 1.08 [ 3.859252] usb 2-2.4: New USB device strings: Mfr=16, Product=32, SerialNumber=48 [ 3.859283] usb 2-2.4: Product: USB2.0 WLAN [ 3.859283] usb 2-2.4: Manufacturer: ATHEROS [ 3.859283] usb 2-2.4: SerialNumber: 12345 [ 3.916870] random: systemd-cryptse: uninitialized urandom read (16 bytes read) [ 4.627655] systemd[1]: Listening on Journal Audit Socket. [ 4.628814] systemd[1]: Listening on Journal Socket. [ 4.631408] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 4.632049] systemd[1]: Listening on Syslog Socket. [ 4.632598] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 4.633178] systemd[1]: Listening on udev Control Socket. [ 4.635009] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 5.654357] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro [ 6.039154] systemd-journald[118]: Received request to flush runtime journal from PID 1 [ 33.758972] VAUX3: disabling [ 33.759979] VDAC: disabling [ 33.760925] VPLL2: disabling debian@arm:~$ ``` On Mon, Jul 20, 2020 at 1:31 PM Robert Nelson <robertcnel...@gmail.com> wrote: > On Mon, Jul 20, 2020 at 11:15 AM Federico von Bergen > <federicovonber...@gmail.com> wrote: > > > > Robert, > > > > That's a shame. I have a consisting ETIMEDOUT every time. I have found > in the sd driver the lines related to the error. I have spent some time > reading the commits, but I think that in order to trace the error a > debugging environment is the best choice. As I said previously I don't have > that much experience with embedded but I do know quite a bit of C > programming. I can spend some time debugging the driver to understand what > led to this situation. Can you lead me in building the environment for it. > I understand if you find this proposal too time consuming and prefer not > spend time on it. > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/mmc/core/sd_ops.c#n153 > > The build environment can be setup as shown on an x86 desktop: > > git clone -b v5.4.x https://github.com/RobertCNelson/armv7-multiplatform > cd ./armv7-multiplatform/ > ./build_kernel.sh > > Plug in your microSD and run: > > ./tools/install_kernel.sh > > to update the microSD card. > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/zncV8OO5qAc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > beagleboard+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/CAOCHtYgKvZQTwvGi_TT5PH8Q-_WQmAH1V3uVWj%3DFYNfDMhW0zw%40mail.gmail.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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CABzkyBAp%3DVFhb8fzZ1NxzgHwpeHhMKE0MYQR%2Bo9wGzGdSxmD8A%40mail.gmail.com.