How to hidden or fixed mmc error logs in startup


(elahe) #1

I have a Banana Pi bpi-m2u board and I installed debian arm. The problem is when arm is starting, kernel shows some messages, and those ugly messages are being displayed even with plymouth splash screen.

my cmdline.txt is:

dwc_otg.lpm_enable=0 console=serial0,115200 console=tty3  root=/devK/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash loglevel=0 logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles

I even added “dmesg --console-off” to rc.local and “VERBOSE=no” in rcS file, but I did not seen any changes! Is there a way to silent boot?

How can I remove ALL boot messages?

Some logs which seen in console in startup is about mmc drive, I am looking for disabling this driver or any way which resolved this problem. my goal is that these error logs fixed or even hidden: some error logs are as follows:

    Running uenvcmd ...
Banana Pi bpi-m2u chip: r40 Service: linux
reading bananapi/bpi-m2u/linux/uImage
6844448 bytes read in 297 ms (22 MiB/s)
reading bananapi/berryboot.img
** Unable to read file bananapi/berryboot.img **
## Booting kernel from Legacy Image at 47000000 ...
   Image Name:   Linux-3.10.65-BPI-M2U-Kernel
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6844384 Bytes = 6.5 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
   reserving fdt memory region: addr=43000000 size=800
   Using Device Tree in place at 45000000, end 4501913f
prepare for kernel
[mmc]: MMC Device 2 not found
[mmc]: mmc 2 not find, so not exit

Starting kernel ...

[    1.080368] platform pwm0: there is no bind_pwm, set bind_pwm 255!
[    1.080368] platform pwm0: there is no dead time, set bind_pwm 255!
[    1.120473] add_sys_pwr_dm: get ldo name  for id: vdd-cpus failed
[    1.120473] add_sys_pwr_dm: get ldo name  for id: vcc-lpddr failed
[    1.120473] add_sys_pwr_dm: get ldo name  for id: vcc-pl failed
[    1.120473] add_sys_pwr_dm: axp22_dcdc1 ldo already alwayson.
[    1.120473] Warning: can not find np for dynamic_standby_para.
[    1.186653] OF: no ranges; cannot translate
[    1.186669] OF: no ranges; cannot translate
[    1.186948] OF: no ranges; cannot translate
[    1.186960] OF: no ranges; cannot translate
[    1.358262] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[    1.366193] /soc@01c00000/wlan: could not find phandle
[    1.371907] sunxi-wlan wlan: get gpio wlan_hostwake failed
[    1.450057] sunxi-ahci sata: SATA power enable do not exist!!
[    1.715171] axp22_dcdc1: unsupportable voltage range: 858992688-3400000uV
[    1.780624] get() with no identifier
[    1.784533] get() with no identifier
[    1.788433] get() with no identifier
[    1.840041] *mmc0 detect cd change*
[    1.843864] *mmc0 lock*
[    1.880874] sunxi-mmc sdc0: smc 0 p0 err, cmd 52, RTO !!
[    1.887615] sunxi-mmc sdc0: smc 0 p0 err, cmd 52, RTO !!
[    1.898202] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    1.904873] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    1.911520] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    1.918161] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    1.953207] sunxi-mmc sdc2: smc 1 p2 err, cmd 52, RTO !!
[    1.960025] sunxi-mmc sdc2: smc 1 p2 err, cmd 52, RTO !!
[    1.970699] sunxi-mmc sdc2: smc 1 p2 err, cmd 8, RTO !!
[    1.977376] sunxi-mmc sdc2: smc 1 p2 err, cmd 5, RTO !!
[    1.984021] sunxi-mmc sdc2: smc 1 p2 err, cmd 5, RTO !!
[    1.990733] sunxi-mmc sdc2: smc 1 p2 err, cmd 5, RTO !!
[    1.997513] sunxi-mmc sdc2: smc 1 p2 err, cmd 5, RTO !!
[    2.004164] sunxi-mmc sdc2: smc 1 p2 err, cmd 55, RTO !!
[    2.010924] sunxi-mmc sdc2: smc 1 p2 err, cmd 55, RTO !!
[    2.017661] sunxi-mmc sdc2: smc 1 p2 err, cmd 55, RTO !!
[    2.024421] sunxi-mmc sdc2: smc 1 p2 err, cmd 55, RTO !!
[    2.073944] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    2.080685] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    2.090953] sunxi-mmc sdc1: smc 2 p1 err, cmd 8, RTO !!
[    2.097614] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.104310] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.110967] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.117655] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    2.124305] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
[    2.131057] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
[    2.137797] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
[    2.144557] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
[    2.151392] EXT3-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (240)
[    2.151499] sunxi-mmc sdc1: smc 2 p1 err, cmd 1, RTO !!
[    2.167992] EXT2-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (240)
[    2.186595] Failed to execute /init.  Attempting defaults...
[    3.371076] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    3.377814] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    3.390765] sunxi-mmc sdc1: smc 2 p1 err, cmd 8, RTO !!
[    3.591432] [VFE_DEV_I2C_ERR]cci_read_a16_d8 error! slave = 0x3c, addr = 0x300a, value = 0x 0

[    3.601920] [VFE_DEV_I2C_ERR]cci_read_a16_d8 error! slave = 0x3c, addr = 0x300a, value = 0x 0

[    3.612359] [VFE_DEV_I2C_ERR]cci_read_a16_d8 error! slave = 0x3c, addr = 0x300a, value = 0x 0
 ov5640 sensor read retry=2
[    3.675938] [VFE_ERR]vfe sensor register check error at input_num = 0