I’m trying to use an existing eMMC flasher SD card from a BBB on a BBB industrial. I was under the impression that this was possible to do, but I may be mistaken.
According to my kernel logs, it starts to flash the image but something hangs and causes a kernel panic. I’ve pasted the log below. As far as I can tell the eMMC appears to be initializing correctly, but I’m having trouble finding out what is causing the system to hang.
U-Boot SPL 2017.03-rc2-dirty (Mar 02 2017 - 16:05:01)
Trying to boot from MMC1
U-Boot 2017.03-rc2-dirty (Mar 02 2017 - 16:05:01 -0500)
CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
Reset Source: Global external warm reset has occurred.
Reset Source: Power-on reset has occurred.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment
<ethaddr> not set. Validating first E-fuse MAC
BeagleBone Black:
Model: Element14 BeagleBone Black Industrial:
BeagleBone: cape eeprom: i2c_probe: 0x54:
BeagleBone: cape eeprom: i2c_probe: 0x55:
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:
Net: eth0: MII MODE
cpsw
Type uboot to abort autoboot in 2 seconds
board_name=[A335BNLT] ...
board_rev=[EIA0] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Bad device 0:2 0x82000000 **
** Bad device 0:2 0x82000000 **
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 ...
Checking for: /boot.scr ...
Checking for: /boot/boot.scr ...
Checking for: /boot/uEnv.txt ...
gpio: pin 55 (gpio 55) value is 1
2124 bytes read in 51 ms (40 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
Running uname_boot ...
loading /boot/vmlinuz-3.8.13-bone84 ...
5231056 bytes read in 388 ms (12.9 MiB/s)
loading /boot/dtbs/3.8.13-bone84/am335x-boneblack.dtb ...
26118 bytes read in 42 ms (606.4 KiB/s)
uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable...
loading /boot/initrd.img-3.8.13-bone84 ...
1953078 bytes read in 176 ms (10.6 MiB/s)
debug: [console=ttyO0,115200n8 printk.time=y ipv6.disable=1 init=lib/systemd/systemd console=ttyO0,115200 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN root=UUID=9cb1f9aa-6733-4e4d-9a28-aaa4d15abed8 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh] ...
debug: [bootz 0x82000000 0x88080000:1dcd36 0x88000000] ...
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8fe23000, end 8ffffd36 ... OK
Loading Device Tree to 8fe19000, end 8fe22605 ... 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-bone84 (root@a3-imx6q-wandboard-2gb) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Sun Feb 12 02:54:13 UTC 2017
[ 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 @c0cf9000 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 printk.time=y ipv6.disable=1 init=lib/systemd/systemd console=ttyO0,115200 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN root=UUID=9cb1f9aa-6733-4e4d-9a28-aaa4d15abed8 ro 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: 506580k/506580k available, 17708k 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 - 0xc07a86a0 (7810 kB)
[ 0.000000] .init : 0xc07a9000 - 0xc07e6700 ( 246 kB)
[ 0.000000] .data : 0xc07e8000 - 0xc086eca8 ( 540 kB)
[ 0.000000] .bss : 0xc086eca8 - 0xc08e8400 ( 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.000240] Calibrating delay loop... 993.47 BogoMIPS (lpj=969728)
[ 0.029187] pid_max: default: 32768 minimum: 301
[ 0.029322] Security Framework initialized
[ 0.029379] Mount-cache hash table entries: 512
[ 0.035091] Initializing cgroup subsys cpuacct
[ 0.035112] Initializing cgroup subsys memory
[ 0.035153] Initializing cgroup subsys blkio
[ 0.035239] CPU: Testing write buffer coherency: ok
[ 0.035618] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.035672] Setting up static identity map for 0x804595c8 - 0x80459614
[ 0.036583] Brought up 1 CPUs
[ 0.036598] SMP: Total of 1 processors activated (993.47 BogoMIPS).
[ 0.037378] devtmpfs: initialized
[ 0.045855] omap_hwmod: wd_timer2: _wait_target_disable failed
[ 0.085578] pinctrl core: initialized pinctrl subsystem
[ 0.085715] rstctl core: initialized rstctl subsystem
[ 0.086040] regulator-dummy: no parameters
[ 0.086359] NET: Registered protocol family 16
[ 0.086939] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.092561] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.093123] platform 49000000.edma: alias fck already exists
[ 0.093139] platform 49000000.edma: alias fck already exists
[ 0.093152] platform 49000000.edma: alias fck already exists
[ 0.093907] OMAP GPIO hardware version 0.1
[ 0.096441] gpio-rctrl rstctl.4: loaded OK
[ 0.099795] No ATAGs?
[ 0.099811] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.101033] cpsw.0: No hwaddr in dt. Using 64:33:db:32:60:22 from efuse
[ 0.101053] cpsw.1: No hwaddr in dt. Using 64:33:db:32:60:24 from efuse
[ 0.109365] bio: create slab <bio-0> at 0
[ 0.115683] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.115958] vmmcsd_fixed: 3300 mV
[ 0.117574] SCSI subsystem initialized
[ 0.117812] usbcore: registered new interface driver usbfs
[ 0.117884] usbcore: registered new interface driver hub
[ 0.118089] usbcore: registered new device driver usb
[ 0.119323] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 0.120243] input: tps65217_pwr_but as /devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0
[ 0.121495] DCDC1: at 1500 mV
[ 0.122332] vdd_mpu: 925 <--> 1325 mV at 1325 mV
[ 0.123146] vdd_core: 925 <--> 1150 mV at 1125 mV
[ 0.123943] LDO1: at 1800 mV
[ 0.124726] LDO2: at 3300 mV
[ 0.126258] LDO3: 1800 mV
[ 0.127103] LDO4: at 3300 mV
[ 0.127819] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 0.128278] omap_i2c 44e0b000.i2c: unable to select pin group
[ 0.128732] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
[ 0.130128] omap_i2c 4819c000.i2c: unable to select pin group
[ 0.130271] media: Linux media interface: v0.10
[ 0.130333] Linux video capture interface: v2.00
[ 0.130403] pps_core: LinuxPPS API ver. 1 registered
[ 0.130410] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.130434] PTP clock support registered
[ 0.130906] Advanced Linux Sound Architecture Driver Initialized.
[ 0.131492] NetLabel: Initializing
[ 0.131503] NetLabel: domain hash size = 128
[ 0.131508] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.131573] NetLabel: unlabeled traffic allowed by default
[ 0.131803] Switching to clocksource gp_timer
[ 0.161978] NET: Registered protocol family 2
[ 0.162616] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.162697] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
[ 0.162778] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.162841] TCP: reno registered
[ 0.162855] UDP hash table entries: 256 (order: 1, 12288 bytes)
[ 0.162879] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[ 0.163171] NET: Registered protocol family 1
[ 0.163559] RPC: Registered named UNIX socket transport module.
[ 0.163572] RPC: Registered udp transport module.
[ 0.163579] RPC: Registered tcp transport module.
[ 0.163586] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.163805] Trying to unpack rootfs image as initramfs...
[ 0.290423] Freeing initrd memory: 1904K
[ 0.290782] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 0.291053] CPU PMU: attempt to register multiple PMU devices!
[ 0.291078] arm-pmu: probe of arm-pmu failed with error -28
[ 0.291387] omap2_mbox_probe: platform not supported
[ 0.438130] VFS: Disk quotas dquot_6.5.2
[ 0.438271] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.439096] NFS: Registering the id_resolver key type
[ 0.439180] Key type id_resolver registered
[ 0.439188] Key type id_legacy registered
[ 0.439462] fuse init (API version 7.20)
[ 0.439734] msgmni has been set to 993
[ 0.441409] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.441424] io scheduler noop registered
[ 0.441432] io scheduler deadline registered
[ 0.441453] io scheduler cfq registered (default)
[ 0.442696] tps65217-bl tps65217-bl: failed to find backlight node
[ 0.442710] tps65217-bl tps65217-bl: DT parse failed.
[ 0.443231] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.444629] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
[ 0.444888] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 1.213016] console [ttyO0] enabled
[ 1.217307] [drm] Initialized drm 1.1.0 20060810
[ 1.229452] brd: module loaded
[ 1.236455] loop: module loaded
[ 1.239838] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.247066] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.254271] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.261491] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.268714] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.282543] bone-capemgr bone_capemgr.9: Baseboard: 'A335BNLT,EIA0,2119SBB16680'
[ 1.290307] bone-capemgr bone_capemgr.9: compatible-baseboard=ti,beaglebone-black
[ 1.298157] bone-capemgr bone_capemgr.9: Skipping disabled cape with part# BB-BONELT-HDMI
[ 1.306740] bone-capemgr bone_capemgr.9: Skipping disabled cape with part# BB-BONELT-HDMIN
[ 1.342816] bone-capemgr bone_capemgr.9: slot #0: No cape found
[ 1.379923] bone-capemgr bone_capemgr.9: slot #1: No cape found
[ 1.417031] bone-capemgr bone_capemgr.9: slot #2: No cape found
[ 1.454141] bone-capemgr bone_capemgr.9: slot #3: No cape found
[ 1.460360] bone-capemgr bone_capemgr.9: slot #4: specific override
[ 1.466919] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4
[ 1.474919] bone-capemgr bone_capemgr.9: slot #4: 'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'
[ 1.484988] bone-capemgr bone_capemgr.9: slot #5: specific override
[ 1.491549] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5
[ 1.499549] bone-capemgr bone_capemgr.9: slot #5: 'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI'
[ 1.509510] bone-capemgr bone_capemgr.9: slot #6: specific override
[ 1.516071] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 6
[ 1.524069] bone-capemgr bone_capemgr.9: slot #6: 'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN'
[ 1.534323] bone-capemgr bone_capemgr.9: Skipping loading of disabled cape with part# BB-BONELT-HDMI
[ 1.543876] bone-capemgr bone_capemgr.9: Skipping loading of disabled cape with part# BB-BONELT-HDMIN
[ 1.553629] bone-capemgr bone_capemgr.9: initialized OK.
[ 1.559205] bone-capemgr bone_capemgr.9: loader: before slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[ 1.568029] bone-capemgr bone_capemgr.9: loader: check slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[ 1.578194] OneNAND driver initializing
[ 1.583114] usbcore: registered new interface driver cdc_ether
[ 1.589269] usbcore: registered new interface driver rndis_host
[ 1.595520] bone-capemgr bone_capemgr.9: loader: after slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[ 1.604321] usbcore: registered new interface driver cdc_ncm
[ 1.610263] bone-capemgr bone_capemgr.9: slot #4: Requesting firmware 'cape-bone-2g-emmc1.dtbo' for board-name 'Bone-LT-eMMC-2G', version '00A0'
[ 1.624303] usbcore: registered new interface driver cdc_acm
[ 1.630232] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.638588] Initializing USB Mass Storage driver...
[ 1.643704] bone-capemgr bone_capemgr.9: slot #4: dtbo 'cape-bone-2g-emmc1.dtbo' loaded; converting to live tree
[ 1.654410] usbcore: registered new interface driver usb-storage
[ 1.660681] USB Mass Storage support registered.
[ 1.665700] bone-capemgr bone_capemgr.9: slot #4: #2 overlays
[ 1.672267] bone-capemgr bone_capemgr.9: slot #4: Applied #2 overlays.
[ 1.679121] bone-capemgr bone_capemgr.9: loader: done slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[ 1.687867] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 1.694422] musb-hdrc musb-hdrc.0.auto: pdev->id = 0
[ 1.699620] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:480 dsps_musb_init: OK
[ 1.708566] musb-hdrc musb-hdrc.0.auto: *** mode=3
[ 1.713601] musb-hdrc musb-hdrc.0.auto: *** power=250
[ 1.719340] musb-hdrc musb-hdrc.1.auto: pdev->id = 1
[ 1.724560] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:480 dsps_musb_init: OK
[ 1.733481] musb-hdrc musb-hdrc.1.auto: *** mode=1
[ 1.738500] musb-hdrc musb-hdrc.1.auto: *** power=250
[ 1.743781] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.750013] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 1.758362] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.765479] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.773016] usb usb1: Product: MUSB HDRC host driver
[ 1.778213] usb usb1: Manufacturer: Linux 3.8.13-bone84 musb-hcd
[ 1.784491] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 1.790309] hub 1-0:1.0: USB hub found
[ 1.794282] hub 1-0:1.0: 1 port detected
[ 1.799142] mousedev: PS/2 mouse device common for all mice
[ 1.806013] lsm303dlhc_acc accelerometer driver: init
[ 1.811383] i2c-core: driver [lsm303dlhc_acc] using legacy suspend method
[ 1.818479] i2c-core: driver [lsm303dlhc_acc] using legacy resume method
[ 1.825480] lsm303dlhc_mag driver: init
[ 1.829527] lsm330_acc accelerometer driver: init
[ 1.834478] i2c-core: driver [lsm330_acc] using legacy suspend method
[ 1.841212] i2c-core: driver [lsm330_acc] using legacy resume method
[ 1.847860] lsm330_gyr: gyroscope sysfs driver init
[ 1.853520] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 1.860939] 44e3e000.rtc: already running
[ 1.865281] i2c /dev entries driver
[ 1.869860] pps_ldisc: PPS line discipline registered
[ 1.875244] Driver for 1-wire Dallas network protocol.
[ 1.881756] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.889350] device-mapper: ioctl: 4.23.1-ioctl (2012-12-18) initialised: dm-devel@redhat.com
[ 1.898242] cpuidle: using governor ladder
[ 1.902795] cpuidle: using governor menu
[ 1.907212] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
[ 1.914404] omap_hsmmc mmc.5: Failed to get rstctl; not using any
[ 1.921084] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[ 1.928229] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[ 1.935487] mmc.5 supply vmmc_aux not found, using dummy regulator
[ 1.942294] omap_hsmmc mmc.5: pins are not configured from the driver
[ 1.975843] gpio-rctrl rstctl.4: gpio_rctrl_request eMMC_RSTn
[ 1.981980] omap_hsmmc mmc.11: Got rstctl (gpio:#0 name eMMC_RSTn) label:eMMC_RSTn
[ 1.989946] gpio-rctrl rstctl.4: gpio_rctrl_deassert eMMC_RSTn
[ 1.996271] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3
[ 2.003570] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2
[ 2.010985] mmc.11 supply vmmc_aux not found, using dummy regulator
[ 2.017621] omap_hsmmc mmc.11: pins are not configured from the driver
[ 2.052114] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[ 2.063747] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[ 2.071016] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
[ 2.079952] leds-gpio gpio-leds.8: pins are not configured from the driver
[ 2.087891] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.094447] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
[ 2.101600] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 2.108992] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 2.115210] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
[ 2.122335] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
[ 2.132304] usbcore: registered new interface driver usbhid
[ 2.138186] usbhid: USB HID core driver
[ 2.143043] ashmem: initialized
[ 2.146439] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 2.155135] logger: created 256K log 'log_main'
[ 2.160125] logger: created 256K log 'log_events'
[ 2.165174] mmc0: new high speed SDHC card at address 1234
[ 2.171149] logger: created 256K log 'log_radio'
[ 2.176439] mmcblk0: mmc0:1234 SA04G 3.70 GiB
[ 2.181331] logger: created 256K log 'log_system'
[ 2.187628] mmcblk0: p1 p2
[ 2.191893] TCP: cubic registered
[ 2.195430] IPv6: Loaded, but administratively disabled, reboot required to enable
[ 2.204107] NET: Registered protocol family 17
[ 2.209098] Key type dns_resolver registered
[ 2.213840] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 2.221931] ThumbEE CPU extension supported.
[ 2.226435] Registering SWP/SWPB emulation handler
[ 2.232059] registered taskstats version 1
[ 2.286190] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 2.292601] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 2.299167] mmc1: BKOPS_EN bit is not set
[ 2.310720] libphy: 4a101000.mdio: probed
[ 2.314989] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 2.324763] Detected MACID = 64:33:db:32:60:22
[ 2.329398] cpsw 4a100000.ethernet: NAPI disabled
[ 2.335973] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:07:13 UTC (946685233)
[ 2.349771] ALSA device list:
[ 2.352924] No soundcards found.
[ 2.356588] mmc1: new high speed MMC card at address 0001
[ 2.362855] Freeing init memory: 244K
[ 2.368328] mmcblk1: mmc1:0001 M62704 3.56 GiB
Loading, please wait...
[ 2.376639] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
[ 2.388391] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
[ 2.398894] mmcblk1: p1 p2
[ 2.406782] mmcblk1boot1: unknown partition table
[ 2.417626] mmcblk1boot0: unknown partition table
[ 2.474892] udevd[95]: starting version 175
Begin: Loading essential drivers ... modprobe: module platform:mmc.11 not found in modules.dep
modprobe: module platform:ocp.3 not found in modules.dep
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.770161] 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
mmcblk1boot0 179:16 0 2M 1 disk
mmcblk1boot1 179:24 0 2M 1 disk
mmcblk0 179:0 0 3.7G 0 disk
|-mmcblk0p1 179:1 0 96M 0 part /boot/uboot
`-mmcblk0p2 179:2 0 3.6G 0 part /
mmcblk1 179:8 0 3.6G 0 disk
|-mmcblk1p1 179:9 0 96M 0 part
`-mmcblk1p2 179:10 0 3.5G 0 part
-----------------------------
df -h | grep rootfs:
rootfs 3.5G 1.6G 1.8G 49% /
-----------------------------
Erasing: /dev/mmcblk1
108+0 records in
108+0 records out
113246208 bytes (113 MB) copied, 5.10976 s, 22.2 MB/s
108+0 records in
108+0 records out
113246208 bytes (113 MB) copied, 2.8511 s, 39.7 MB/s
Erasing: /dev/mmcblk1 complete
-----------------------------
Writing bootloader to [/dev/mmcblk1]
dd if=/opt/backup/uboot/MLO of=/dev/mmcblk1 count=1 seek=1 conv=notrunc bs=128k
-----------------------------
0+1 records in
0+1 records out
79440 bytes (79 kB) copied, 0.0107327 s, 7.4 MB/s
-----------------------------
dd if=/opt/backup/uboot/u-boot.img of=/dev/mmcblk1 count=2 seek=1 conv=notrunc bs=384k
-----------------------------
0+1 records in
0+1 records out
386684 bytes (387 kB) copied, 0.04426 s, 8.7 MB/s
-----------------------------
Formatting: /dev/mmcblk1
Checking that no-one is using this disk right no[ 12.942111] mmcblk1: unknown partition table
w ...
OK
Disk /dev/mmcblk1: 116736 cylinders, 4 heads, 16 sectors/track
[ 12.953090] mmcblk1: p1 p2
sfdisk: ERROR: sector 3069277181 does not have an msdos signature
/dev/mmcblk1: unrecognized partition table type
Old situation:
No partitions found
New situation:
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MiB #blocks Id System
/dev/mmcblk1p1 * 1 96 96 98304 e W95 FAT16 (LBA)
/dev/mmcblk1p2 97 3647 3551 3636224 83 Linux
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 0 - 0 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
mkfs.vfat -F 16 /dev/mmcblk1p1 -n BEAGLEBONE
-----------------------------
mkfs.vfat 3.0.13 (30 Jun 2012)
-----------------------------
mkfs.ext4 /dev/mmcblk1p2 -L rootfs
-----------------------------
mke2fs 1.42.5 (29-Jul-2012)
Discarding device blocks: done
Filesystem label=rootfs
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
227584 inodes, 909056 blocks
45452 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=931135488
28 block groups
32768 blocks per group, 32768 fragments per group
8128 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
-----------------------------
Formatting: /dev/mmcblk1 complete
-----------------------------
Copying: /dev/mmcblk0p1 -> /dev/mmcblk1p1
rsync: /boot/uboot/ -> /tmp/boot/
rsync: ignore the % values when shown as they are not accurate...
Copying: /dev/mmcblk0p2 -> /dev/mmcblk1p2
[ 17.163042] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
rsync: / -> /tmp/rootfs/
rsync: ignore the % values when shown as they are not accurate...
[ 420.436612] INFO: task mmcqd/0:69 blocked for more than 60 seconds.
[ 420.443195] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 420.451381] mmcqd/0 D c0454d65 0 69 2 0x00000000
[ 420.458066] Kernel panic - not syncing: hung_task: blocked tasks
[ 420.464369] [<c00114f1>] (unwind_backtrace+0x1/0x9c) from [<c0450cfd>] (panic+0x59/0x15c)
[ 420.472908] [<c0450cfd>] (panic+0x59/0x15c) from [<c0073915>] (watchdog+0x19d/0x1c0)
[ 420.481009] [<c0073915>] (watchdog+0x19d/0x1c0) from [<c00454ab>] (kthread+0x6b/0x78)
[ 420.489192] [<c00454ab>] (kthread+0x6b/0x78) from [<c000c8fd>] (ret_from_fork+0x11/0x34)
Any suggestions anyone can give me are appreciated. Has anyone else tried to flash a Beaglebone black image onto a Beaglebone black industrial successfully?