IMX6ULL-boot eMMC error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6ULL-boot eMMC error

710 Views
duyhai
Contributor I

i had this problem when starting with imx6ull custom board. Can someone assist me in debugging? i use boot from sd card.

 

[ 2.390705] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.408586] NET: Registered PF_LLC protocol family
[ 2.416004] NET: Registered PF_INET6 protocol family
[ 2.425888] mmc0: new ultra high speed SDR104 SDHC card at address 5048
[ 2.434753] Segment Routing with IPv6
[ 2.438762] In-situ OAM (IOAM) with IPv6
[ 2.445077] mmcblk0: mmc0:5048 SD32G 29.7 GiB
[ 2.450082] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.503768] mmc0: Tuning failed, falling back to fixed sampling clock
[ 2.512071] NET: Registered PF_PACKET protocol family
[ 2.517364] can: controller area network core
[ 2.522305] NET: Registered PF_CAN protocol family
[ 2.527492] can: raw protocol
[ 2.530863] can: broadcast manager protocol
[ 2.535284] can: netlink gateway - max_hops=1
[ 2.540196] Bluetooth: RFCOMM TTY layer initialized
[ 2.545566] Bluetooth: RFCOMM socket layer initialized
[ 2.550885] Bluetooth: RFCOMM ver 1.11
[ 2.555008] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.560678] Bluetooth: BNEP filters: protocol multicast
[ 2.566199] Bluetooth: BNEP socket layer initialized
[ 2.571381] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.577752] Bluetooth: HIDP socket layer initialized
[ 2.583542] lib80211: common routines for IEEE802.11 drivers
[ 2.589932] Key type dns_resolver registered
[ 2.669736] mmc0: Tuning failed, falling back to fixed sampling clock
[ 2.719320] mmc0: Tuning failed, falling back to fixed sampling clock
[ 2.725912] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 2.777985] mmc0: Tuning failed, falling back to fixed sampling clock
[ 2.784696] I/O error, dev mmcblk0, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 2.832781] Registering SWP/SWPB emulation handler
[ 2.841005] mmc0: Tuning failed, falling back to fixed sampling clock
[ 2.847654] I/O error, dev mmcblk0, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 2.856442] Loading compiled-in X.509 certificates
[ 2.903550] mmc0: Tuning failed, falling back to fixed sampling clock
[ 2.910166] I/O error, dev mmcblk0, sector 3 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 2.962080] mmc0: Tuning failed, falling back to fixed sampling clock
[ 2.968730] I/O error, dev mmcblk0, sector 4 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 3.020074] mmc0: Tuning failed, falling back to fixed sampling clock
[ 3.026671] I/O error, dev mmcblk0, sector 5 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 3.078428] mmc0: Tuning failed, falling back to fixed sampling clock
[ 3.085067] I/O error, dev mmcblk0, sector 7 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 3.093534] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[ 3.144103] mmc0: Tuning failed, falling back to fixed sampling clock
[ 3.193653] mmc0: Tuning failed, falling back to fixed sampling clock
[ 3.243151] mmc0: Tuning failed, falling back to fixed sampling clock
[ 3.292695] mmc0: Tuning failed, falling back to fixed sampling clock
[ 3.299319] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 3.350780] mmc0: Tuning failed, falling back to fixed sampling clock
[ 3.357432] I/O error, dev mmcblk0, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 3.408416] mmc0: Tuning failed, falling back to fixed sampling clock
[ 3.414970] I/O error, dev mmcblk0, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 3.465839] mmc0: Tuning failed, falling back to fixed sampling clock
[ 3.514801] mmc0: Tuning failed, falling back to fixed sampling clock
[ 3.563800] mmc0: Tuning failed, falling back to fixed sampling clock
[ 3.612750] mmc0: Tuning failed, falling back to fixed sampling clock
[ 3.661769] mmc0: Tuning failed, falling back to fixed sampling clock
[ 3.668329] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[ 3.675615] mmcblk0: unable to read partition table
[ 3.708989] imx_usb 2184000.usb: No over current polarity defined
[ 4.326012] mxs_phy 20c9000.usbphy: Data pin can't make good contact.
[ 4.342003] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 4.347056] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 4.384151] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 4.390078] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[ 4.398486] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.405999] usb usb1: Product: EHCI Host Controller
[ 4.411084] usb usb1: Manufacturer: Linux 6.1.36+g04b05c5527e9 ehci_hcd
[ 4.418006] usb usb1: SerialNumber: ci_hdrc.1
[ 4.423450] hub 1-0:1.0: USB hub found
[ 4.427450] hub 1-0:1.0: 1 port detected
[ 4.434488] imx_thermal 20c8000.anatop:tempmon: Commercial CPU temperature grade - max:95C critical:90C passive:85C
[ 4.449321] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.461562] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 4.468663] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 4.477710] ALSA device list:
[ 4.480701] No soundcards found.
[ 4.484326] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 4.493615] /dev/root: Can't open blockdev
[ 4.497948] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -6
[ 4.505978] Please append a correct "root=" boot option; here are the available partitions:
[ 4.514492] 0100 65536 ram0
[ 4.514508] (driver?)
[ 4.520629] 0101 65536 ram1
[ 4.520637] (driver?)
[ 4.526834] 0102 65536 ram2
[ 4.526845] (driver?)
[ 4.532958] 0103 65536 ram3
[ 4.532967] (driver?)
[ 4.539161] 0104 65536 ram4
[ 4.539172] (driver?)
[ 4.545324] 0105 65536 ram5
[ 4.545333] (driver?)
[ 4.551447] 0106 65536 ram6
[ 4.551455] (driver?)
[ 4.557592] 0107 65536 ram7
[ 4.557601] (driver?)
[ 4.563762] 0108 65536 ram8
[ 4.563772] (driver?)
[ 4.569886] 0109 65536 ram9
[ 4.569894] (driver?)
[ 4.576029] 010a 65536 ram10
[ 4.576039] (driver?)
[ 4.582238] 010b 65536 ram11
[ 4.582247] (driver?)
[ 4.588491] 010c 65536 ram12
[ 4.588502] (driver?)
[ 4.594726] 010d 65536 ram13
[ 4.594734] (driver?)
[ 4.600933] 010e 65536 ram14
[ 4.600941] (driver?)
[ 4.607171] 010f 65536 ram15
[ 4.607179] (driver?)
[ 4.613388] b300 31178752 mmcblk0
[ 4.613399] driver: mmcblk
[ 4.620260] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[ 4.628717] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) ]---

0 Kudos
Reply
2 Replies

681 Views
Harvey021
NXP TechSupport
NXP TechSupport

From this log, like the one "[4.497948] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -6" seems to be problem related partition.  Also recommend to check the configuration of bootargs in uboot.

 

Regards

Harvey

0 Kudos
Reply

677 Views
duyhai
Contributor I
This is the uboot env log, can you check it for me?
=> printenv
baudrate=115200
board_name=EVK
board_rev=14X14
boot_fdt=try
bootcmd=run findfdt;run findtee;mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc resc an; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi
bootcmd_mfg=run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes ; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else bootz ${loadaddr} ${in itrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;
bootdelay=3
bootscript=echo Running bootscript from mmc ...; source
console=ttymxc0
emmc_ack=1
emmc_dev=1
ethprime=eth1
fastboot_dev=mmc0
fdt_addr=0x83000000
fdt_file=undefined
fdt_high=0xffffffff
fdtcontroladdr=9de6c2d0
findfdt=if test $fdt_file = undefined; then if test $board_name = ULZ-EVK && tes t $board_rev = 14X14; then setenv fdt_file imx6ulz-14x14-evk.dtb; fi; if test $b oard_name = EVK && test $board_rev = 9X9; then setenv fdt_file imx6ull-9x9-evk.d tb; fi; if test $board_name = EVK && test $board_rev = 14X14; then setenv fdt_fi le imx6ull-14x14-evk.dtb; fi; if test $fdt_file = undefined; then echo WARNING: Could not determine dtb to use; fi; fi;
findtee=if test $tee_file = undefined; then if test $board_name = ULZ-EVK && tes t $board_rev = 14X14; then setenv tee_file uTee-6ulzevk; fi; if test $board_name = EVK && test $board_rev = 9X9; then setenv tee_file uTee-6ullevk; fi; if test $board_name = EVK && test $board_rev = 14X14; then setenv tee_file uTee-6ullevk; fi; if test $tee_file = undefined; then echo WARNING: Could not determine tee t o use; fi; fi;
image=zImage
initrd_addr=0x86800000
initrd_high=0xffffffff
ip_dyn=yes
kboot=bootz
loadaddr=0x80800000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
loadtee=fatload mmc ${mmcdev}:${mmcpart} ${tee_addr} ${tee_file}
mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc clk_ ignore_unused
mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot}
mmcautodetect=yes
mmcboot=echo Booting from mmc ...; run mmcargs; if test ${tee} = yes; then run l oadfdt; run loadtee; bootm ${tee_addr} - ${fdt_addr}; else if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${ fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot lo ad the DT; fi; fi; else bootz; fi; fi;
mmcdev=0
mmcpart=1
mmcroot=/dev/mmcblk0p2 rootwait rw
netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfs root=${serverip}:${nfsroot},v3,tcp
netboot=echo Booting from net ...; ${usb_net_cmd}; run netargs; if test ${ip_dyn } = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${im age}; if test ${tee} = yes; then ${get_cmd} ${tee_addr} ${tee_file}; ${get_cmd} ${fdt_addr} ${fdt_file}; bootm ${tee_addr} - ${fdt_addr}; else if test ${boot_fd t} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz ; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi; fi;
script=boot.scr
sd_dev=1
serial#=614ecc90130ac1d7
splashimage=0x8c000000
tee=yes
tee_addr=0x84000000
tee_file=undefined

Environment size: 3338/8188 bytes
0 Kudos
Reply