Jump to content

emmc on sd slot


Kazymir

Recommended Posts

Hello, excuse in advance my English which is not my native language.

I am electronicien, so i am a Noob on Linux, i prefer the hardware.

I'm working on a "NanoPI NEO" and I would like to use an EMMC with an sd slot I drew. Because i kill 3 sd card last years.

So i do it, like this

H38c3518aeba642c5b0e1d94e22e54cb2t.jpg

i use the chip thgbmjg6c1lbail which is an emmc v5.1 8gO.

https://jlcpcb.com/partdetail/Kioxia-THGBMJG6C1LBAIL/C524518

 

 

This card works very well on my computer with ubuntu, or my RPI4 with raspbian, but impossible to use it with armbian as well on my nanopi neo or my nanopi M1.

 

as the log on my rpi4 with raspbian

    
pi@raspberrypi:~ $ dmesg | grep mmc
[    1.705326] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.705347] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.772023] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    1.831850] mmc1: new high speed SDIO card at address 0001
[    1.880942] mmc0: new DDR MMC card at address 0001
[    1.881954] mmcblk0: mmc0:0001 008GB0 7.28 GiB 
[    1.885195]  mmcblk0: p1 p2
[    1.885754] mmcblk0: mmc0:0001 008GB0 7.28 GiB
[    1.886297] mmcblk0boot0: mmc0:0001 008GB0 4.00 MiB 
[    1.888974] mmcblk0boot1: mmc0:0001 008GB0 4.00 MiB 
[    1.891241] mmcblk0rpmb: mmc0:0001 008GB0 4.00 MiB, chardev (242:0)
[    1.923025] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    4.296326] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
[    7.851474] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2

 

but with my nano-pi, we can see that the u-boot recognized this emmc (I use armbian 22.08.1 Bullseye with kernel linux 5.17.11-sunxi)

 

U-Boot 2021.10-armbian (Jun 22 2022 - 07:17:54 +0000) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyARM NanoPi NEO
DRAM:  512 MiB
MMC:   mmc@1c0f000: 0, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 0:1... In:    serial
Out:   serial
Err:   serial
Net:   phy interface0

Error: ethernet@1c30000 address not set.
No ethernet found.

starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
Bus usb@1c1d000: USB EHCI 1.00
Bus usb@1c1d400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
scanning bus usb@1c1d000 for devices... 1 USB Device(s) found
scanning bus usb@1c1d400 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
=> mmc info
Device: mmc@1c0f000
Manufacturer ID: 11
OEM: 100
Name: 008GB 
Bus Speed: 52000000
Mode: MMC High Speed (52MHz)
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 7.3 GiB
Bus Width: 4-bit
Erase Group Size: 512 KiB
HC WP Group Size: 4 MiB
User Capacity: 7.3 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 4 MiB ENH
Boot area 0 is not write protected
Boot area 1 is not write protected
=> 

 

but we would say that it blocks when writing to the emmc.

 

[    8.470442] sunxi-mmc 1c0f000.mmc: data error, sending stop command
[    9.423453] sched: RT throttling activated
[    9.475465] sunxi-mmc 1c0f000.mmc: send stop command failed

 

switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3964 bytes read in 2 ms (1.9 MiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
231 bytes read in 2 ms (112.3 KiB/s)
23183691 bytes read in 960 ms (23 MiB/s)
8394224 bytes read in 348 ms (23 MiB/s)
Found mainline kernel configuration
32492 bytes read in 8 ms (3.9 MiB/s)
504 bytes read in 5 ms (97.7 KiB/s)
Applying kernel provided DT overlay sun8i-h3-usbhost1.dtbo
504 bytes read in 4 ms (123 KiB/s)
Applying kernel provided DT overlay sun8i-h3-usbhost2.dtbo
4185 bytes read in 4 ms (1021.5 KiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 45000000
Kernel image @ 0x42000000 [ 0x000000 - 0x8015f0 ]
## Loading init Ramdisk from Legacy Image at 43400000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    23183627 Bytes = 22.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
   Loading Ramdisk to 489e3000, end 49fff10b ... OK
   Loading Device Tree to 48972000, end 489e2fff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.17.11-sunxi (root@1cb3926c6d47) (arm-linux-gnueabihf-gcc (GNU Toolchain f2
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: FriendlyARM NanoPi NEO
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 104 MiB at 0x59400000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 16 pages/cpu s36812 r8192 d20532 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: root=UUID=e2fd2840-e65e-4df1-bbb5-1cd3ab3be8ad rootwait rootfstype=e1
[    0.000000] Unknown kernel command line parameters "ubootpart=f7f5b488-01 ubootsource=mmc sunxi_ve_me.
[    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:on, heap free:off
[    0.000000] Memory: 373348K/524288K available (9216K kernel code, 1495K rwdata, 3396K rodata, 1024K i)
[    0.000000] random: get_random_u32 called from __kmem_cache_create+0x1b/0x2c0 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 44496 entries in 131 pages
[    0.000000] ftrace: allocated 131 pages with 3 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of 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=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns
[    0.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000038] Switching to timer-based delay loop, resolution 41ns
[    0.000531] Console: colour dummy device 80x30
[    0.000650] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS)
[    0.000687] pid_max: default: 32768 minimum: 301
[    0.001040] LSM: Security Framework initializing
[    0.001166] Yama: becoming mindful.
[    0.001467] AppArmor: AppArmor initialized
[    0.001682] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001720] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003684] CPU: Testing write buffer coherency: ok
[    0.004505] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005645] cblist_init_generic: Setting adjustable number of callback queues.
[    0.005679] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.005852] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.006063] Setting up static identity map for 0x40100000 - 0x40100054
[    0.006310] rcu: Hierarchical SRCU implementation.
[    0.008646] smp: Bringing up secondary CPUs ...
[    0.020021] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.031605] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.043017] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.043193] smp: Brought up 1 node, 4 CPUs
[    0.043252] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.043275] CPU: All CPU(s) started in HYP mode.
[    0.043288] CPU: Virtualization extensions available.
[    0.044217] allocated 524288 bytes of page_ext
[    0.045309] devtmpfs: initialized
[    0.060336] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.060764] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100s
[    0.060866] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.069781] pinctrl core: initialized pinctrl subsystem
[    0.072078] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.079152] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.080419] audit: initializing netlink subsys (disabled)
[    0.080797] audit: type=2000 audit(0.056:1): state=initialized audit_enabled=0 res=1
[    0.081681] thermal_sys: Registered thermal governor 'fair_share'
[    0.081699] thermal_sys: Registered thermal governor 'bang_bang'
[    0.081720] thermal_sys: Registered thermal governor 'step_wise'
[    0.082531] cpuidle: using governor ladder
[    0.082607] cpuidle: using governor menu
[    0.083748] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.083780] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.094352] platform 1c0c000.lcd-controller: Fixing up cyclic dependency with 1100000.mixer
[    0.138027] cryptd: max_cpu_qlen set to 1000
[    0.208046] raid6: neonx8   gen()   370 MB/s
[    0.276322] raid6: neonx4   gen()   391 MB/s
[    0.344543] raid6: neonx2   gen()   435 MB/s
[    0.412836] raid6: neonx1   gen()   388 MB/s
[    0.481195] raid6: int32x8  gen()   144 MB/s
[    0.549303] raid6: int32x4  gen()   168 MB/s
[    0.617558] raid6: int32x2  gen()   190 MB/s
[    0.685862] raid6: int32x1  gen()   191 MB/s
[    0.685883] raid6: using algorithm neonx2 gen() 435 MB/s
[    0.754054] raid6: .... xor() 311 MB/s, rmw enabled
[    0.754074] raid6: using neon recovery algorithm
[    0.756675] iommu: Default domain type: Translated 
[    0.756703] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.757358] SCSI subsystem initialized
[    0.758282] usbcore: registered new interface driver usbfs
[    0.758388] usbcore: registered new interface driver hub
[    0.758476] usbcore: registered new device driver usb
[    0.758667] mc: Linux media interface: v0.10
[    0.758737] videodev: Linux video capture interface: v2.00
[    0.758982] pps_core: LinuxPPS API ver. 1 registered
[    0.759001] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.759046] PTP clock support registered
[    0.759986] Advanced Linux Sound Architecture Driver Initialized.
[    0.761595] NetLabel: Initializing
[    0.761621] NetLabel:  domain hash size = 128
[    0.761637] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.761817] NetLabel:  unlabeled traffic allowed by default
[    0.763495] clocksource: Switched to clocksource arch_sys_counter
[    0.834969] VFS: Disk quotas dquot_6.6.0
[    0.835166] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.836383] AppArmor: AppArmor Filesystem Enabled
[    1.057554] NET: Registered PF_INET protocol family
[    1.057896] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.059615] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.059921] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.060049] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.060187] TCP: Hash tables configured (established 4096 bind 4096)
[    1.060424] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.060497] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.060879] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.061564] Trying to unpack rootfs image as initramfs...
[    1.064148] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    1.066526] Initialise system trusted keyrings
[    1.066661] Key type blacklist registered
[    1.067073] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    1.079341] zbud: loaded
[    1.083290] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.085485] fuse: init (API version 7.36)
[    1.095167] integrity: Platform Keyring initialized
[    1.316216] xor: measuring software checksum speed
[    1.332239]    arm4regs        :   617 MB/sec
[    1.355288]    8regs           :   428 MB/sec
[    1.379727]    32regs          :   403 MB/sec
[    1.395503]    neon            :   626 MB/sec
[    1.395533] xor: using function: neon (626 MB/sec)
[    1.395568] Key type asymmetric registered
[    1.395588] Asymmetric key parser 'x509' registered
[    4.347069] Freeing initrd memory: 22644K
[    4.388727] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[    4.389205] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    4.389525] io scheduler mq-deadline registered
[    4.389555] io scheduler kyber registered
[    4.390045] io scheduler bfq registered
[    4.414902] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    4.421338] misc dump reg init
[    4.435222] brd: module loaded
[    4.444830] loop: module loaded
[    4.449716] dwmac-sun8i 1c30000.ethernet: IRQ eth_wake_irq not found
[    4.449759] dwmac-sun8i 1c30000.ethernet: IRQ eth_lpi not found
[    4.449911] dwmac-sun8i 1c30000.ethernet: supply phy not found, using dummy regulator
[    4.450208] dwmac-sun8i 1c30000.ethernet: supply phy-io not found, using dummy regulator
[    4.450565] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    4.450640] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 5800)
[    4.451261] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    4.451298] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    4.451319] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    4.451341] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    4.451363] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    4.451383] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    4.451420] dwmac-sun8i 1c30000.ethernet: device MAC address 62:23:d4:40:79:45
[    4.454525] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[    4.455681] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[    4.455759] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[    4.480097] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.480198] ehci-platform: EHCI generic platform driver
[    4.480618] ehci-platform 1c1a000.usb: EHCI Host Controller
[    4.480683] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    4.482025] ehci-platform 1c1a000.usb: irq 36, io mem 0x01c1a000
[    4.495522] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    4.496235] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.17
[    4.496275] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.496302] usb usb1: Product: EHCI Host Controller
[    4.496324] usb usb1: Manufacturer: Linux 5.17.11-sunxi ehci_hcd
[    4.496347] usb usb1: SerialNumber: 1c1a000.usb
[    4.497468] hub 1-0:1.0: USB hub found
[    4.497617] hub 1-0:1.0: 1 port detected
[    4.498800] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.498851] ohci-platform: OHCI generic platform driver
[    4.499246] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    4.499304] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    4.499842] ohci-platform 1c1a400.usb: irq 37, io mem 0x01c1a400
[    4.563990] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.17
[    4.564029] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.564056] usb usb2: Product: Generic Platform OHCI controller
[    4.564078] usb usb2: Manufacturer: Linux 5.17.11-sunxi ohci_hcd
[    4.564101] usb usb2: SerialNumber: 1c1a400.usb
[    4.565131] hub 2-0:1.0: USB hub found
[    4.565242] hub 2-0:1.0: 1 port detected
[    4.567270] usbcore: registered new interface driver usb-storage
[    4.569419] sun6i-rtc 1f00000.rtc: registered as rtc0
[    4.569485] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01T00:00:13 UTC (13)
[    4.569754] sun6i-rtc 1f00000.rtc: RTC enabled
[    4.570366] i2c_dev: i2c /dev entries driver
[    4.573219] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    4.575945] ledtrig-cpu: registered to indicate activity on CPUs
[    4.576848] sun8i-ce 1c15000.crypto: Set mod clock to 50000000 (50 Mhz) from 24000000 (24 Mhz)
[    4.577354] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[    4.577994] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[    4.578419] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[    4.578811] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[    4.579140] sun8i-ce 1c15000.crypto: Register cbc(aes)
[    4.579258] sun8i-ce 1c15000.crypto: Register ecb(aes)
[    4.579328] sun8i-ce 1c15000.crypto: Register cbc(des3_ede)
[    4.579369] sun8i-ce 1c15000.crypto: Register ecb(des3_ede)
[    4.579409] sun8i-ce 1c15000.crypto: Register md5
[    4.579502] sun8i-ce 1c15000.crypto: Register sha1
[    4.579549] sun8i-ce 1c15000.crypto: Register sha224
[    4.579590] sun8i-ce 1c15000.crypto: Register sha256
[    4.579630] sun8i-ce 1c15000.crypto: Register sha384
[    4.579670] sun8i-ce 1c15000.crypto: Register sha512
[    4.579710] sun8i-ce 1c15000.crypto: Register stdrng
[    4.579779] sun8i-ce 1c15000.crypto: TRNG not supported
[    4.579801] sun8i-ce 1c15000.crypto: CryptoEngine Die ID 1
[    4.580555] hid: raw HID events driver (C) Jiri Kosina
[    4.580843] usbcore: registered new interface driver usbhid
[    4.580867] usbhid: USB HID core driver
[    4.589251] Initializing XFRM netlink socket
[    4.590258] NET: Registered PF_INET6 protocol family
[    4.633029] Segment Routing with IPv6
[    4.633186] In-situ OAM (IOAM) with IPv6
[    4.633432] NET: Registered PF_PACKET protocol family
[    4.633503] NET: Registered PF_KEY protocol family
[    4.633650] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scr.
[    4.633901] 8021q: 802.1Q VLAN Support v1.8
[    4.634021] Key type dns_resolver registered
[    4.634934] Registering SWP/SWPB emulation handler
[    4.636341] registered taskstats version 1
[    4.636385] Loading compiled-in X.509 certificates
[    4.650808] Loaded X.509 cert 'Build time autogenerated kernel key: e62f9518e6442c2de07beea3ec409f9b0'
[    4.658787] zswap: loaded using pool zstd/z3fold
[    4.660130] Key type ._fscrypt registered
[    4.660169] Key type .fscrypt registered
[    4.660184] Key type fscrypt-provisioning registered
[    4.669839] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=yes
[    4.710303] Key type encrypted registered
[    4.710381] AppArmor: AppArmor sha1 policy hashing enabled
[    4.749871] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    4.753318] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    4.753959] sun8i-h3-pinctrl 1c20800.pinctrl: supply vcc-pa not found, using dummy regulator
[    4.755072] printk: console [ttyS0] disabled
[    4.755257] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 49, base_baud = 1500000) is a 16550A
[    6.230025] printk: console [ttyS0] enabled
[    6.241469] sun8i-h3-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[    6.241615] sun8i-h3-r-pinctrl 1f02c00.pinctrl: supply vcc-pl not found, using dummy regulator
[    6.242366] sun8i-h3-pinctrl 1c20800.pinctrl: supply vcc-pc not found, using dummy regulator
[    6.268088] leds-gpio: probe of leds failed with error -16
[    6.275339] sun8i-h3-r-pinctrl 1f02c00.pinctrl: supply vcc-pl not found, using dummy regulator
[    6.279749] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    6.285295] sun8i-h3-pinctrl 1c20800.pinctrl: supply vcc-pg not found, using dummy regulator
[    6.299970] ehci-platform 1c1b000.usb: EHCI Host Controller
[    6.300185] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[    6.305640] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    6.314011] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    6.325320] sunxi-mmc 1c11000.mmc: no support for card's volts
[    6.333172] mmc2: error -22 whilst initialising SDIO card
[    6.339043] ehci-platform 1c1b000.usb: irq 38, io mem 0x01c1b000
[    6.359504] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    6.366291] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.17
[    6.374609] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.381882] usb usb3: Product: EHCI Host Controller
[    6.386794] usb usb3: Manufacturer: Linux 5.17.11-sunxi ehci_hcd
[    6.392853] usb usb3: SerialNumber: 1c1b000.usb
[    6.398519] hub 3-0:1.0: USB hub found
[    6.402413] hub 3-0:1.0: 1 port detected
[    6.408543] ehci-platform 1c1c000.usb: EHCI Host Controller
[    6.414218] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    6.422686] ehci-platform 1c1c000.usb: irq 40, io mem 0x01c1c000
[    6.443518] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    6.450293] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.17
[    6.458624] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.465885] usb usb4: Product: EHCI Host Controller
[    6.470796] usb usb4: Manufacturer: Linux 5.17.11-sunxi ehci_hcd
[    6.476833] usb usb4: SerialNumber: 1c1c000.usb
[    6.482446] hub 4-0:1.0: USB hub found
[    6.486334] hub 4-0:1.0: 1 port detected
[    6.492356] ehci-platform 1c1d000.usb: EHCI Host Controller
[    6.498017] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    6.506534] ehci-platform 1c1d000.usb: irq 42, io mem 0x01c1d000
[    6.516636] mmc0: new DDR MMC card at address 0001
[    6.524244] mmcblk0: mmc0:0001 008GB0 7.28 GiB 
[    6.527591] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    6.535325]  mmcblk0: p1
[    6.535839] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.17
[    6.540462] mmcblk0boot0: mmc0:0001 008GB0 4.00 MiB 
[    6.546236] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.557425] mmcblk0boot1: mmc0:0001 008GB0 4.00 MiB 
[    6.558466] usb usb5: Product: EHCI Host Controller
[    6.568361] usb usb5: Manufacturer: Linux 5.17.11-sunxi ehci_hcd
[    6.574417] usb usb5: SerialNumber: 1c1d000.usb
[    6.580256] hub 5-0:1.0: USB hub found
[    6.584180] hub 5-0:1.0: 1 port detected
[    6.590420] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    6.597145] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    6.605518] ohci-platform 1c1b400.usb: irq 39, io mem 0x01c1b400
[    6.676034] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.17
[    6.684360] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.691617] usb usb6: Product: Generic Platform OHCI controller
[    6.697567] usb usb6: Manufacturer: Linux 5.17.11-sunxi ohci_hcd
[    6.703603] usb usb6: SerialNumber: 1c1b400.usb
[    6.709242] hub 6-0:1.0: USB hub found
[    6.713133] hub 6-0:1.0: 1 port detected
[    6.719206] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    6.725959] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    6.734312] ohci-platform 1c1c400.usb: irq 41, io mem 0x01c1c400
[    6.803992] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.17
[    6.812319] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.819579] usb usb7: Product: Generic Platform OHCI controller
[    6.825530] usb usb7: Manufacturer: Linux 5.17.11-sunxi ohci_hcd
[    6.831567] usb usb7: SerialNumber: 1c1c400.usb
[    6.837178] hub 7-0:1.0: USB hub found
[    6.841097] hub 7-0:1.0: 1 port detected
[    6.847031] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    6.853781] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    6.862204] ohci-platform 1c1d400.usb: irq 43, io mem 0x01c1d400
[    6.932003] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.17
[    6.940326] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.947597] usb usb8: Product: Generic Platform OHCI controller
[    6.953548] usb usb8: Manufacturer: Linux 5.17.11-sunxi ohci_hcd
[    6.959585] usb usb8: SerialNumber: 1c1d400.usb
[    6.965257] hub 8-0:1.0: USB hub found
[    6.969142] hub 8-0:1.0: 1 port detected
[    6.974792] of_cfs_init
[    6.977627] of_cfs_init: OK
[    6.980757] ALSA device list:
[    6.983784]   No soundcards found.
[    6.996882] Freeing unused kernel image (initmem) memory: 1024K
[    7.011971] Run /init as init process
Loading, please wait...
Starting version 247.3-7
[    7.279556] usb 8-1: new full-speed USB device number 2 using ohci-platform
[    7.526606] usb 8-1: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[    7.535064] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.542267] usb 8-1: Product: EnOcean USB 300 DB
[    7.546932] usb 8-1: Manufacturer: EnOcean GmbH
[    7.551497] usb 8-1: SerialNumber: FT2LNY6B
[    7.980640] random: fast init done
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 
armbian_root: recovering journal
[    8.470442] sunxi-mmc 1c0f000.mmc: data error, sending stop command
[    9.423453] sched: RT throttling activated
[    9.475465] sunxi-mmc 1c0f000.mmc: send stop command failed
[   37.879518] vcc3v0: disabling
[   37.882552] vcc5v0: disabling

 and it's stop

 

I know I did a novel. A big thank you in advance for your help, I've been obsessed with this problem for a month.

 

Thanks a lot

Best regard

Link to comment
Share on other sites

and just for information

with U-Boot i can read and write inside the emmc

=> mmc write 0 0 100

MMC write: dev # 0, block # 0, count 256 ... 256 blocks written: OK
=> mmc read 0 0 100

MMC read: dev # 0, block # 0, count 256 ... 256 blocks read: OK

so i don't understand what's happen, the driver inside the Kernel?

 

Best Regards

Link to comment
Share on other sites

Hello if it can help 

I read somethings on other site

but i don't know how i can do it

 

https://www.spinics.net/lists/linux-omap/msg162064.html
who talk about "mmc: core: adjust polling interval for CMD1 "


or blocking the clock so as not to rise above 50MHz as the RPI with raspbian


or " Specifics of using a processor which stops the clock after CMD0"
https://community.silabs.com/s/article/linux-sdio-detection?language=en_US

 

but this is beyond my skills

 

if a linuxian in the corner who knows how can i modify de driver and recompile the kernel

22879692e72fefd5137f1bbcf3be7f73790de594

best regards

Edited by Kazymir
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines