Odroid C2 - eMMC 5.1 Module can't boot ?

Discussion about U-Boot and the kernel.

Odroid C2 - eMMC 5.1 Module can't boot ?

Postby Sagittarius » Sat Mar 16, 2019 2:21 pm

First, thank you all the archlinuxarm devs for your very good work.

Then, I'd like to ask if somehow it is normal that Odroid C2 can't boot on emmc with kernel 5.0.2-1-ARCH:

Code: Select all
dmesg|grep error
[    2.803254] mmc0: error -22 whilst initialising MMC card
sudo journalctl -b -p err
-- Logs begin at Fri 2018-04-13 02:25:13 UTC, end at Sat 2019-03-16 14:14:44 UTC. --
févr. 21 13:43:42 Odroid-C2 kernel: mmc0: error -22 whilst initialising MMC card


I'm sure bootloader files are well flashed on emmc for the blue led blinks at boot and also because the same emmc plugged into the sdcard slot via an adapter boots with no issue.

My config (microsd same as emmcc):
Code: Select all
sudo inxi -Fxz
System:    Host: Odroid-C2 Kernel: 5.0.2-1-ARCH aarch64 bits: 64 compiler: gcc v: 8.2.1 Console: tty 0 Distro: Arch Linux ARM
Machine:   Type: ARM Device System: Hardkernel ODROID-C2 details: N/A serial: <filter>
CPU:       Topology: Quad Core model: N/A variant: cortex-a53 bits: 64 type: MCP arch: ARMv8 rev: 4
           features: Use -f option to see features bogomips: 0
           Speed: N/A min/max: N/A Core speeds (MHz): No speed data found for 4 cores.
Graphics:  Device-1: meson-gxbb-dw-hdmi driver: meson_dw_hdmi v: kernel bus ID: N/A
           Device-2: meson-gxbb-mali driver: N/A bus ID: N/A
           Display: server: X.org 1.20.4 driver: modesetting unloaded: fbdev tty: 140x27
           Message: Advanced graphics data unavailable in console for root.
Audio:     Device-1: meson-gxbb-dw-hdmi driver: meson_dw_hdmi v: kernel bus ID: N/A
           Sound Server: ALSA v: k5.0.2-1-ARCH
Network:   Device-1: meson-gx-dwmac driver: meson8b_dwmac v: N/A port: N/A bus ID: N/A
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 29.72 GiB used: 10.14 GiB (34.1%)
           ID-1: /dev/mmcblk1 model: SE32G size: 29.72 GiB
Partition: ID-1: / size: 29.13 GiB used: 10.14 GiB (34.8%) fs: ext4 dev: /dev/mmcblk1p1
Sensors:   Message: No sensors data was found. Is sensors configured?
Info:      Processes: 121 Uptime: 11m Memory: 1.92 GiB used: 380.6 MiB (19.4%) Init: systemd Compilers: gcc: 8.2.1 Shell: bash
           v: 5.0.0 inxi: 3.0.30


It's not a problem for me if it's due to the lack of support of the emmc with this kernel.
The same emmc version (from SanDisk EDEC/MMCA Version 5.1: HS400 interface with 8bit DDR mode) boots with no issue on my Odroid-C1 with the 3.x kernel.
4 x Dockstar - 2 x GoFlexNet booting on NFS - 1 x Odroid C1+ - 1 x Odroid C2
Sagittarius
 
Posts: 43
Joined: Mon Nov 14, 2011 9:21 pm
Location: France

Re: Odroid C2 - eMMC 5.1 Module can't boot ?

Postby uncarvedblock » Mon Mar 18, 2019 3:51 pm

My C2 boots from an emmc on aarch64 however, my brother's will not.

I have been following a discussion over on the hardkernel fourms. Someone there has suggested that a kernel commit adjusting the clock phase of the emmc (https://lkml.org/lkml/2018/12/6/746) may be the cause. Not sure if anyone has tried recompiling the kernel, reverting the patch to verify it though.
uncarvedblock
 
Posts: 1
Joined: Mon Mar 18, 2019 3:40 pm

Re: Odroid C2 - eMMC 5.1 Module can't boot ?

Postby Sagittarius » Mon Mar 18, 2019 5:34 pm

Thank you very much for the information uncarvedblock.
It makes sense.

And I admit, this emmc card (eMMC 5.1 from Sandisk) may not be widely distributed. It comes from Ameridroid and it's not an official Hardkernel emmc.
4 x Dockstar - 2 x GoFlexNet booting on NFS - 1 x Odroid C1+ - 1 x Odroid C2
Sagittarius
 
Posts: 43
Joined: Mon Nov 14, 2011 9:21 pm
Location: France


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 1 guest