Unrecognised eMMC on BeagleBone Black Board

Hi,
I have SD card with custom image with kernel Linux beaglebone 3.8.13-bone50.
I flash this image to eMMC of Beaglebone Black boards successfully til now.
New beaglebone black boards have higher revision of eMMC module.

My conclusions:
Kingston EMMC04G-M627 - newer type of memory
Kingston EMMC04G-S100 - older type of memory

After boot I 've got this error:

[ 0.887052] mmc1: unrecognised EXT_CSD revision 8 [ 0.892056] mmc1: error -22 whilst initialising MMC card

I think that problem is in older kernel version of Debian.

So, I 've tried upgrade kernel via:


cd /opt/scripts/tools/
git pull 
sudo ./update_kernel.sh 
sudo reboot

source: https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Kernel_Upgrade

But I have problem with certificate.
After “git pull” I got error:

error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessing https://github.com/RobertCNelson/boot-scripts/info/refs
fatal: HTTP request failed

I run command export GIT_SSL_NO_VERIFY=1 to workaround it.

But after “sudo ./update_kernel.sh” I got error:
GnuTLS: A TLS fatal alert has been received.
Unable to establish SSL connection

I tried to modify script adding “–no-check-certificate” after wget commands, but without success.

Can kernel upgrade solve issue with unrecognising of eMMC? If so, how can I ugprade kernel?

Hi,
I have SD card with custom image with kernel Linux beaglebone 3.8.13-bone50.
I flash this image to eMMC of Beaglebone Black boards successfully til now.
New beaglebone black boards have higher revision of eMMC module.

My conclusions:
Kingston EMMC04G-M627 - newer type of memory
Kingston EMMC04G-S100 - older type of memory

After boot I 've got this error:

[ 0.887052] mmc1: unrecognised EXT_CSD revision 8
[ 0.892056] mmc1: error -22 whilst initialising MMC card

I think that problem is in older kernel version of Debian.

So, I 've tried upgrade kernel via:

cd /opt/scripts/tools/
git pull
sudo ./update_kernel.sh
sudo reboot

source: Beagleboard:BeagleBoneBlack Debian - eLinux.org

But I have problem with certificate.
After "git pull" I got error:
error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessing https://github.com/RobertCNelson/boot-scripts/info/refs
fatal: HTTP request failed

Internet security has really changed in the last 3 years.

I run command export GIT_SSL_NO_VERIFY=1 to workaround it.

But after "sudo ./update_kernel.sh" I got error:
GnuTLS: A TLS fatal alert has been received.
Unable to establish SSL connection

I tried to modify script adding "--no-check-certificate" after wget commands, but without success.

Can kernel upgrade solve issue with unrecognising of eMMC? If so, how can I ugprade kernel?

Correct, this was fixed back on Jun 15, 2016...

Are you running Wheezy or Jessie?

Wheezy:
http://repos.rcn-ee.net/debian/pool/main/l/linux-upstream/linux-image-3.8.13-bone84_1wheezy_armhf.deb

Jessie:
http://repos.rcn-ee.net/debian/pool/main/l/linux-upstream/linux-image-3.8.13-bone86_1jessie_armhf.deb

With Jessie you should be able to run:

sudo dpkg -i linux-image-3.8.13-bone86_1jessie_armhf.deb
sudo reboot

For Wheezy you'll have to copy files around as it wasn't that
intergrated.. (under /boot/*)

Best to see your serial boot log to help tell you where to stick it..

Regards,

I am running Wheezie.

Debian GNU/Linux 7
BeagleBoard.org BeagleBone Debian Image 2014-05-14

I attached log file.

syslog.1 (1.78 MB)

This is result of running command od Wheezie:

root@beaglebone:/home/debian# sudo dpkg -i linux-image-3.8.13-bone84_1wheezy_armhf.deb Selecting previously unselected package linux-image-3.8.13-bone84. (Reading database ... 62413 files and directories currently installed.) Unpacking linux-image-3.8.13-bone84 (from linux-image-3.8.13-bone84_1wheezy_armhf.deb) ... Setting up linux-image-3.8.13-bone84 (1wheezy) ... update-initramfs: Generating /boot/initrd.img-3.8.13-bone84

But after “sudo reboot” nothing changed

root@beaglebone:~# uname -a Linux beaglebone 3.8.13-bone50 #1 SMP Tue May 13 13:24:52 UTC 2014 armv7l GNU/Linux

So I need to copy some files to /boot/ as you mentioned, right?

Yeap, so here's the surgery:

take a look at /boot/uboot/

ls -lh /boot/uboot/

#First backup everything:

sudo mv /boot/uboot/zImage /boot/uboot/zImage_bak
sudo mv /boot/uboot/initrd.img /boot/uboot/initrd.bak
sudo mv /boot/uboot/dtbs/ /boot/uboot/dtbs_bak/

#Copy new DTBS:

sudo mkdir -p /boot/uboot/dtbs/
sudo cp -v /boot/dtbs/3.8.13-bone84/*.dtb /boot/uboot/dtbs/

#does /boot/initrd.img-3.8.13-bone84 exist? if not:

sudo update-initramfs -c -k 3.8.13-bone84

#copy kernel files:

sudo cp -v /boot/vmlinuz-3.8.13-bone84 /boot/uboot/zImage
sudo cp -v /boot/initrd.img-3.8.13-bone84 /boot/uboot/initrd.img

and reboot..

Regards,

It works. :slight_smile: Thanks.

Partition for eMMC is available again.