eMMC flasher not working after update linux kernel

180 views
Skip to first unread message

kamil...@gmail.com

unread,
Aug 7, 2018, 12:16:39 PM8/7/18
to BeagleBoard
Hi,

I try to prepare my Beagle Bone black image to new hardware using this gist: https://gist.github.com/RobertCNelson/39faf80ddc9fcefae74dce2c6ca2eb45 . I was update from Linux kernel 3.8.13-bone59 to version 3.8.13-bone86. When I start from SD card linux is booting and working well. My problem is that flasher to eMMC not working. Script cannot find Source and Destination devices and throw kernel panic. I'm posting below logs with enabled flashing on booting.  
U-Boot SPL 2014.07-rc4-00015-g5bcd74d (Jul 04 2014 - 16:03:33)
reading u-boot.img
reading u-boot.img


U-Boot 2014.07-rc4-00015-g5bcd74d (Jul 04 2014 - 16:03:33), Build: jenkins-github_Bootloader-Builder-345

I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot:  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
SD/MMC found on device 0
gpio: pin 55 (gpio 55) value is 1
373 bytes read in 16 ms (22.5 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt...
gpio: pin 56 (gpio 56) value is 1
loading /boot/vmlinuz-3.8.13-bone86 ...
5580368 bytes read in 337 ms (15.8 MiB/s)
loading /boot/dtbs/3.8.13-bone86/am335x-boneblack.dtb ...
26118 bytes read in 28 ms (910.2 KiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x552650 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8fff6000, end 8ffff605 ... OK

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-bone86 (km@ubuntu) (gcc version 4.7.3 20130328 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) ) #1 SMP Mon Aug 6 15:45:25 CEST 2018
[    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 @c0d64000 s14080 r8192 d14592 u36864
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129792
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk1p2 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: 508064k/508064k available, 16224k 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 - 0xc08123a4   (8233 kB)
[    0.000000]       .init : 0xc0813000 - 0xc0850700   ( 246 kB)
[    0.000000]       .data : 0xc0852000 - 0xc08da100   ( 545 kB)
[    0.000000]        .bss : 0xc08da100 - 0xc0953880   ( 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.000230] Calibrating delay loop... 993.47 BogoMIPS (lpj=969728)
[    0.029183] pid_max: default: 32768 minimum: 301
[    0.029324] Security Framework initialized
[    0.029379] Mount-cache hash table entries: 512
[    0.035010] Initializing cgroup subsys cpuacct
[    0.035066] Initializing cgroup subsys memory
[    0.035109] Initializing cgroup subsys blkio
[    0.035196] CPU: Testing write buffer coherency: ok
[    0.035571] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.035626] Setting up static identity map for 0x804aa138 - 0x804aa184
[    0.036545] Brought up 1 CPUs
[    0.036559] SMP: Total of 1 processors activated (993.47 BogoMIPS).
[    0.037331] devtmpfs: initialized
[    0.045695] omap_hwmod: wd_timer2: _wait_target_disable failed
[    0.097843] pinctrl core: initialized pinctrl subsystem
[    0.097976] rstctl core: initialized rstctl subsystem
[    0.098266] regulator-dummy: no parameters
[    0.098574] NET: Registered protocol family 16
[    0.099090] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.104665] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.105205] platform 49000000.edma: alias fck already exists
[    0.105221] platform 49000000.edma: alias fck already exists
[    0.105235] platform 49000000.edma: alias fck already exists
[    0.105973] OMAP GPIO hardware version 0.1
[    0.108418] gpio-rctrl rstctl.4: loaded OK
[    0.111636] No ATAGs?
[    0.111651] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.112891] cpsw.0: No hwaddr in dt. Using c4:f3:12:6a:1b:a7 from efuse
[    0.112911] cpsw.1: No hwaddr in dt. Using c4:f3:12:6a:1b:a9 from efuse
[    0.121218] bio: create slab <bio-0> at 0
[    0.127526] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.127798] vmmcsd_fixed: 3300 mV
[    0.129364] SCSI subsystem initialized
[    0.129606] usbcore: registered new interface driver usbfs
[    0.129680] usbcore: registered new interface driver hub
[    0.129869] usbcore: registered new device driver usb
[    0.130668] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    0.131623] input: tps65217_pwr_but as /devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0
[    0.133215] DCDC1: at 1500 mV
[    0.134042] vdd_mpu: 925 <--> 1325 mV at 1325 mV
[    0.134843] vdd_core: 925 <--> 1150 mV at 1125 mV
[    0.135644] LDO1: at 1800 mV
[    0.136427] LDO2: at 3300 mV
[    0.137945] LDO3: 1800 mV
[    0.138777] LDO4: at 3300 mV
[    0.139503] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    0.139946] omap_i2c 44e0b000.i2c: unable to select pin group
[    0.140398] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
[    0.141760] omap_i2c 4819c000.i2c: unable to select pin group
[    0.141903] media: Linux media interface: v0.10
[    0.141967] Linux video capture interface: v2.00
[    0.142052] pps_core: LinuxPPS API ver. 1 registered
[    0.142060] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giom...@linux.it>
[    0.142084] PTP clock support registered
[    0.142532] Advanced Linux Sound Architecture Driver Initialized.
[    0.143122] NetLabel: Initializing
[    0.143133] NetLabel:  domain hash size = 128
[    0.143140] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.143206] NetLabel:  unlabeled traffic allowed by default
[    0.143373] Switching to clocksource gp_timer
[    0.174345] NET: Registered protocol family 2
[    0.175026] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.175109] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
[    0.175203] TCP: Hash tables configured (established 4096 bind 4096)
[    0.175264] TCP: reno registered
[    0.175279] UDP hash table entries: 256 (order: 1, 12288 bytes)
[    0.175304] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[    0.175543] NET: Registered protocol family 1
[    0.175933] RPC: Registered named UNIX socket transport module.
[    0.175943] RPC: Registered udp transport module.
[    0.175950] RPC: Registered tcp transport module.
[    0.175957] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.176407] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.176767] CPU PMU: attempt to register multiple PMU devices!
[    0.176794] arm-pmu: probe of arm-pmu failed with error -28
[    0.177044] omap2_mbox_probe: platform not supported
[    0.329587] VFS: Disk quotas dquot_6.5.2
[    0.329720] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.330428] NFS: Registering the id_resolver key type
[    0.330508] Key type id_resolver registered
[    0.330517] Key type id_legacy registered
[    0.330797] fuse init (API version 7.20)
[    0.331282] Btrfs loaded
[    0.331381] msgmni has been set to 992
[    0.332992] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.333007] io scheduler noop registered
[    0.333015] io scheduler deadline registered
[    0.333038] io scheduler cfq registered (default)
[    0.334130] tps65217-bl tps65217-bl: failed to find backlight node
[    0.334143] tps65217-bl tps65217-bl: DT parse failed.
[    0.334676] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.336062] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
[    0.336312] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[    1.087734] console [ttyO0] enabled
[    1.092015] [drm] Initialized drm 1.1.0 20060810
[    1.104104] brd: module loaded
[    1.111040] loop: module loaded
[    1.114431] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.121672] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.128892] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.136119] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.143341] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.157176] bone-capemgr bone_capemgr.9: Baseboard: 'A335BNLT,00C0,1118BBBK0E4E'
[    1.164933] bone-capemgr bone_capemgr.9: compatible-baseboard=ti,beaglebone-black
[    1.203997] bone-capemgr bone_capemgr.9: slot #0: No cape found
[    1.241103] bone-capemgr bone_capemgr.9: slot #1: No cape found
[    1.278212] bone-capemgr bone_capemgr.9: slot #2: No cape found
[    1.315322] bone-capemgr bone_capemgr.9: slot #3: No cape found
[    1.321538] bone-capemgr bone_capemgr.9: slot #4: specific override
[    1.328104] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4
[    1.336103] bone-capemgr bone_capemgr.9: slot #4: 'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'
[    1.346162] bone-capemgr bone_capemgr.9: slot #5: specific override
[    1.352728] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5
[    1.360730] bone-capemgr bone_capemgr.9: slot #5: 'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI'
[    1.370690] bone-capemgr bone_capemgr.9: slot #6: specific override
[    1.377250] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 6
[    1.385256] bone-capemgr bone_capemgr.9: slot #6: 'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN'
[    1.395639] bone-capemgr bone_capemgr.9: loader: before slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[    1.404477] bone-capemgr bone_capemgr.9: loader: check slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[    1.413270] bone-capemgr bone_capemgr.9: loader: before slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[    1.422005] bone-capemgr bone_capemgr.9: loader: check slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[    1.430654] bone-capemgr bone_capemgr.9: initialized OK.
[    1.436215] bone-capemgr bone_capemgr.9: loader: before slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.445026] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.455189] OneNAND driver initializing
[    1.460117] usbcore: registered new interface driver cdc_ether
[    1.466252] bone-capemgr bone_capemgr.9: loader: after slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[    1.475028] usbcore: registered new interface driver rndis_host
[    1.481270] bone-capemgr bone_capemgr.9: loader: after slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[    1.489925] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.498717] usbcore: registered new interface driver cdc_ncm
[    1.504650] bone-capemgr bone_capemgr.9: slot #4: Requesting firmware 'cape-bone-2g-emmc1.dtbo' for board-name 'Bone-LT-eMMC-2G', version '00A0'
[    1.518696] usbcore: registered new interface driver cdc_acm
[    1.524628] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.532991] Initializing USB Mass Storage driver...
[    1.538108] bone-capemgr bone_capemgr.9: slot #4: dtbo 'cape-bone-2g-emmc1.dtbo' loaded; converting to live tree
[    1.548772] bone-capemgr bone_capemgr.9: slot #5: Requesting firmware 'cape-boneblack-hdmi-00A0.dtbo' for board-name 'Bone-Black-HDMI', version '00A0'
[    1.562926] usbcore: registered new interface driver usb-storage
[    1.569208] USB Mass Storage support registered.
[    1.574230] bone-capemgr bone_capemgr.9: slot #4: #2 overlays
[    1.580797] bone-capemgr bone_capemgr.9: slot #4: Applied #2 overlays.
[    1.587659] bone-capemgr bone_capemgr.9: loader: done slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[    1.596326] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.605084] bone-capemgr bone_capemgr.9: slot #5: dtbo 'cape-boneblack-hdmi-00A0.dtbo' loaded; converting to live tree
[    1.616410] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    1.623168] mousedev: PS/2 mouse device common for all mice
[    1.629584] bone-capemgr bone_capemgr.9: slot #5: #4 overlays
[    1.636703] lsm303dlhc_acc accelerometer driver: init
[    1.643325] platform 4830e000.fb: alias fck already exists
[    1.649194] i2c-core: driver [lsm303dlhc_acc] using legacy suspend method
[    1.656307] i2c-core: driver [lsm303dlhc_acc] using legacy resume method
[    1.664229] bone-capemgr bone_capemgr.9: slot #5: Applied #4 overlays.
[    1.671121] bone-capemgr bone_capemgr.9: loader: done slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[    1.679700] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.688528] lsm303dlhc_mag driver: init
[    1.692619] lsm330_acc accelerometer driver: init
[    1.697572] bone-capemgr bone_capemgr.9: loader: after slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.706350] i2c-core: driver [lsm330_acc] using legacy suspend method
[    1.713101] i2c-core: driver [lsm330_acc] using legacy resume method
[    1.719785] bone-capemgr bone_capemgr.9: slot #6: Requesting firmware 'cape-boneblack-hdmin-00A0.dtbo' for board-name 'Bone-Black-HDMIN', version '00A0'
[    1.734070] lsm330_gyr: gyroscope sysfs driver init
[    1.739768] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    1.747196] bone-capemgr bone_capemgr.9: slot #6: dtbo 'cape-boneblack-hdmin-00A0.dtbo' loaded; converting to live tree
[    1.758718] i2c /dev entries driver
[    1.763363] pps_ldisc: PPS line discipline registered
[    1.768869] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
[    1.778424] bone-capemgr bone_capemgr.9: slot #6: Failed verification
[    1.785166] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.794808] Driver for 1-wire Dallas network protocol.
[    1.801329] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.808964] device-mapper: ioctl: 4.23.1-ioctl (2012-12-18) initialised: dm-d...@redhat.com
[    1.817980] cpuidle: using governor ladder
[    1.822300] cpuidle: using governor menu
[    1.826728] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
[    1.833948] omap_hsmmc mmc.5: Failed to get rstctl; not using any
[    1.840630] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[    1.847822] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[    1.855094] mmc.5 supply vmmc_aux not found, using dummy regulator
[    1.861861] omap_hsmmc mmc.5: pins are not configured from the driver
[    1.895635] gpio-rctrl rstctl.4: gpio_rctrl_request eMMC_RSTn
[    1.901765] omap_hsmmc mmc.11: Got rstctl (gpio:#0 name eMMC_RSTn) label:eMMC_RSTn
[    1.909718] gpio-rctrl rstctl.4: gpio_rctrl_deassert eMMC_RSTn
[    1.916035] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3
[    1.923119] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2
[    1.930467] mmc.11 supply vmmc_aux not found, using dummy regulator
[    1.937131] omap_hsmmc mmc.11: pins are not configured from the driver
[    1.971863] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[    1.983541] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[    1.990818] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
[    1.999751] leds-gpio gpio-leds.8: pins are not configured from the driver
[    2.007929] ledtrig-cpu: registered to indicate activity on CPUs
[    2.014552] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
[    2.021698] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    2.029090] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    2.035306] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
[    2.042427] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
[    2.052409] usbcore: registered new interface driver usbhid
[    2.058302] usbhid: USB HID core driver
[    2.063218] ashmem: initialized
[    2.066791] logger: created 256K log 'log_main'
[    2.071791] logger: created 256K log 'log_events'
[    2.076765] mmc0: host does not support reading read-only switch. assuming write-enable.
[    2.085434] logger: created 256K log 'log_radio'
[    2.090465] logger: created 256K log 'log_system'
[    2.098113] davinci_evm sound.14:  nxp-hdmi-hifi <-> 48038000.mcasp mapping ok
[    2.105855] mmc0: new high speed SDHC card at address aaaa
[    2.112067] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[    2.118831] TCP: cubic registered
[    2.123054] NET: Registered protocol family 10
[    2.127908]  mmcblk0: p1 p2
[    2.132430] NET: Registered protocol family 17
[    2.137452] Key type dns_resolver registered
[    2.142139] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    2.150237] ThumbEE CPU extension supported.
[    2.154751] Registering SWP/SWPB emulation handler
[    2.160368] registered taskstats version 1
[    2.166119] tilcdc 4830e000.fb: No power control GPIO
[    2.255012] mmc1: BKOPS_EN bit is not set
[    2.262732] mmc1: new high speed MMC card at address 0001
[    2.268887] mmcblk1: mmc1:0001 M62704 3.56 GiB
[    2.273859] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
[    2.280453] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
[    2.288265]  mmcblk1: p1 p2
[    2.291767] tilcdc 4830e000.fb: found TDA19988
[    2.297980] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    2.304914] [drm] No driver support for vblank timestamp query.
[    2.311228]  mmcblk1boot1: unknown partition table
[    2.316539] tilcdc 4830e000.fb: No connectors reported connected with modes
[    2.324508] [drm] Cannot find any crtc or sizes - going 1024x768
[    2.332984]  mmcblk1boot0: unknown partition table
[    2.344847] Console: switching to colour frame buffer device 128x48
[    2.357392] tilcdc 4830e000.fb: fb0:  frame buffer device
[    2.363035] tilcdc 4830e000.fb: registered panic notifier
[    2.368722] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
[    2.422760] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    2.429150] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    2.436678] libphy: 4a101000.mdio: probed
[    2.440905] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    2.450642] Detected MACID = c4:f3:12:6a:1b:a7
[    2.455215] cpsw 4a100000.ethernet: NAPI disabled
[    2.461747] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    2.475392] ALSA device list:
[    2.478558]   #0: TI BeagleBone Black
[    2.491754] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.500295] VFS: Mounted root (ext4 filesystem) readonly on device 179:10.
[    2.508048] devtmpfs: mounted
[    2.511474] Freeing init memory: 244K
================================================================================
Starting eMMC Flasher from microSD media
Version: [1.20180412: all ssh regneration override...]
================================================================================

================================================================================
Prepare environment for flashing
Starting at Sat Jan  1 00:00:00 UTC 2000
----------------------------------------
==> Giving system time to stablize...
5 4 3 2 1
==> Preparing /tmp
==> Determining root drive
no /proc/cmdline
====> Root drive identified at []
==> Boot Drive [1]
==> Figuring out Source and Destination devices
!!! Could not reliably determine Source and Destination
!!! We need to stop here
================================================================================
Tearing Down script environment
==> Unmounting /tmp

Usage:
 blockdev -V
 blockdev --report [devices]
 blockdev [-v|-q] commands devices

Available commands:
 --getsz                   get size in 512-byte sectors
 --setro                   set read-only
 --setrw                   set read-write
 --getro                   get read-only
 --getdiscardzeroes        get discard zeroes support status
 --getss                   get logical block (sector) size
 --getpbsz                 get physical block (sector) size
 --getiomin                get minimum I/O size
 --getioopt                get optimal I/O size
 --getalignoff             get alignment offset in bytes
 --getmaxsect              get max sectors per request
 --getbsz                  get blocksize
 --setbsz <bytes>          set blocksize
 --getsize                 get 32-bit sector count (deprecated, use --getsz)
 --getsize64               get size in bytes
 --setra <sectors>         set readahead
 --getra                   get readahead
 --setfra <sectors>        set filesystem readahead
 --getfra                  get filesystem readahead
 --flushbufs               flush buffers
 --rereadpt                reread partition table

Traceback (last called is first):
     flush_cache() in /opt/scripts/tools/eMMC/functions.sh:356
     teardown_environment() in /opt/scripts/tools/eMMC/functions.sh:260
     prepare_environment() in /opt/scripts/tools/eMMC/functions.sh:171
     main() in /opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh:43
The command blockdev --flushbufs ${destination} exited with exit code 1.
================================================================================
Tearing Down script environment
==> Unmounting /tmp

Usage:
 blockdev -V
 blockdev --report [devices]
 blockdev [-v|-q] commands devices

Available commands:
 --getsz                   get size in 512-byte sectors
 --setro                   set read-only
 --setrw                   set read-write
 --getro                   get read-only
 --getdiscardzeroes        get discard zeroes support status
 --getss                   get logical block (sector) size
 --getpbsz                 get physical block (sector) size
 --getiomin                get minimum I/O size
 --getioopt                get optimal I/O size
 --getalignoff             get alignment offset in bytes
 --getmaxsect              get max sectors per request
 --getbsz                  get blocksize
 --setbsz <bytes>          set blocksize
 --getsize                 get 32-bit sector count (deprecated, use --getsz)
 --getsize64               get size in bytes
 --setra <sectors>         set readahead
 --getra                   get readahead
 --setfra <sectors>        set filesystem readahead
 --getfra                  get filesystem readahead
 --flushbufs               flush buffers
 --rereadpt                reread partition table

!==> We don't know how to reset the leds as we are not a BBB compatible device
[    8.182632] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[    8.182632]
[    8.192223] [<c001125d>] (unwind_backtrace+0x1/0x98) from [<c04a0af3>] (panic+0x5b/0x160)
[    8.200764] [<c04a0af3>] (panic+0x5b/0x160) from [<c0033271>] (do_exit+0x5f5/0x674)
[    8.208757] [<c0033271>] (do_exit+0x5f5/0x674) from [<c0033333>] (do_group_exit+0x27/0x6c)
[    8.217382] [<c0033333>] (do_group_exit+0x27/0x6c) from [<c0033385>] (__wake_up_parent+0x1/0x18)
[    8.226547] [<c0033385>] (__wake_up_parent+0x1/0x18) from [<c000c741>] (ret_fast_syscall+0x1/0x46)
[    8.235909] drm_kms_helper: panic occurred, switching back to text console


I tried to update /opt/scripts but it didn't help.

BR
Kamil

Robert Nelson

unread,
Aug 7, 2018, 12:37:25 PM8/7/18
to Beagle Board, kamil...@gmail.com
no "initrd"

run:

sudo update-initramfs -ck `uname -r`

Regards,

--
Robert Nelson
https://rcn-ee.com/

syed hashir

unread,
Aug 7, 2018, 12:39:44 PM8/7/18
to beagl...@googlegroups.com, kamil...@gmail.com
please reply to my post also. I am new here. I am looking for a solution


--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYhu9qiwQP-BawJCD1PEqmZnMUROD9rq-Ao0%2BisfrT1Gsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Jeff Andich

unread,
Aug 7, 2018, 4:29:36 PM8/7/18
to BeagleBoard
Would it maybe be helpful to add the above step to the kernel upgrade sections of the following procedure pages or other pages (for specific kernel versions)?




I THINK you said that "newer kernels" don't need this step or will no longer need this step, as they don't use initramfs, right?

Thanks!

kamil...@gmail.com

unread,
Aug 8, 2018, 11:43:19 AM8/8/18
to BeagleBoard
 It works :).
Thank You.
Reply all
Reply to author
Forward
0 new messages