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/yakbuild                                       
               
Cloning into 'yakbuild'...
remote: Counting objects: 343, done. [K
remote: Compressing objects:  20% (1/5)    [K
remote: Compressing objects:  40% (2/5)    [K
remote: Compressing objects:  60% (3/5)    [K
remote: Compressing objects:  80% (4/5)    [K
remote: Compressing objects: 100% (5/5)    [K
remote: Compressing objects: 100% (5/5), done. [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 336 [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
 bin     dev    home   lost+found    mnt   proc  run   selinux  sys  usr  
yakbuild [0m
boot   etc   lib   media  opt  root  sbin  srv   tmp   var 
debian@beaglebone:/$ cd yakbuild
debian@beaglebone:/yakbuild$ ls
build_deb.sh     readme.md                 recipe.sh.v4.4.x.sample   tools 
mbuild_kernel.sh   recipe.sh.sample          recipe.sh.v4.9.x.sample  
version.sh
LICENSE          recipe.sh.v3.8.x.sample    repo_maintenance 
 patches           recipe.sh.v4.14.x.sample scripts [0m
patch.sh         recipe.sh.v4.1.x.sample   system.sh.sample
debian@beaglebone:/yakbuild$ cat recipe.sh.v38.x.sampe  
#!/bin/sh
#
ARCH=$(uname -m)

#arm
KERNEL_ARCH=arm
#toolchain="gcc_linaro_eabi_4_8"
#toolchain="gcc_linaro_eabi_4_9"
#toolchain="gcc_linaro_eabi_5"
#toolchain="gcc_linaro_eabi_6"
#toolchain="gcc_linaro_eabi_7"
#toolchain="gcc_linaro_gnueabi_4_6"
toolchain="gcc_linaro_gnueabihf_4_7"
#toolchain="gcc_linaro_gnueabihf_4_8"
#toolchain="gcc_linaro_gnueabihf_4_9"
#toolchain="gcc_linaro_gnueabihf_5"
#toolchain="gcc_linaro_gnueabihf_6"
#toolchain="gcc_linaro_gnueabihf_7"
#arm64
#KERNEL_ARCH=arm64
#toolchain="gcc_linaro_aarch64_gnu_5"
#toolchain="gcc_linaro_aarch64_gnu_6"
#toolchain="gcc_linaro_aarch64_gnu_7"

#Kernel/Build
kernel_tag="3.8.13-bone86"
debian@beaglebone:/yakbuild$ sudo cp recipe.sh.v3.8.x.sample recipe.sh
debian@beaglebone:/yakbuild$ ls
 [0m [01;32mbuild_deb.sh [0m     recipe.sh                 
recipe.sh.v4.9.x.sample
 [01;32mbuild_kernel.sh [0m  recipe.sh.sample           repo_maintenance [0m
LICENSE          recipe.sh.v3.8.x.sample    scripts 
 patches [0m          recipe.sh.v4.14.x.sample  system.sh.sample
patch.sh         recipe.sh.v4.1.x.sample    tools 
readme.md        recipe.sh.v4.4.x.sample   version.sh
debian@beaglebone:/yakbuild$ sudo nano recipe.sh
 [1;24r [0;10m [4l [?7h [?25h [?0c [39;49m [39;49m [0;10m [H [J [0;10;7m  
GNU nano 2.2.6              File: 
recipe.sh                                    [3;1H [0;10m [36m#!/bin/sh
 [4d# [5d  [39m [0;10mARCH [32m=$( [39m [0;10muname -m [32m)
 [7d [36m#arm
 [8d [39m [0;10mKERNEL_ARCH [32m= [39m [0;10marm
 [9d [36m#toolchain= [0;10;1m [33m"gcc_linaro_eabi_4_8"
 [10d [0;10m [36m#toolchain= [0;10;1m [33m"gcc_linaro_eabi_4_9"
 [11d [0;10m [36m#toolchain= [0;10;1m [33m"gcc_linaro_eabi_5"
 [12d [0;10m [36m#toolchain= [0;10;1m [33m"gcc_linaro_eabi_6"
 [13d [0;10m [36m#toolchain= [0;10;1m [33m"gcc_linaro_eabi_7"
 [14d [0;10m [36m#toolchain= [0;10;1m [33m"gcc_linaro_gnueabi_4_6"
 [15d [39m [0;10mtoolchain [32m= [0;10;1m [33m"gcc_linaro_gnueabihf_4_7"
 [16d [0;10m [36m#toolchain= [0;10;1m [33m"gcc_linaro_gnueabihf_4_8"
 [17d [0;10m [36m#toolchain= [0;10;1m [33m"gcc_linaro_gnueabihf_4_9"
 [18d [0;10m [36m#toolchain= [0;10;1m [33m"gcc_linaro_gnueabihf_5"
 [19d [0;10m [36m#toolchain= [0;10;1m [33m"gcc_linaro_gnueabihf_6"
 [20d [0;10m [36m#toolchain= [0;10;1m [33m"gcc_linaro_gnueabihf_7"
 [21d [0;10m [36m#arm64 [22;32H [39m [0;10;7m[ Read 26 lines ]
 [23d^G [0;10m Get Help   [0;10;7m^O [0;10m WriteOut   [0;10;7m^R [0;10m 
Read File  [0;10;7m^Y [0;10m Prev Page  [0;10;7m^K [0;10m Cut Text  
 [0;10;7m^C [0;10m Cur Pos
 [24d [0;10;7m^X [0;10m Exit [14G [0;10;7m^J [0;10m Justify   
 [0;10;7m^W [0;10m Where Is   [0;10;7m^V [0;10m Next Page 
 [0;10;7m^U [0;10m UnCut Text [0;10;7m^T [0;10m To Spell
 [3d [4d [5d [6d [7d [8d [9d [10d [11d [12d [13d [14d [15d [16d [17d [18d [19d 
[20d [21d [3;21r [3;1H [10M [1;24r [12;1H [36m#KERNEL_ARCH=arm64
 [13d#toolchain= [0;10;1m [33m"gcc_linaro_aarch64_gnu_5"
 [14d [0;10m [36m#toolchain= [0;10;1m [33m"gcc_linaro_aarch64_gnu_6"
 [15d [0;10m [36m#toolchain= [0;10;1m [33m"gcc_linaro_aarch64_gnu_7"
 [17d [0;10m [36m#Kernel/Build
 [18d [39m [0;10mkernel_tag [32m= [0;10;1m [33m"3.8.13-bone86"
 [12d [39m [0;10m [13d [14d [15d [16d [17d [18d [22d [K [18dkernel_tag [C [C [C 
[C [C [C [C [C [C [C [C [C [C [C [1;71H [0;10;7mModified [18;24H [0;10;1m 
[33m6" [39m [0;10m [K   [0;10;1m [33m56"   [39m [0;10m [C [C
 [22d [0;10;7mFile Name to Write: 
recipe.sh                                                   
 [23;14H [0;10m        [0;10;7mM-D [0;10m DOS Format      
 [0;10;7mM-A [0;10m Append           [0;10;7mM-B [0;10m Backup 
File [24;2H [0;10;7mC [0;10m Cancel            [0;10;7mM-M [0;10m Mac 
Format       [0;10;7mM-P [0;10m 
Prepend [K [22;30H [1;71H [39;49m [0;10;7m         [22;31H [0;10m [1K 
 [0;10;7m[ Wrote 26 lines ] [0;10m [K [23;14H [0;10;7m^O [0;10m WriteOut  
 [0;10;7m^R [0;10m Read File  [0;10;7m^Y [0;10m Prev Page 
 [0;10;7m^K [0;10m Cut Text   [0;10;7m^C [0;10m Cur 
Pos [24;2H [0;10;7mX [0;10m Exit       [0;10;7m^J [0;10m Justify   
 [0;10;7m^W [0;10m Where Is   [0;10;7m^V [0;10m Next Page 
 [0;10;7m^U [0;10m UnCut Text [0;10;7m^T [0;10m To Spell [18;27H
 [23d [J [24;80H [24;1H
debian@beaglebone:/yakbuild$ sudo sed -i -e 
's:3.8.13-bone86:3.8.13-bone56:g' recipe.sh
debian@beaglebone:/yakbuild$ sudo wget 
https://raw.githubusercontent.com/RobertCNelson/bb-kernel/am33x-v3.8/patches/emmc/0001-mmc-core-Update-the-ext-csd.rev-check-for-eMMC5.1.patch
--2018-04-11 21:43:59--  
https://raw.githubusercontent.com/RobertCNelson/bb-kernel/am33x-v3.8/patches/emmc/0001-mmc-core-Update-the-ext-csd.rev-check-for-eMMC5.1.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 
151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com 
(raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1153 (1.1K) [text/plain]
Saving to: `0001-mmc-core-Update-the-ext-csd.rev-check-for-eMMC5.1.patch'


 0% [                                       ] 0           
--.-K/s              
100%[======================================>] 1,153       --.-K/s   in 
0s      

2018-04-11 21:44:01 (5.16 MB/s) - 
`0001-mmc-core-Update-the-ext-csd.rev-check-for-eMMC5.1.patch' saved 
[1153/1153]

debian@beaglebone:/yakbuild$ sudo wget 
https://raw.githubusercontent.com/RobertCNelson/bb-kernel/am33x-v3.8/patches/emmc/0002-mmc-Allow-forward-compatibility-for-eMMC.patch
--2018-04-11 21:44:17--  
https://raw.githubusercontent.com/RobertCNelson/bb-kernel/am33x-v3.8/patches/emmc/0002-mmc-Allow-forward-compatibility-for-eMMC.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 
151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com 
(raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1513 (1.5K) [text/plain]
Saving to: `0002-mmc-Allow-forward-compatibility-for-eMMC.patch'


 0% [                                       ] 0           
--.-K/s              
100%[======================================>] 1,513       --.-K/s   in 
0s      

2018-04-11 21:44:19 (6.62 MB/s) - 
`0002-mmc-Allow-forward-compatibility-for-eMMC.patch' saved [1513/1513]

debian@beaglebone:/yakbuild$ sudo mv 
0001-mmc-core-Update-the-ext-csd.rev-check-for-eMMC5.1.patch 
./patches/local_patches/
debian@beaglebone:/yakbuild$ sudo mv 
0002-mmc-Allow-forward-compatibility-for-eMMC.patch ./patches/local_patches/
debian@beaglebone:/yakbuild$ ls
mbuild_deb.sh      recipe.sh                 recipe.sh.v4.9.x.sample
 build_kernel.sh   recipe.sh.sample           [01;34mrepo_maintenance [0m
LICENSE          recipe.sh.v3.8.x.sample    scripts 
mpatches           recipe.sh.v4.14.x.sample  system.sh.sample
patch.sh         recipe.sh.v4.1.x.sample    tools 
readme.md        recipe.sh.v4.4.x.sample   version.sh
debian@beaglebone:/yakbuild$ sudo ./build_kernel.sh
+ Detected build host [Debian GNU/Linux 7.8 (wheezy)]
+ host: [armv7l]
+ git HEAD commit: [cf96eadcdf82479e00e2f33ed4c8141ac904bbf6]
Debian/Ubuntu/Mint: missing dependencies, please install:
-----------------------------
sudo apt-get update
sudo apt-get install bc lzma lzop libncurses5-dev libcurl4-gnutls-dev 
libelf-dev 
-----------------------------
* Failed dependency check
debian@beaglebone:/yakbuild$ 


On Wednesday, April 11, 2018 at 12:19:32 PM UTC-7, RobertCNelson wrote:
>
> On Wed, Apr 11, 2018 at 1:41 PM,  <bsdo...@gmail.com <javascript:>> 
> wrote: 
> > 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 
> > ----------------------------- 
> > Checking for Valid BBB EEPROM header 
> > Valid BBB EEPROM header found 
> > ----------------------------- 
> > copying: [/dev/mmcblk0] -> [/dev/mmcblk1] 
> > lsblk: 
> > NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT 
> > mmcblk0     179:0    0   7.4G  0 disk 
> > |-mmcblk0p1 179:1    0    96M  0 part /boot/uboot 
> > `-mmcblk0p2 179:2    0   3.5G  0 part / 
> > ----------------------------- 
> > df -h | grep rootfs: 
> > rootfs          3.5G  1.8G  1.6G  54% / 
> > ----------------------------- 
> > Error: [/dev/mmcblk1] does not exist 
> > writing to [/dev/mmcblk1] failed.... 
> > 
> > I am powered off a 5A, 5V DC supply and I never peak above 300 mA. 
> > 
> > So to make sure my process is okay, I tried going from the Debian 8.3 
> > 2016-01-24 to the Debian 8.6 2016-11-06 4GB SD LXQT image.  This worked 
> fine 
> > and the 8.6 ran on the eMMC.  I then rolled back to the 8.3 image with 
> no 
> > issues.  So I think my process is okay. 
> > 
> > It appears to be an issue with mounting of the eMMC "drive" 
> > 
> > Any help or advice would be greatly appreciated. 
>
> 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 Nelson 
> https://rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/b753af5f-7b78-4922-9971-390547cf36d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to