Rolling back Debian image from 8.3 2016-01-24 to 7.8 2015-03-01

I am trying to rollback the Debian image on my Beaglebone Black Rev C (Embest) from the image that shipped on it on the board Debian 8.3 Image 2016-01-24 kernel 4.1.15-ti-rt-43 to Debian 7.8 image 2015-03-01 kernel 3.8.13-bone70 . I downloaded both files from https://beagleboard.org/latest-images. I put the older image on an SD Card using Win32DiskImager. I then install the SD card in the BBB and make the single change to the uEnv.txt file to remove the “#” from the final line #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh to make the SD card a flasher image. I power cycle the BBB and it begins to boot again of the SD Card. When I do this I get the following error:

Begin: Running /scripts/init-bottom … done.
Starting eMMC Flasher

This issue was fixed with 3.8.13-bone80, which was released on: Jun 15, 2016

It's a hardware issue, your board has eMMC 5.1 or newer eMMC...

Here are the two patches:

https://github.com/RobertCNelson/bb-kernel/commit/bd5a1f38c99bbe712d21c1e145b0c660dca9dee7

Doc's on how to fix it for your image:

https://gist.github.com/RobertCNelson/39faf80ddc9fcefae74dce2c6ca2eb45

Regards,

Robert, thank you so much for the reply. I followed your link below on the doc on how to fix the image and I get the following error +Failed dependency check. I am trying to do this to the SDCard that the BBB booted from.

Any further suggestions?

Here is a copy of the Putty Dump
debian@beaglebone:/$ sudo git clone https://github.com/RobertCNelson/yakbuilde
Cloning into ‘yakbuild’…
remote: Counting objects: 343, done.e[K
remote: Compressing objects: 20% (1/5) e[K
remote: Compressing objects: 40% (2/5) e[K
remote: Compressing objects: 60% (3/5) e[K
remote: Compressing objects: 80% (4/5) e[K
remote: Compressing objects: 100% (5/5) e[K
remote: Compressing objects: 100% (5/5), done.e[K
Receiving objects: 0% (1/343)
Receiving objects: 1% (4/343)
Receiving objects: 2% (7/343)
Receiving objects: 3% (11/343)
Receiving objects: 4% (14/343)
Receiving objects: 5% (18/343)
Receiving objects: 6% (21/343)
Receiving objects: 7% (25/343)
Receiving objects: 8% (28/343)
Receiving objects: 9% (31/343)
Receiving objects: 10% (35/343)
Receiving objects: 11% (38/343)
Receiving objects: 12% (42/343)
Receiving objects: 13% (45/343)
Receiving objects: 14% (49/343)
Receiving objects: 15% (52/343)
Receiving objects: 16% (55/343)
Receiving objects: 17% (59/343)
Receiving objects: 18% (62/343)
Receiving objects: 19% (66/343)
Receiving objects: 20% (69/343)
Receiving objects: 21% (73/343)
Receiving objects: 22% (76/343)
Receiving objects: 23% (79/343)
Receiving objects: 24% (83/343)
Receiving objects: 25% (86/343)
Receiving objects: 26% (90/343)
Receiving objects: 27% (93/343)
Receiving objects: 28% (97/343)
Receiving objects: 29% (100/343)
Receiving objects: 30% (103/343)
Receiving objects: 31% (107/343)
Receiving objects: 32% (110/343)
Receiving objects: 33% (114/343)
Receiving objects: 34% (117/343)
Receiving objects: 35% (121/343)
Receiving objects: 36% (124/343)
Receiving objects: 37% (127/343)
Receiving objects: 38% (131/343)
Receiving objects: 39% (134/343)
Receiving objects: 40% (138/343)
Receiving objects: 41% (141/343)
Receiving objects: 42% (145/343)
Receiving objects: 43% (148/343)
Receiving objects: 44% (151/343)
Receiving objects: 45% (155/343)
Receiving objects: 46% (158/343)
Receiving objects: 47% (162/343)
Receiving objects: 48% (165/343)
Receiving objects: 49% (169/343)
Receiving objects: 50% (172/343)
Receiving objects: 51% (175/343)
Receiving objects: 52% (179/343)
Receiving objects: 53% (182/343)
Receiving objects: 54% (186/343)
Receiving objects: 55% (189/343)
Receiving objects: 56% (193/343)
Receiving objects: 57% (196/343)
Receiving objects: 58% (199/343)
Receiving objects: 59% (203/343)
Receiving objects: 60% (206/343)
Receiving objects: 61% (210/343)
Receiving objects: 62% (213/343)
Receiving objects: 63% (217/343)
Receiving objects: 64% (220/343)
Receiving objects: 65% (223/343)
Receiving objects: 66% (227/343)
Receiving objects: 67% (230/343)
Receiving objects: 68% (234/343)
Receiving objects: 69% (237/343)
Receiving objects: 70% (241/343)
Receiving objects: 71% (244/343)
Receiving objects: 72% (247/343)
Receiving objects: 73% (251/343)
Receiving objects: 74% (254/343)
Receiving objects: 75% (258/343)
Receiving objects: 76% (261/343)
Receiving objects: 77% (265/343)
Receiving objects: 78% (268/343)
Receiving objects: 79% (271/343)
Receiving objects: 80% (275/343)
Receiving objects: 81% (278/343)
Receiving objects: 82% (282/343)
Receiving objects: 83% (285/343)
Receiving objects: 84% (289/343)
Receiving objects: 85% (292/343)
Receiving objects: 86% (295/343)
Receiving objects: 87% (299/343)
Receiving objects: 88% (302/343)
Receiving objects: 89% (306/343)
Receiving objects: 90% (309/343)
Receiving objects: 91% (313/343)
Receiving objects: 92% (316/343)
Receiving objects: 93% (319/343)
Receiving objects: 94% (323/343)
Receiving objects: 95% (326/343)
Receiving objects: 96% (330/343)
Receiving objects: 97% (333/343)
Receiving objects: 98% (337/343)
Receiving objects: 99% (340/343)
Receiving objects: 100% (343/343)
Receiving objects: 100% (343/343), 61.60 KiB, done.
remote: Total 343 (delta 3), reused 3 (delta 2), pack-reused 336e[K
Resolving deltas: 12% (35/274)
Resolving deltas: 15% (43/274)
Resolving deltas: 16% (44/274)
Resolving deltas: 29% (80/274)
Resolving deltas: 32% (89/274)
Resolving deltas: 35% (98/274)
Resolving deltas: 41% (115/274)
Resolving deltas: 42% (117/274)
Resolving deltas: 43% (120/274)
Resolving deltas: 44% (122/274)
Resolving deltas: 45% (124/274)
Resolving deltas: 51% (140/274)
Resolving deltas: 56% (156/274)
Resolving deltas: 57% (157/274)
Resolving deltas: 58% (159/274)
Resolving deltas: 66% (182/274)
Resolving deltas: 67% (186/274)
Resolving deltas: 68% (187/274)
Resolving deltas: 69% (191/274)
Resolving deltas: 71% (197/274)
Resolving deltas: 74% (205/274)
Resolving deltas: 77% (211/274)
Resolving deltas: 84% (232/274)
Resolving deltas: 85% (233/274)
Resolving deltas: 86% (238/274)
Resolving deltas: 88% (242/274)
Resolving deltas: 90% (248/274)
Resolving deltas: 96% (265/274)
Resolving deltas: 97% (266/274)
Resolving deltas: 98% (270/274)
Resolving deltas: 100% (274/274)
Resolving deltas: 100% (274/274), done.
debian@beaglebone:/$ uname -r
3.8.13-bone70
debian@beaglebone:/$ cd yakbuild
debian@beaglebone:/$ ls
ebine edeve ehomee lost+founde emnte eproc run selinux sys usr yakbuilde[0m
boote etc libe media opte roote sbin srve tmp vare
debian@beaglebone:/$ cd yakbuild
debian@beaglebone:/yakbuild$ ls
build_deb.she readme.md recipe.sh.v4.4.x.sample etoolse
mbuild_kernel.she recipe.sh.sample recipe.sh.v4.9.x.sample version.sh
LICENSE recipe.sh.v3.8.x.sample erepo_maintenancee
epatchese recipe.sh.v4.14.x.sample scriptse[0m
patch.sh recipe.sh.v4.1.x.sample system.sh.sample
debian@beaglebone:/yakbuild$ cat recipe.sh.v38.x.sampee
#!/bin/sh

It's giving you directions to do right here ^.

The rerun ./build_kernel.sh

Regards,

Robert, thanks for the feedback. As you have probably already guessed, I am new to the board. We are using it as an embedded controller so I am feeling my way through the OS. I haven’t dealt with Linux based systems in over 20 years.

Have a wonderful day.

Respectfully,
Sean Donovan

Well, I performed the Kernel update yesterday. It appeared to be successful, but after a reboot to the SD Card, still same failure. Not sure what I did wrong. Attached is the log file of the update. Thank you again for all the help. ~Sean

Kernel Update completed but still fail.log (721 KB)

No you didn't.. You just "built it"..

As it is plain to see, I don’t know what the hell I am doing. I suspected the “56” was wrong, but I am blindly following directions at this point just trying to get this out as it is becoming a production issue. I do appreciate all the help. I’ll go back and rebuild per your instruction below and then get online and find instructions on how to do the “install” after it is build. Thanks again and have a great day. ~Sean

Actually i won't bother rebuilding, i just took a re-look at 2015-03-01

It's not as old as some of the old 3.8.13 based wheezy images, and
thus supports installing kernel via the repo..

So, instead just run:

sudo apt-get update
sudo apt-get install linux-image-3.8.13-bone84
sudo reboot

Regards,

Great Thanks!!

I wish all technical support was this immediate.

Sean

That's because everyone on this list is a volunteer... :wink:

Regards,

Robert is a Jewel among shiny pebbles !

Hi Robert,

You are do a great job for the Beaglebone community.
I am stuck in one situation, I am using beaglebone green BBG2 board with linux kernel 3.8.13-bone80, I want to connect Touch LCD through the seeedstudio cape, but I don’t get /dev/fb0 framebuffer in the kernel image.
I even downloaded and build the kernel image from yakbuild as well your bb-kernel repository, but still it doesn’t show up /dev/fb0 when I run on the BBG2 board.
Kindly let me know if I am missing anything in your steps, how do I install the built kernel on host PC to the BBG board?
If I want to change the LCD driver source code, how do I change it and install the same on the BBG board?
Your reply and help appreciated.

Thanks with kind Regards,
Tejas Pawaskar