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

280 views
Skip to first unread message

bsdo...@gmail.com

unread,
Apr 11, 2018, 2:52:36 PM4/11/18
to BeagleBoard
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.

Sean D.

Below are the uEnv.txt file and the actual boot with failure from the SD Card with the 7.8 flasher image on it. 


The following is my Debian 7.8 image uEnv.txt file as setup to be the flasher:
================================================================================================================
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=3.8.13-bone70
#dtb=
cmdline=quiet init=/lib/systemd/systemd

##Example
#cape_disable=capemgr.disable_partno=
#cape_enable=capemgr.enable_partno=

##Disable HDMI/eMMC
#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G

##Disable HDMI
#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN

##Disable eMMC
#cape_disable=capemgr.disable_partno=BB-BONE-EMMC-2G

##Audio Cape (needs HDMI Audio disabled)
#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI
#cape_enable=capemgr.enable_partno=BB-BONE-AUDI-02


##enable BBB: eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
===========================================================================================================

Here is the entire boot sequence with failure:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.04.10 12:20:51 =~=~=~=~=~=~=~=~=~=~=~=

U-Boot SPL 2016.01-00001-g4eb802e (Jan 13 2016 - 11:14:31)
Trying to boot from MMC
bad magic



U-Boot 2016.01-00001-g4eb802e (Jan 13 2016 - 11:14:31 -0600), Build: jenkins-github_Bootloader-Builder-313


       Watchdog enabled

I2C:   ready

DRAM:  512 MiB

Reset Source: Power-on reset has occurred.

MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

Using default environment


Net:   <ethaddr> not set. Validating first E-fuse MAC

cpsw, usb_ether

Press SPACE to abort autoboot in 2 seconds

switch to partitions #0, OK

mmc0 is current device

Scanning mmc 0:1...

gpio: pin 56 (gpio 56) value is 0

gpio: pin 55 (gpio 55) value is 0

gpio: pin 54 (gpio 54) value is 0

gpio: pin 53 (gpio 53) value is 1

switch to partitions #0, OK

mmc0 is current device

gpio: pin 54 (gpio 54) value is 1

Checking for: /uEnv.txt ...

reading uEnv.txt

933 bytes read in 4 ms (227.5 KiB/s)

gpio: pin 55 (gpio 55) value is 1

Loaded environment from uEnv.txt

Importing environment from mmc ...

Checking if uenvcmd is set ...

gpio: pin 56 (gpio 56) value is 1

Running uenvcmd ...

775 bytes read in 40 ms (18.6 KiB/s)

5617184 bytes read in 340 ms (15.8 MiB/s)

2867606 bytes read in 192 ms (14.2 MiB/s)

26098 bytes read in 64 ms (397.5 KiB/s)

Kernel image @ 0x82000000 [ 0x000000 - 0x55b620 ]

## Flattened Device Tree blob at 88000000

   Booting using the fdt blob at 0x88000000

   Using Device Tree in place at 88000000, end 880095f1


Starting kernel ...


Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.8.13-bone70 (root@a5-imx6q-wandboard-2gb) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Fri Jan 23 02:15:42 UTC 2015
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM335X ES2.1 (l2cache sgx neon )
[    0.000000] PERCPU: Embedded 9 pages/cpu @c0d4e000 s14080 r8192 d14592 u36864
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129792
[    0.000000] Kernel command line: console=tty0 console=ttyO0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] allocated 1048576 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 511MB = 511MB total
[    0.000000] Memory: 505344k/505344k available, 18944k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf800000 - 0xbfe00000   (   6 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07fda30   (8151 kB)
[    0.000000]       .init : 0xc07fe000 - 0xc083b700   ( 246 kB)
[    0.000000]       .data : 0xc083c000 - 0xc08c3980   ( 543 kB)
[    0.000000]        .bss : 0xc08c3980 - 0xc093d140   ( 486 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] NR_IRQS:0 nr_irqs:0 0
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty0] enabled
[    0.000636] Calibrating delay loop... 993.47 BogoMIPS (lpj=969728)
[    0.029190] pid_max: default: 32768 minimum: 301
[    0.029332] Security Framework initialized
[    0.029395] Mount-cache hash table entries: 512
[    0.035135] Initializing cgroup subsys cpuacct
[    0.035183] Initializing cgroup subsys memory
[    0.035229] Initializing cgroup subsys blkio
[    0.035322] CPU: Testing write buffer coherency: ok
[    0.035722] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.035790] Setting up static identity map for 0x804d4d08 - 0x804d4d54
[    0.036717] Brought up 1 CPUs
[    0.036747] SMP: Total of 1 processors activated (993.47 BogoMIPS).
[    0.037555] devtmpfs: initialized
[    0.045861] omap_hwmod: wd_timer2: _wait_target_disable failed
[    0.097988] pinctrl core: initialized pinctrl subsystem
[    0.098141] rstctl core: initialized rstctl subsystem
[    0.098431] regulator-dummy: no parameters
[    0.098760] NET: Registered protocol family 16
[    0.099284] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.104867] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.105496] platform 49000000.edma: alias fck already exists
[    0.105528] platform 49000000.edma: alias fck already exists
[    0.105550] platform 49000000.edma: alias fck already exists
[    0.106265] OMAP GPIO hardware version 0.1
[    0.108774] gpio-rctrl rstctl.4: loaded OK
[    0.112159] No ATAGs?
[    0.112181] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.113478] cpsw.0: No hwaddr in dt. Using 98:84:e3:a5:0a:b1 from efuse
[    0.113515] cpsw.1: No hwaddr in dt. Using 98:84:e3:a5:0a:b3 from efuse
[    0.121551] bio: create slab <bio-0> at 0
[    0.127832] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.128133] vmmcsd_fixed: 3300 mV
[    0.129743] SCSI subsystem initialized
[    0.129995] usbcore: registered new interface driver usbfs
[    0.130063] usbcore: registered new interface driver hub
[    0.130279] usbcore: registered new device driver usb
[    0.131542] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    0.132449] input: tps65217_pwr_but as /devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0
[    0.134098] DCDC1: at 1500 mV
[    0.134946] vdd_mpu: 925 <--> 1325 mV at 1325 mV
[    0.135764] vdd_core: 925 <--> 1150 mV at 1125 mV
[    0.136571] LDO1: at 1800 mV
[    0.137422] LDO2: at 3300 mV
[    0.138935] LDO3: 1800 mV
[    0.139747] LDO4: at 3300 mV
[    0.140465] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    0.140971] omap_i2c 44e0b000.i2c: unable to select pin group
[    0.141453] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
[    0.142895] omap_i2c 4819c000.i2c: unable to select pin group
[    0.143061] media: Linux media interface: v0.10
[    0.143133] Linux video capture interface: v2.00
[    0.143210] pps_core: LinuxPPS API ver. 1 registered
[    0.143225] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giom...@linux.it>
[    0.143262] PTP clock support registered
[    0.143663] Advanced Linux Sound Architecture Driver Initialized.
[    0.144258] NetLabel: Initializing
[    0.144282] NetLabel:  domain hash size = 128
[    0.144295] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.144370] NetLabel:  unlabeled traffic allowed by default
[    0.144642] Switching to clocksource gp_timer
[    0.175926] NET: Registered protocol family 2
[    0.176642] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.176740] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
[    0.176830] TCP: Hash tables configured (established 4096 bind 4096)
[    0.176901] TCP: reno registered
[    0.176922] UDP hash table entries: 256 (order: 1, 12288 bytes)
[    0.176954] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[    0.177195] NET: Registered protocol family 1
[    0.177599] RPC: Registered named UNIX socket transport module.
[    0.177627] RPC: Registered udp transport module.
[    0.177641] RPC: Registered tcp transport module.
[    0.177654] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.177886] Trying to unpack rootfs image as initramfs...
[    0.372829] Freeing initrd memory: 2800K
[    0.373159] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.373516] CPU PMU: attempt to register multiple PMU devices!
[    0.373548] arm-pmu: probe of arm-pmu failed with error -28
[    0.373866] omap2_mbox_probe: platform not supported
[    0.524170] VFS: Disk quotas dquot_6.5.2
[    0.524341] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.525061] NFS: Registering the id_resolver key type
[    0.525155] Key type id_resolver registered
[    0.525171] Key type id_legacy registered
[    0.525451] fuse init (API version 7.20)
[    0.525950] Btrfs loaded
[    0.526062] msgmni has been set to 992
[    0.527757] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.527799] io scheduler noop registered
[    0.527813] io scheduler deadline registered
[    0.527841] io scheduler cfq registered (default)
[    0.528977] tps65217-bl tps65217-bl: no platform data provided
[    0.529017] tps65217-bl: probe of tps65217-bl failed with error -22
[    0.529614] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.530924] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
[    0.531216] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[    1.292912] console [ttyO0] enabled
[    1.297273] [drm] Initialized drm 1.1.0 20060810
[    1.309428] brd: module loaded
[    1.316356] loop: module loaded
[    1.319763] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.327005] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.334249] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.341473] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.348697] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.362634] bone-capemgr bone_capemgr.9: Baseboard: 'A335BNLT,00C0,3917BBBK1E86'
[    1.370443] bone-capemgr bone_capemgr.9: compatible-baseboard=ti,beaglebone-black
[    1.408395] bone-capemgr bone_capemgr.9: slot #0: No cape found
[    1.445502] bone-capemgr bone_capemgr.9: slot #1: No cape found
[    1.482610] bone-capemgr bone_capemgr.9: slot #2: No cape found
[    1.519720] bone-capemgr bone_capemgr.9: slot #3: No cape found
[    1.525956] bone-capemgr bone_capemgr.9: slot #4: specific override
[    1.532536] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4
[    1.540552] bone-capemgr bone_capemgr.9: slot #4: 'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'
[    1.550629] bone-capemgr bone_capemgr.9: slot #5: specific override
[    1.557204] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5
[    1.565221] bone-capemgr bone_capemgr.9: slot #5: 'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI'
[    1.575204] bone-capemgr bone_capemgr.9: slot #6: specific override
[    1.581775] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 6
[    1.589795] bone-capemgr bone_capemgr.9: slot #6: 'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN'
[    1.600206] bone-capemgr bone_capemgr.9: loader: before slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[    1.609065] bone-capemgr bone_capemgr.9: loader: check slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[    1.617886] bone-capemgr bone_capemgr.9: loader: before slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[    1.626640] bone-capemgr bone_capemgr.9: loader: check slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[    1.635318] bone-capemgr bone_capemgr.9: initialized OK.
[    1.640894] bone-capemgr bone_capemgr.9: loader: before slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.649723] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.659881] OneNAND driver initializing
[    1.664846] usbcore: registered new interface driver cdc_ether
[    1.670998] bone-capemgr bone_capemgr.9: loader: after slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[    1.679792] usbcore: registered new interface driver rndis_host
[    1.686050] bone-capemgr bone_capemgr.9: loader: after slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[    1.694720] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.703538] usbcore: registered new interface driver cdc_ncm
[    1.709489] bone-capemgr bone_capemgr.9: slot #4: Requesting firmware 'cape-bone-2g-emmc1.dtbo' for board-name 'Bone-LT-eMMC-2G', version '00A0'
[    1.723509] usbcore: registered new interface driver cdc_acm
[    1.729456] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.737831] Initializing USB Mass Storage driver...
[    1.742958] bone-capemgr bone_capemgr.9: slot #4: dtbo 'cape-bone-2g-emmc1.dtbo' loaded; converting to live tree
[    1.753647] bone-capemgr bone_capemgr.9: slot #5: Requesting firmware 'cape-boneblack-hdmi-00A0.dtbo' for board-name 'Bone-Black-HDMI', version '00A0'
[    1.767822] usbcore: registered new interface driver usb-storage
[    1.774118] USB Mass Storage support registered.
[    1.779160] bone-capemgr bone_capemgr.9: slot #4: #2 overlays
[    1.785777] bone-capemgr bone_capemgr.9: slot #4: Applied #2 overlays.
[    1.792651] bone-capemgr bone_capemgr.9: loader: done slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[    1.801334] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.810107] bone-capemgr bone_capemgr.9: slot #5: dtbo 'cape-boneblack-hdmi-00A0.dtbo' loaded; converting to live tree
[    1.821458] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    1.828026] musb-hdrc musb-hdrc.0.auto: pdev->id = 0
[    1.833260] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:480 dsps_musb_init: OK
[    1.842550] bone-capemgr bone_capemgr.9: slot #5: #4 overlays
[    1.850062] platform 4830e000.fb: alias fck already exists
[    1.856041] musb-hdrc musb-hdrc.0.auto: *** mode=3
[    1.861107] musb-hdrc musb-hdrc.0.auto: *** power=250
[    1.867418] bone-capemgr bone_capemgr.9: slot #5: Applied #4 overlays.
[    1.874286] bone-capemgr bone_capemgr.9: loader: done slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[    1.882871] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.892132] musb-hdrc musb-hdrc.1.auto: pdev->id = 1
[    1.897390] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:480 dsps_musb_init: OK
[    1.906159] bone-capemgr bone_capemgr.9: loader: after slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.915029] musb-hdrc musb-hdrc.1.auto: *** mode=1
[    1.920059] musb-hdrc musb-hdrc.1.auto: *** power=250
[    1.925359] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.931411] bone-capemgr bone_capemgr.9: slot #6: Requesting firmware 'cape-boneblack-hdmin-00A0.dtbo' for board-name 'Bone-Black-HDMIN', version '00A0'
[    1.945920] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.954290] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.961420] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.968980] usb usb1: Product: MUSB HDRC host driver
[    1.974183] usb usb1: Manufacturer: Linux 3.8.13-bone70 musb-hcd
[    1.980471] usb usb1: SerialNumber: musb-hdrc.1.auto
[    1.985726] bone-capemgr bone_capemgr.9: slot #6: dtbo 'cape-boneblack-hdmin-00A0.dtbo' loaded; converting to live tree
[    1.997598] hub 1-0:1.0: USB hub found
[    2.001786] hub 1-0:1.0: 1 port detected
[    2.006159] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
[    2.015728] bone-capemgr bone_capemgr.9: slot #6: Failed verification
[    2.022484] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    2.032859] mousedev: PS/2 mouse device common for all mice
[    2.040335] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    2.048025] i2c /dev entries driver
[    2.052688] pps_ldisc: PPS line discipline registered
[    2.058273] Driver for 1-wire Dallas network protocol.
[    2.064919] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.072634] device-mapper: ioctl: 4.23.1-ioctl (2012-12-18) initialised: dm-d...@redhat.com
[    2.081543] cpuidle: using governor ladder
[    2.085877] cpuidle: using governor menu
[    2.090308] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
[    2.097529] omap_hsmmc mmc.5: Failed to get rstctl; not using any
[    2.104205] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[    2.111384] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[    2.118662] mmc.5 supply vmmc_aux not found, using dummy regulator
[    2.125469] omap_hsmmc mmc.5: pins are not configured from the driver
[    2.158619] gpio-rctrl rstctl.4: gpio_rctrl_request eMMC_RSTn
[    2.164780] omap_hsmmc mmc.11: Got rstctl (gpio:#0 name eMMC_RSTn) label:eMMC_RSTn
[    2.172753] gpio-rctrl rstctl.4: gpio_rctrl_deassert eMMC_RSTn
[    2.179095] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3
[    2.186200] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2
[    2.193586] mmc.11 supply vmmc_aux not found, using dummy regulator
[    2.200274] omap_hsmmc mmc.11: pins are not configured from the driver
[    2.234893] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[    2.246571] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[    2.253859] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
[    2.262811] leds-gpio gpio-leds.8: pins are not configured from the driver
[    2.270760] ledtrig-cpu: registered to indicate activity on CPUs
[    2.277325] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
[    2.284502] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    2.291849] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    2.298069] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
[    2.305213] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
[    2.315180] usbcore: registered new interface driver usbhid
[    2.321080] usbhid: USB HID core driver
[    2.326034] ashmem: initialized
[    2.329678] logger: created 256K log 'log_main'
[    2.334685] logger: created 256K log 'log_events'
[    2.339892] logger: created 256K log 'log_radio'
[    2.344798] mmc0: host does not support reading read-only switch. assuming write-enable.
[    2.353488] logger: created 256K log 'log_system'
[    2.361097] davinci_evm sound.14:  nxp-hdmi-hifi <-> 48038000.mcasp mapping ok
[    2.368885] mmc0: new high speed SDHC card at address aaaa
[    2.375108] mmcblk0: mmc0:aaaa SU08G 7.40 GiB
[    2.381793] TCP: cubic registered
[    2.386016] NET: Registered protocol family 10
[    2.390849]  mmcblk0: p1 p2
[    2.395468] NET: Registered protocol family 17
[    2.400520] Key type dns_resolver registered
[    2.405220] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    2.413339] ThumbEE CPU extension supported.
[    2.417858] Registering SWP/SWPB emulation handler
[    2.423468] registered taskstats version 1
[    2.429272] tilcdc 4830e000.fb: No power control GPIO
[    2.476979] mmc1: unrecognised EXT_CSD revision 8
[    2.481960] mmc1: error -22 whilst initialising MMC card
[    2.549520] tilcdc 4830e000.fb: found TDA19988
[    2.554793] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    2.561725] [drm] No driver support for vblank timestamp query.
[    2.568201] tilcdc 4830e000.fb: No connectors reported connected with modes
[    2.575536] [drm] Cannot find any crtc or sizes - going 1024x768
[    2.591118] Console: switching to colour frame buffer device 128x48
[    2.603839] tilcdc 4830e000.fb: fb0:  frame buffer device
[    2.609555] tilcdc 4830e000.fb: registered panic notifier
[    2.615341] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
[    2.670132] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    2.676628] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    2.689943] libphy: 4a101000.mdio: probed
[    2.694299] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    2.704203] Detected MACID = 98:84:e3:a5:0a:b1
[    2.708916] cpsw 4a100000.ethernet: NAPI disabled
[    2.715659] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    2.729514] ALSA device list:
[    2.732748]   #0: TI BeagleBone Black
[    2.737281] Freeing init memory: 244K
Loading, please wait...
[    2.814790] udevd[96]: starting version 175
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    3.980687] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/local-bottom ... done.
done.
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...

[    4.807782] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[    4.807782]
[    4.822273] [<c00114f1>] (unwind_backtrace+0x1/0x9c) from [<c04cb2fd>] (panic+0x59/0x15c)
[    4.833346] [<c04cb2fd>] (panic+0x59/0x15c) from [<c0033acf>] (do_exit+0x5ff/0x68c)
[    4.843880] [<c0033acf>] (do_exit+0x5ff/0x68c) from [<c0033b9f>] (do_group_exit+0x27/0x6c)
[    4.855088] [<c0033b9f>] (do_group_exit+0x27/0x6c) from [<c0033bef>] (sys_exit_group+0xb/0xc)
[    4.866580] [<c0033bef>] (sys_exit_group+0xb/0xc) from [<c000c841>] (ret_fast_syscall+0x1/0x46)
[    4.878252] drm_kms_helper: panic occurred, switching back to text console

Robert Nelson

unread,
Apr 11, 2018, 3:19:32 PM4/11/18
to Beagle Board, bsdo...@gmail.com
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/

Bobbi N Sean Donovan

unread,
Apr 11, 2018, 6:18:27 PM4/11/18
to BeagleBoard
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$

Robert Nelson

unread,
Apr 11, 2018, 9:55:37 PM4/11/18
to Beagle Board, bsdo...@gmail.com
On Wed, Apr 11, 2018 at 5:18 PM, Bobbi N Sean Donovan
<bsdo...@gmail.com> wrote:
> 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?


> 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

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

The rerun ./build_kernel.sh

Bobbi N Sean Donovan

unread,
Apr 12, 2018, 10:04:01 AM4/12/18
to BeagleBoard
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

Bobbi N Sean Donovan

unread,
Apr 13, 2018, 10:54:06 AM4/13/18
to BeagleBoard

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

Robert Nelson

unread,
Apr 13, 2018, 11:01:51 AM4/13/18
to Beagle Board, Bobbi N Sean Donovan
On Fri, Apr 13, 2018 at 9:54 AM, Bobbi N Sean Donovan
<bsdo...@gmail.com> wrote:
>
> 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

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

-----------------------------
Script Complete
eewiki.net: [user@localhost:~$ export kernel_version=3.8.13-bone56]
-----------------------------
debian@beaglebone:/yakbuild$
debian@beaglebone:/yakbuild$ uname -r
3.8.13-bone70
debian@beaglebone:/yakbuild$
U-Boot SPL 2016.01-00001-g4eb802e (Jan 13 2016 - 11:14:31)
Trying to boot from MMC
bad magic

You never actually "installed" it..

PS, why did you build "bone56", you were running "bone70"

The "doc"

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

is generic, as this same question comes up too often..

So where it says:

sed -i -e 's:3.8.13-bone86:3.8.13-bone56:g' recipe.sh

Change that to:

sed -i -e 's:3.8.13-bone86:3.8.13-bone70:g' recipe.sh

as you were running bone70..

Bobbi N Sean Donovan

unread,
Apr 13, 2018, 11:14:08 AM4/13/18
to BeagleBoard
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

Robert Nelson

unread,
Apr 13, 2018, 11:18:37 AM4/13/18
to Beagle Board, Bobbi N Sean Donovan
On Fri, Apr 13, 2018 at 10:14 AM, Bobbi N Sean Donovan
<bsdo...@gmail.com> wrote:
> 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

Bobbi N Sean Donovan

unread,
Apr 13, 2018, 11:23:19 AM4/13/18
to BeagleBoard
Great Thanks!!

I wish all technical support was this immediate.

Sean

Robert Nelson

unread,
Apr 13, 2018, 11:27:03 AM4/13/18
to Beagle Board
On Fri, Apr 13, 2018 at 10:23 AM, Bobbi N Sean Donovan
<bsdo...@gmail.com> wrote:
> Great Thanks!!
>
> I wish all technical support was this immediate.

That's because everyone on this list is a volunteer... ;)

evilwulfie

unread,
Apr 13, 2018, 11:36:16 AM4/13/18
to beagl...@googlegroups.com
Robert is a Jewel among shiny pebbles !

tejasp...@gmail.com

unread,
Oct 27, 2018, 9:43:52 AM10/27/18
to BeagleBoard
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
Reply all
Reply to author
Forward
0 new messages