Jump to content

Recommended Posts

Posted
Armbianmonitor:

No matter which image I take (stretch/bionic; Bananapim2/Bananapim2ultra; 5.38/5.69) my Banana Pi M2 Berry with it's Allwinner V40 won't boot correctly. The attached screen stays off and the LED keeps shining red. I used Etcher 1.4.9 portable to copy the image to an 16 GB MicroSD.

 

It's worth mentioning that the Pi and the MicroSD work just fine if I'm running it with another distro, like the 2018-05-24-raspbian-jessie-preview-bpi-m2u-sd-emmc.img from the official website.

 

If I'm using the image Armbian_5.69_Bananapim2ultra_Debian_stretch_next_4.19.13, then I'm able to access the Pi via ssh. Yet, the screen won't work at all. As an interesting side effect, the Wifi of my notebook can't connect whenever I start my Pi with that image.. I guess the Wifi module of the Pi might jam the radio somehow. The armbianmonitor output comes from this image.

 

The image Armbian_5.69_Bananapim2_Debian_stretch_next_4.19.13 doesn't seem to do anything at all. It should actually work better, because the M2 Ultra has another SoC than the M2 berry.

 

What could I do to run it finely? Is the M2 Berry not supported yet?

Posted
56 minutes ago, Mario Schmidt said:

Is the M2 Berry not supported yet? 

nope.. it's csc only.. means no 'official support'

 

 

Posted
6 hours ago, Mario Schmidt said:

Sounds promising. Is 4.20 stable enough to give it a try? Where can I get it?

 

@Mario Schmidt Dont give up ;)
The actual 4.20.6 image for the M2 Ultra does boot fine on the M2 Berry and HDMI/WiFi is working (tested console-server).
But it isnt directly downloadable at this time - you have to compile the image with the armbian-build-system:
https://docs.armbian.com/Developer-Guide_Build-Preparation/

 

A  small virtual (or real) Ubuntu-18.04-x64-Mini-Server and some commands and you are up and running for compiling the DEV-image with 4.20.6

 

login as: root
root@192.168.6.20's password:
 ____  ____  _   __  __ ____    ____
| __ )|  _ \(_) |  \/  |___ \  | __ )  ___ _ __ _ __ _   _
|  _ \| |_) | | | |\/| | __) | |  _ \ / _ \ '__| '__| | | |
| |_) |  __/| | | |  | |/ __/  | |_) |  __/ |  | |  | |_| |
|____/|_|   |_| |_|  |_|_____| |____/ \___|_|  |_|   \__, |
                                                     |___/

Welcome to ARMBIAN 5.74 user-built Debian GNU/Linux 9 (stretch) 4.20.6-sunxi
System load:   0.02 0.17 0.09   Up time:       4 min
Memory usage:  6 % of 1000MB    IP:            192.168.6.20
Usage of /:    7% of 15G

[ General system configuration (beta): armbian-config ]

Last login: Mon Feb  4 20:49:08 2019

root@bpi-m2-berry(192.168.6.20):~# uname -a
Linux bpi-m2-berry 4.20.6-sunxi #5.74 SMP Mon Feb 4 16:30:46 +03 2019 armv7l GNU/Linux


root@bpi-m2-berry(192.168.6.20):~# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.6.20  netmask 255.255.255.0  broadcast 192.168.6.255
        inet6 fe80::53:bcff:fe93:a802  prefixlen 64  scopeid 0x20<link>
        ether 02:53:bc:93:a8:02  txqueuelen 1000  (Ethernet)
        RX packets 1337  bytes 111725 (109.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 893  bytes 162240 (158.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 34

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.6.28  netmask 255.255.255.0  broadcast 192.168.6.255
        inet6 fe80::b2f1:ecff:fe21:703e  prefixlen 64  scopeid 0x20<link>
        ether b0:f1:ec:21:70:3e  txqueuelen 1000  (Ethernet)
        RX packets 2  bytes 276 (276.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1276 (1.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        
top - 21:10:37 up 22 min,  3 users,  load average: 0.07, 0.04, 0.03
Tasks: 110 total,   1 running,  60 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.1 us,  0.2 sy,  0.0 ni, 99.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  1024580 total,   838916 free,    73200 used,   112464 buff/cache
KiB Swap:   512288 total,   512288 free,        0 used.   922740 avail Mem        

Here in this screenshots you will see the M2 Ultra image with some of my optical configurations - so for me its look better at the M2 Berry ;)

M2_Berry_HDMI.jpg

M2_Berry_puTTY.jpg

Posted

Hi, Mario:

 

I have a BPI M2U, but it is always stick with a red led once i try to boot with an SD Card running any Armbian image (including the one that you shared -> Armbian_5.74_Bananapim2ultra_Debian_stretch_dev_4.20.6). The board power red led truns on and the board don't get any IP address on ethernet port (so, no SSH).

 

The only way that the board boots is using any original image from BPI (http://wiki.banana-pi.org/Banana_Pi_BPI-M2U#Image_Release), wit kernel 3.10.

 

Any ideas? what can i do to booth with an Armbian image? is it something with the u-boot? how can i update the u-boot with an original BBPI image to them boot with Armbian?

 

Regards,

 

Mauricio Florez M.

 

 

Posted
1 hour ago, mflorezm said:

Any ideas? what can i do to booth with an Armbian image?

I've my BananaPiM2Ultra running fine with 5.3.0-rc3-sunxi image built myself few weeks ago ...

 

Posted

Hi Martinayotte:

 

I followed your advice from another topic and used the Serial Debug output with a USB-TTL Serial dongle. This is my output:

 

[00]
U-Boot SPL 2019.04-armbian (Sep 01 2019 - 09:49:42 +0200)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2019.04-armbian (Sep 01 2019 - 09:49:42 +0200) Allwinner Technology

CPU:   Allwinner R40 (SUN8I 1701)
Model: Banana Pi BPI-M2-Ultra
I2C:   ready
DRAM:  2 GiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from EXT4... ** File not found /boot/boot.env **

** Unable to read "/boot/boot.env" from mmc0:1 **
In:    serial@1c28000
Out:   serial@1c28000
Err:   serial@1c28000
SCSI:  SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst 

Net:   phy interface7
eth0: ethernet@1c50000
starting USB...
No controllers found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3798 bytes read in 22 ms (168 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
152 bytes read in 19 ms (7.8 KiB/s)
6049186 bytes read in 320 ms (18 MiB/s)
7682096 bytes read in 402 ms (18.2 MiB/s)
Found mainline kernel configuration
25950 bytes read in 85 ms (297.9 KiB/s)
4155 bytes read in 83 ms (48.8 KiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 44000000
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6049122 Bytes = 5.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Loading Ramdisk to 49a3b000, end 49fffd62 ... OK
   Loading Device Tree to 499cc000, end 49a3afff ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

 

So, as you can see the board is stick while booting the kernel. Any ideas to solve this problem?

 

By the way, this is R40 BPI M2U.

 

Regards,

 

Mauricio F.

 

 

 

 

 

 

 

Posted
18 hours ago, mflorezm said:

Any ideas? what can i do to booth with an Armbian image? is it something with the u-boot? how can i update the u-boot with an original BBPI image to them boot with Armbian?

as you did see in the TTL-log armbian does bring its own u-boot and the u-boot does boot, but there are no cpu-frequencys and no temperatures available :(

 

I compiled with the armbian-build-system the Image for the BPi M2 Ultra and it does boot fine on my BPi M2 Berry:

 ____  ____  _   __  __ ____  _   _
| __ )|  _ \(_) |  \/  |___ \| | | |
|  _ \| |_) | | | |\/| | __) | | | |
| |_) |  __/| | | |  | |/ __/| |_| |
|____/|_|   |_| |_|  |_|_____|\___/

Welcome to Debian Buster with Armbian Linux 5.3.0-rc6-sunxi
System load:   1.27 0.56 0.21   Up time:       1 min
Memory usage:  9 % of 997MB     IP:            192.168.6.150
Usage of /:    7% of 15G

 

Posted
16 hours ago, mflorezm said:

used the Serial Debug output with a USB-TTL Serial dongle.

Please, change /boot/armbianEnv.txt to have "verbosity=7" and "console=serial", you will then get more details after kernel been uncompressed ...

Posted

Hi again martinayotte:

 

I followed your advice, and booted with "verbosity=7" and "console=serial", below it is the output:

 

the good news is that it does start loading the kernel but the bad news is it stops at [    7.003054] mmc2: new high speed SDIO card at address 0001

______________________________________________________________________________
U-Boot SPL 2019.04-armbian (Sep 01 2019 - 09:49:42 +0200)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2019.04-armbian (Sep 01 2019 - 09:49:42 +0200) Allwinner Technology

CPU:   Allwinner R40 (SUN8I 1701)
Model: Banana Pi BPI-M2-Ultra
I2C:   ready
DRAM:  2 GiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from EXT4... ** File not found /boot/boot.env **

** Unable to read "/boot/boot.env" from mmc0:1 **
In:    serial@1c28000
Out:   serial@1c28000
Err:   serial@1c28000
SCSI:  SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst 

Net:   phy interface7
eth0: ethernet@1c50000
starting USB...
No controllers found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3798 bytes read in 20 ms (184.6 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
203 bytes read in 16 ms (11.7 KiB/s)
6049186 bytes read in 317 ms (18.2 MiB/s)
7682096 bytes read in 397 ms (18.5 MiB/s)
Found mainline kernel configuration
25950 bytes read in 85 ms (297.9 KiB/s)
4155 bytes read in 92 ms (43.9 KiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 44000000
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6049122 Bytes = 5.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Loading Ramdisk to 49a3b000, end 49fffd62 ... OK
   Loading Device Tree to 499cc000, end 49a3afff ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.3.0-rc3-sunxi (root@builder) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #5.95.190901 SMP Sun Sep 1 09:10:50 CEST 2019
[    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: Banana Pi BPI-M2-Ultra
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 128 MiB at 0x68000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 21 pages/cpu s53772 r8192 d24052 u86016
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522560
[    0.000000] Kernel command line: root=UUID=7c7fc752-8744-4694-ada3-13442c1070b1 rootwait rootfstype=ext4 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=7 ubootpart=b014be6d-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] allocated 2097152 bytes of page_ext
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1922044K/2097152K available (9216K kernel code, 1040K rwdata, 2768K rodata, 1024K init, 323K bss, 44036K reserved, 131072K cma-reserved, 1310708K highmem)
[    0.000000] random: get_random_u32 called from __kmem_cache_create+0x2b/0x390 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 40170 entries in 79 pages
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    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: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set
[    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: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000017] Switching to timer-based delay loop, resolution 41ns
[    0.000181] Console: colour dummy device 80x30
[    0.000228] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000240] pid_max: default: 32768 minimum: 301
[    0.000495] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000509] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001197] *** VALIDATE proc ***
[    0.001468] *** VALIDATE cgroup1 ***
[    0.001480] *** VALIDATE cgroup2 ***
[    0.001540] CPU: Testing write buffer coherency: ok
[    0.001897] /cpus/cpu@0 missing clock-frequency property
[    0.001915] /cpus/cpu@1 missing clock-frequency property
[    0.001930] /cpus/cpu@2 missing clock-frequency property
[    0.001946] /cpus/cpu@3 missing clock-frequency property
[    0.001956] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002466] Setting up static identity map for 0x40100000 - 0x40100054
[    0.002578] rcu: Hierarchical SRCU implementation.
[    0.003079] smp: Bringing up secondary CPUs ...
[    0.013801] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024602] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035330] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035423] smp: Brought up 1 node, 4 CPUs
[    0.035441] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035446] CPU: All CPU(s) started in HYP mode.
[    0.035451] CPU: Virtualization extensions available.
[    0.036738] devtmpfs: initialized
[    0.042672] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.042883] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.042904] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.047596] xor: measuring software checksum speed
[    0.087251]    arm4regs  :  1255.000 MB/sec
[    0.127304]    8regs     :   748.000 MB/sec
[    0.167360]    32regs    :   766.000 MB/sec
[    0.207415]    neon      :  1270.000 MB/sec
[    0.207422] xor: using function: neon (1270.000 MB/sec)
[    0.207490] pinctrl core: initialized pinctrl subsystem
[    0.208564] NET: Registered protocol family 16
[    0.210226] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.210782] audit: initializing netlink subsys (disabled)
[    0.210971] audit: type=2000 audit(0.184:1): state=initialized audit_enabled=0 res=1
[    0.211399] cpuidle: using governor ladder
[    0.211500] cpuidle: using governor menu
[    0.212035] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.212043] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.303727] raid6: neonx8   gen()   714 MB/s
[    0.371780] raid6: neonx8   xor()   595 MB/s
[    0.439823] raid6: neonx4   gen()   797 MB/s
[    0.507914] raid6: neonx4   xor()   644 MB/s
[    0.576051] raid6: neonx2   gen()   664 MB/s
[    0.644067] raid6: neonx2   xor()   594 MB/s
[    0.712235] raid6: neonx1   gen()   495 MB/s
[    0.780226] raid6: neonx1   xor()   460 MB/s
[    0.848290] raid6: int32x8  gen()   247 MB/s
[    0.916480] raid6: int32x8  xor()   172 MB/s
[    0.984526] raid6: int32x4  gen()   258 MB/s
[    1.052597] raid6: int32x4  xor()   193 MB/s
[    1.120589] raid6: int32x2  gen()   255 MB/s
[    1.188814] raid6: int32x2  xor()   194 MB/s
[    1.256846] raid6: int32x1  gen()   189 MB/s
[    1.324893] raid6: int32x1  xor()   160 MB/s
[    1.324899] raid6: using algorithm neonx4 gen() 797 MB/s
[    1.324905] raid6: .... xor() 644 MB/s, rmw enabled
[    1.324911] raid6: using neon recovery algorithm
[    1.325786] SCSI subsystem initialized
[    1.326210] usbcore: registered new interface driver usbfs
[    1.326254] usbcore: registered new interface driver hub
[    1.326322] usbcore: registered new device driver usb
[    1.326485] mc: Linux media interface: v0.10
[    1.326517] videodev: Linux video capture interface: v2.00
[    1.326633] pps_core: LinuxPPS API ver. 1 registered
[    1.326639] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.326658] PTP clock support registered
[    1.328075] clocksource: Switched to clocksource arch_sys_counter
[    2.181923] VFS: Disk quotas dquot_6.6.0
[    2.182003] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.188953] thermal_sys: Registered thermal governor 'fair_share'
[    2.188959] thermal_sys: Registered thermal governor 'bang_bang'
[    2.188971] thermal_sys: Registered thermal governor 'step_wise'
[    2.188977] thermal_sys: Registered thermal governor 'power_allocator'
[    2.189305] NET: Registered protocol family 2
[    2.189959] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    2.189990] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    2.190077] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    2.190190] TCP: Hash tables configured (established 8192 bind 8192)
[    2.190301] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    2.190365] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    2.190603] NET: Registered protocol family 1
[    2.191100] RPC: Registered named UNIX socket transport module.
[    2.191109] RPC: Registered udp transport module.
[    2.191115] RPC: Registered tcp transport module.
[    2.191120] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.191379] Trying to unpack rootfs image as initramfs...
[    2.555193] Freeing initrd memory: 5908K
[    2.556988] Initialise system trusted keyrings
[    2.557246] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    2.563750] zbud: loaded
[    2.566156] NFS: Registering the id_resolver key type
[    2.566188] Key type id_resolver registered
[    2.566193] Key type id_legacy registered
[    2.566207] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.566214] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.567582] JFS: nTxBlock = 8192, nTxLock = 65536
[    2.577098] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.626689] Key type asymmetric registered
[    2.626706] Asymmetric key parser 'x509' registered
[    2.626776] bounce: pool size: 64 pages
[    2.626856] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    2.627069] io scheduler mq-deadline registered
[    2.627079] io scheduler kyber registered
[    2.627288] io scheduler bfq registered
[    2.628702] sun4i-usb-phy 1c13400.phy: failed to get clock usb0_phy
[    2.630320] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pi not found, using dummy regulator
[    2.677102] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    2.682127] sun8i-mixer 1100000.mixer: Couldn't get our reset line
[    2.682220] sun4i-drm display-engine: failed to bind 1100000.mixer (ops 0xc0a8ae80): -517
[    2.682229] sun4i-drm display-engine: Couldn't bind all pipelines components
[    2.682312] sun4i-drm display-engine: master bind failed: -517
[    2.685153] brd: module loaded
[    2.690772] loop: module loaded
[    2.692876] libphy: Fixed MDIO Bus: probed
[    2.693756] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.693764] ehci-platform: EHCI generic platform driver
[    2.694104] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.694122] ohci-platform: OHCI generic platform driver
[    2.694691] usbcore: registered new interface driver usb-storage
[    2.695297] i2c /dev entries driver
[    2.696564] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.697452] ledtrig-cpu: registered to indicate activity on CPUs
[    2.697516] hidraw: raw HID events driver (C) Jiri Kosina
[    2.697627] usbcore: registered new interface driver usbhid
[    2.697632] usbhid: USB HID core driver
[    2.698172] Initializing XFRM netlink socket
[    2.698842] NET: Registered protocol family 10
[    2.760765] Segment Routing with IPv6
[    2.760876] NET: Registered protocol family 17
[    2.760909] NET: Registered protocol family 15
[    2.760993] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.761199] 8021q: 802.1Q VLAN Support v1.8
[    2.761261] Key type dns_resolver registered
[    2.761682] Registering SWP/SWPB emulation handler
[    2.762265] registered taskstats version 1
[    2.762272] Loading compiled-in X.509 certificates
[    2.762388] zswap: loaded using pool lzo/zbud
[    2.765174] Btrfs loaded, crc32c=crc32c-generic
[    2.795628] Key type encrypted registered
[    2.807350] sun4i-usb-phy 1c13400.phy: Couldn't get regulator usb1_vbus... Deferring probe
[    2.809102] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pi not found, using dummy regulator
[    2.809139] debugfs: Directory '1c20800.pinctrl-vcc-pi' with parent 'reg-dummy-regulator-dummy' already present!
[    2.810669] sun4i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    2.812031] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    2.812903] printk: console [ttyS0] disabled
[    2.833091] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 31, base_baud = 1500000) is a U6_16550A
[    3.906390] printk: console [ttyS0] enabled
[    3.911081] sun4i-pinctrl 1c20800.pinctrl: Couldn't get bank PG regulator
[    3.917879] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 198
[    3.924495] sun4i-pinctrl 1c20800.pinctrl: pin-198 (1c28c00.serial) status -517
[    3.931803] sun4i-pinctrl 1c20800.pinctrl: could not request pin 198 (PG6) from group PG6  on device 1c20800.pinctrl
[    3.942319] dw-apb-uart 1c28c00.serial: Error applying setting, reverse things back
[    3.962331] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0a8ae80)
[    3.971340] sun4i-drm display-engine: bound 1200000.mixer (ops 0xc0a8ae80)
[    3.978610] sun4i-drm display-engine: bound 1c70000.tcon-top (ops 0xc0a8ef7c)
[    3.986013] sun4i-drm display-engine: bound 1c73000.lcd-controller (ops 0xc0a87a6c)
[    3.993738] sun8i-dw-hdmi 1ee0000.hdmi: 1ee0000.hdmi supply hvcc not found, using dummy regulator
[    4.016157] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    4.026136] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    4.033940] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0a8a46c)
[    4.040737] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.047345] [drm] No driver support for vblank timestamp query.
[    4.053621] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    4.061425] [drm] Cannot find any crtc or sizes
[    4.066869] sun4i-pinctrl 1c20800.pinctrl: Couldn't get bank PA regulator
[    4.073680] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 0
[    4.080125] sun4i-pinctrl 1c20800.pinctrl: pin-0 (1c50000.ethernet) status -517
[    4.087432] sun4i-pinctrl 1c20800.pinctrl: could not request pin 0 (PA0) from group PA0  on device 1c20800.pinctrl
[    4.097776] dwmac-sun8i 1c50000.ethernet: Error applying setting, reverse things back
[    4.107791] [drm] Cannot find any crtc or sizes
[    4.112624] axp20x-i2c 1-0034: AXP20x variant AXP221 found
[    4.133928] input: axp20x-pek as /devices/platform/soc/1c2ac00.i2c/i2c-1/1-0034/axp221-pek/input/input0
[    4.143979] dcdc1: supplied by regulator-dummy
[    4.148896] vcc-3v0: Bringing 3300000uV into 3000000-3000000uV
[    4.155684] dcdc2: supplied by regulator-dummy
[    4.160759] dcdc3: supplied by regulator-dummy
[    4.165842] dcdc4: supplied by regulator-dummy
[    4.170913] dcdc5: supplied by regulator-dummy
[    4.176001] dc1sw: supplied by vcc-3v0
[    4.179975] dc5ldo: supplied by vcc-dram
[    4.184532] aldo1: supplied by regulator-dummy
[    4.189045] random: fast init done
[    4.192934] aldo2: supplied by regulator-dummy
[    4.198009] aldo3: supplied by regulator-dummy
[    4.203525] eldo1: supplied by regulator-dummy
[    4.208592] eldo2: supplied by regulator-dummy
[    4.213689] eldo3: supplied by regulator-dummy
[    4.218758] dldo1: supplied by regulator-dummy
[    4.223654] vcc-wifi-io: Bringing 700000uV into 1800000-1800000uV
[    4.230658] dldo2: supplied by regulator-dummy
[    4.235569] vcc-wifi: Bringing 700000uV into 3300000-3300000uV
[    4.241915] dldo3: supplied by regulator-dummy
[    4.246814] vcc-wifi-2: Bringing 700000uV into 3300000-3300000uV
[    4.253629] dldo4: supplied by regulator-dummy
[    4.258737] rtc_ldo: supplied by regulator-dummy
[    4.263568] ldo_io0: supplied by regulator-dummy
[    4.268829] ldo_io1: supplied by regulator-dummy
[    4.275204] axp20x-i2c 1-0034: AXP20X driver loaded
[    4.281569] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-ph not found, using dummy regulator
[    4.291231] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    4.320222] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    4.356107] sunxi-mmc 1c11000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[    4.388283] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 32, base_baud = 1500000) is a U6_16550A
[    4.426122] mmc0: host does not support reading read-only switch, assuming write-enable
[    4.441550] mmc0: new high speed SDHC card at address aaaa
[    4.448303] mmcblk0: mmc0:aaaa SL16G 14.8 GiB 
[    4.456139] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    4.463662] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled
[    4.470824] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    4.479786] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc 
[    4.488360]  mmcblk0: p1
[    4.492308] scsi host0: ahci-sunxi
[    4.496087] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 34
[    4.504843] dwmac-sun8i 1c50000.ethernet: PTP uses main clock
[    4.510717] dwmac-sun8i 1c50000.ethernet: No regulator2 found
[    4.620158] mmc1: new DDR MMC card at address 0001
[    4.626204] mmcblk1: mmc1:0001 8WPD3R 7.28 GiB 
[    4.631662] mmcblk1boot0: mmc1:0001 8WPD3R partition 1 4.00 MiB
[    4.638509] mmcblk1boot1: mmc1:0001 8WPD3R partition 2 4.00 MiB
[    4.644836] dwmac-sun8i 1c50000.ethernet: Current syscon value is not the default 6 (expect 0)
[    4.653471] dwmac-sun8i 1c50000.ethernet: No HW DMA feature register supported
[    4.660694] dwmac-sun8i 1c50000.ethernet: RX Checksum Offload Engine supported
[    4.667913] dwmac-sun8i 1c50000.ethernet: COE Type 2
[    4.672880] dwmac-sun8i 1c50000.ethernet: TX Checksum insertion supported
[    4.679666] dwmac-sun8i 1c50000.ethernet: Normal descriptors
[    4.685327] dwmac-sun8i 1c50000.ethernet: Chain mode enabled
[    4.691144] libphy: stmmac: probed
[    4.695495]  mmcblk1: p1 p2
[    4.724724] ehci-platform 1c19000.usb: EHCI Host Controller
[    4.730344] ehci-platform 1c19000.usb: new USB bus registered, assigned bus number 1
[    4.738346] ehci-platform 1c19000.usb: irq 25, io mem 0x01c19000
[    4.760074] ehci-platform 1c19000.usb: USB 2.0 started, EHCI 1.00
[    4.766369] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    4.774642] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.781864] usb usb1: Product: EHCI Host Controller
[    4.786743] usb usb1: Manufacturer: Linux 5.3.0-rc3-sunxi ehci_hcd
[    4.792924] usb usb1: SerialNumber: 1c19000.usb
[    4.797983] hub 1-0:1.0: USB hub found
[    4.801779] hub 1-0:1.0: 1 port detected
[    4.806520] ehci-platform 1c1c000.usb: EHCI Host Controller
[    4.812128] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[    4.820087] ata1: SATA link down (SStatus 0 SControl 300)
[    4.820092] ehci-platform 1c1c000.usb: irq 27, io mem 0x01c1c000
[    4.836072] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    4.842333] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    4.850600] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.857821] usb usb2: Product: EHCI Host Controller
[    4.862700] usb usb2: Manufacturer: Linux 5.3.0-rc3-sunxi ehci_hcd
[    4.868881] usb usb2: SerialNumber: 1c1c000.usb
[    4.873893] hub 2-0:1.0: USB hub found
[    4.877685] hub 2-0:1.0: 1 port detected
[    4.882356] ohci-platform 1c19400.usb: Generic Platform OHCI controller
[    4.888999] ohci-platform 1c19400.usb: new USB bus registered, assigned bus number 3
[    4.896918] ohci-platform 1c19400.usb: irq 26, io mem 0x01c19400
[    4.964254] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[    4.972525] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.979743] usb usb3: Product: Generic Platform OHCI controller
[    4.985665] usb usb3: Manufacturer: Linux 5.3.0-rc3-sunxi ohci_hcd
[    4.991842] usb usb3: SerialNumber: 1c19400.usb
[    4.997314] hub 3-0:1.0: USB hub found
[    5.001099] hub 3-0:1.0: 1 port detected
[    5.005775] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    5.012416] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[    5.020323] ohci-platform 1c1c400.usb: irq 28, io mem 0x01c1c400
[    5.088241] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[    5.096511] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.103730] usb usb4: Product: Generic Platform OHCI controller
[    5.109653] usb usb4: Manufacturer: Linux 5.3.0-rc3-sunxi ohci_hcd
[    5.115830] usb usb4: SerialNumber: 1c1c400.usb
[    5.120816] hub 4-0:1.0: USB hub found
[    5.124603] hub 4-0:1.0: 1 port detected
[    5.132034] hctosys: unable to open rtc device (rtc0)
[    5.137279] of_cfs_init
[    5.139846] of_cfs_init: OK
[    5.142874] dc5ldo: disabling
[    5.149938] Freeing unused kernel memory: 1024K
[    5.172293] Run /init as init process
Loading, please wait...
Starting version 241
[    5.696058] sunxi-mmc 1c11000.mmc: data error, sending stop command
[    5.744391] axp20x-usb-power-supply axp20x-usb-power-supply: DMA mask not set
[    6.700071] sunxi-mmc 1c11000.mmc: send stop command failed
[    6.705985] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    6.711515] vcc-wifi: voltage operation not allowed
[    6.716423] sunxi-mmc 1c10000.mmc: could not set regulator OCR (-1)
[    6.756116] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    6.800106] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    6.808592] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    6.817109] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    6.828030] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    7.003054] mmc2: new high speed SDIO card at address 0001

_____________________________________________________________________________________________

 

Any suggestions? 

 

Regards,

 

Mauricio F.

Posted
6 minutes ago, mflorezm said:

Any suggestions?

This MMC2 is for the WiFi, maybe the AP6212 is defective ...

If you don't mind loosing WiFi, maybe you can decompile DTB into DTS, changing MMC2 node "status" to "disabled", and then recompile DTB from this edited DTS and reboot !

With luck, boot will maybe go further ...

Posted

Dear martinayotte:

 

I decompiled the DTB file to sun8i-r40-bananapi-m2-ultra.dts, then changed mmc@1c11000 status from "okay" to "disabled". That was the issue and once changed the problem was solved. Now Armbian runs 100% perfect.

 

Nevertheless, as i want to use buster instead of stretch, everytime that is use apt-get install update / apt-get install upgrade, the file is changed again and the board stop booting again.

 

So, is there any way for you to change update the code on the build system like a patch to avoid futher problems?

 

PD: I already checked the guidol DTB file and for berry that file was ok with the status for mmc@1c11000 = "disabled", so, that is why the problems was just on M2U and not on Berry.

 

Thanks you very much,

 

Mauricio F.

 

Posted
13 hours ago, mflorezm said:

why the problems was just on M2U and not on Berry.

No, I've an M2U and don't have the issue, as I've said it is probably that yours has a defective AP6212.

13 hours ago, mflorezm said:

the file is changed again and the board stop booting again.

You can avoid DTB updates using "apt-mark hold linux-dtb-dev-meson64_5.94_arm64.deb" for example.

Posted

Dear martinayotte,

 

I found a big issue, i followed you advice to disable MMC2, nevertheless, if i do that WIFI still works but Internal EMMC mmcblk1 (8GB) doesn't work. So, as i want to use install Armbian in that memory i tried again enableing mmc2 and leaving the board alone to boot, my surprise was that after a lot of time, the board boots and fdisk works and detects mmcblk1, but if i try to wirte anything to emmc it crashes.

 

I guess that on my board mmc2 is not wifi, instead of that it is EMMC memory, but there is a conflict while wirting and that is why the boot time is so long.

 

I tried the same with original banana images and there is no problem there, i can write mmcblk1 without any issues.

 

attached is boot log from Serial TTL and dmseg both in armbian and Seria TTL from bananama img.

 

Any help will be appreciated, Thanks.

 

Mauricio F. 

dmesg_armbian5.9.txt boot_log_armbian5.9.txt boot_log_banana_img.txt

Posted

Hi again, 

 

I reaally don't know what is happening.

 

DMESG from Armbian

 

[    4.615171] mmc1: new DDR MMC card at address 0001
[    4.621279] mmcblk1: mmc1:0001 8WPD3R 7.28 GiB
[    4.626731] mmcblk1boot0: mmc1:0001 8WPD3R partition 1 4.00 MiB
[    4.633622] mmcblk1boot1: mmc1:0001 8WPD3R partition 2 4.00 MiB

 

[    5.670968] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    5.679687] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    5.690358] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    5.704831] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    5.896366] mmc2: new high speed SDIO card at address 0001

 

DMSEG from banana img

 

[    2.173277] mmc1: BKOPS_EN bit is not set
[    2.174483] mmc1: Check switch ready sunxi_mmc_check_timing_switch_done
[    2.175111] mmc1: new high speed MMC card at address 0001
[    2.176579] mmcblk1: mmc1:0001 8WPD3R 7.28 GiB
[    2.176751] mmcblk1boot0: mmc1:0001 8WPD3R partition 1 4.00 MiB
[    2.176917] mmcblk1boot1: mmc1:0001 8WPD3R partition 2 4.00 MiB


[   10.775497] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[   10.777104] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[   10.778718] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[   10.782194] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[   10.899205] mmc2: new high speed SDIO card at address 0001
 

So, if MMC1 is the flsh EMMC memory on both, and MMC2 is WIFI, why if i disable MMC2 on Armbian stops MMC1 too?

 

Regard,

 

Mauricio F.

 

 

Posted

I found the following:

 

When both mmc1 and mmc2 are enable, the following error shwos for emmc2.

 

[  170.393893] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-ultra.txt failed with error -2
[  170.405646] brcmfmac mmc2:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-ultra.txt

 

but when mmc2 is disable from DTB, the error pass from emm2 to emm1.

 

[    5.607464] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    5.617933] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    5.627483] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    5.642199] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    5.831445] mmc1: new high speed SDIO card at address 0001
[    9.322146] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-ultra.txt failed with error -2
[    9.333926] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-ultra.txt

 

Does it hav any sense?

 

the problem as you said is with brcm/brcmfmac43430 driver for AMPAK AP6212 - SDIO (02d0:a9a6) BCM43430 (WiFi/BT 4.0) (1T1R 802.11bgn).

 

Thanks again, Regards,

 

Mauricio F.

Posted

As I remember on some other board there was a error like this, because they changed in production the type of the chip (in the past ram chip) but maybe they changed the emmc chip.

maybe you could compare with other users board.

my berry hasnt a emmc.

Posted

Hi Martinayotte and Guidol:

 

So many thanks for you help and effort.

 

I have been deepth analizing the DTB file for BPI M2U and the board schematic from BPI at https://drive.google.com/file/d/0B4PAo2nW2KfndUZobUNSQ0YtalE/view?usp=sharing, and i'm pretty sure that the DTB file was developed to have eMMC like mmc2 and WIFI like mmc1. Nevertheless, the board boots and the kernel load eMMC like mmc1 and the WIFI like mmc2, (i don't know why).

 

I rewrite the bus width to 4 for SD (mmc0) and Wifi (mmc) and width to 8 for eMMC (mmc1) and now the board boots faster and does not crashes when i type fdisk /dev/mmcblk1 like it was before. So now, the board is working perfectly with armbian loaded from SD card, but i'm having problems to create a partition to mmcblk1.

 

As you can see on the attachd image below, the fdisk -l, list the mmcblk1 with the right size (7.3 GB), them i'm creating a new partition and writing the partition table without any issues, but once done,  the new partition never gets to the disk, and fdisk -l shows the disk like if was before. Of course, whithout a partition i can not format the eMMC and can not use nand-sata-install.

 

This only happens with armbian, because with bananapi images there was no issue to create the partition and save it to the disk like mmcblk1p1. 

 

Even worse, if the eMMC disk has been partitioned and it is not formatted again, i really don't know why armbian (kernel) can not see that partition that was done with BPI images if it is Ext4.

 

Regards,

 

Mauricio F.

 

 

 

 

fdisk.JPG

Posted

Hi Guys:

 

I decided to start again from the begining, so, modified DTB file to disabled MMC1 (WIFI), and just leaving the MMC2 (eMMC 1c11000) enable "okay".

 

        mmc@1c11000 {
            compatible = "allwinner,sun8i-r40-emmc\0allwinner,sun50i-a64-emmc";
            reg = < 0x1c11000 0x1000 >;
            clocks = < 0x07 0x22 0x07 0x6d >;
            clock-names = "ahb\0mmc";
            resets = < 0x07 0x0a >;
            reset-names = "ahb";
            pinctrl-0 = < 0x12 >;
            pinctrl-names = "default";
            interrupts = < 0x00 0x22 0x04 >;
            status = "okay";
            #address-cells = < 0x01 >;
            #size-cells = < 0x00 >;
            vmmc-supply = < 0x0c >;
            vqmmc-supply = < 0x0c >;
            bus-width = < 0x08 >;
            non-removable;
            phandle = < 0x3d >;
        };

 

Doing that, now i can see the device partition mmcblk1p1 with fdisk -l, but when i try make any change wth fdisk or format de partition, the console stops (conflict).

 

[    4.611521] mmc1: new DDR MMC card at address 0001
[    4.617642] mmcblk1: mmc1:0001 8WPD3R 7.28 GiB
[    4.623098] mmcblk1boot0: mmc1:0001 8WPD3R partition 1 4.00 MiB
[    4.629997] mmcblk1boot1: mmc1:0001 8WPD3R partition 2 4.00 MiB
[    4.678318]  mmcblk1: p1
[    5.550366] sunxi-mmc 1c11000.mmc: data error, sending stop command
[    6.553221] sunxi-mmc 1c11000.mmc: send stop command failed
 

So, if it is not a conflict with the Wifi module as it is disabled, what else is doind this conflict? by the way, if i change the bus width to 4, and that way the errors above are no longer show on dmesg even as eMMC is correctly detected, but again it stops when trying do write anything to the flash memory.

 

Kernel is not the problem as fdisk works well to creata a partition on a SATA external drive and The eMMC memory is not damaged as it works perfectly with the original BPI images, so, do you have any ideas on how to solve this mistery?

 

I already cheked the schematic again, and the pins are ok, pins = "PC5\0PC6\0PC7\0PC8\0PC9\0PC10\0PC11\0PC12\0PC13\0PC14\0PC15\0PC24";

vmmc-supply = < 0x0c >; to vcc-3v0 is ok too.
vqmmc-supply = < 0x0c >;  to vcc-3v0 is ok too.

 

I don't have any idea where to look. Any help will be much appreciated.

 

Thanks and best Regards,

 

Mauricio F.


 

 

 

 

BPi-M2 Ultra-schematic V1_0.pdf

Posted

Holy Mother of God, i found the problem.

 

I found on web blog that for eMMC as they are DDR they need a drive-strength of 40 instead of 30 like it was.

 

            mmc2-pins {
                pins = "PC5\0PC6\0PC7\0PC8\0PC9\0PC10\0PC11\0PC12\0PC13\0PC14\0PC15\0PC24";
                function = "mmc2";
                drive-strength = < 0x28 >; => equual to 40 in decimal
                bias-pull-up;
                phandle = < 0x12 >;
            };
 

So, i guess that now somebody has to update the DTB with a patch.

 

Thanks.

 

Mauricio F.

Posted

I have the following issue with Banana Pi M2 Ultra. Very often during booting Bullseye_current_5.4.20 from SD cart (or also EMMC) it hangs on the following step:

Scanning for Btrfs filesystems

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines