Hi, 

Been trying to clone a debian 8.4 running kernel 4.1.x using the RC Nelson 
script beaglebone-black-make-microSD-flasher-from-eMMC.sh

I have ensured that I have the latest script (git pull when in 
/opt/scripts/tools)
I have ensured the BBB I am cloning has a network connection during the 
process.


When I insert he  new uSD card into a new BBB to flash it it ends quickly 
with a kernel panic.

Here is the serial debug output:

Starting eMMC Flasher from microSD media
Version: [1.20160718: mkfs.ext4 1.43...]
-----------------------------
Checking for Valid bbb-eeprom header
Valid bbb-eeprom header found [335]
-----------------------------
copying: [/dev/mmcblk0] -> [/dev/mmcblk1]
lsblk:
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk1boot0 179:16   0    1M  1 disk 
mmcblk1boot1 179:24   0    1M  1 disk 
mmcblk0      179:0    0  7.2G  0 disk 
`-mmcblk0p1  179:1    0  7.2G  0 part /
mmcblk1      179:8    0  3.7G  0 disk 
-----------------------------
df -h | grep rootfs:
-----------------------------
Erasing: /dev/mmcblk1
108+0 records in
108+0 records out
113246208 bytes (113 MB) copied, 17.7061 s, 6.4 MB/s
[   34.099130] random: nonblocking pool is initialized
108+0 records in
108+0 records out
113246208 bytes (113 MB) copied, 4.35786 s, 26.0 MB/s
Erasing: /dev/mmcblk1 complete
-----------------------------
Writing bootloader to [/dev/mmcblk1]
dd if= of=/dev/mmcblk1 count=1 seek=1 bs=128k
-----------------------------
dd: failed to open '': No such file or directory[   35.897114] Kernel panic 
- not syncing: Attempted to kill init! exitcode=0x00000100
[   35.897114] 
[   35.911129] CPU: 0 PID: 1 Comm: init-eMMC-flash Not tainted 
4.1.21-bone-rt-r20 #1
[   35.918639] Hardware name: Generic AM33XX (Flattened Device Tree)
[   35.924801] [<c0012e01>] (unwind_backtrace) from [<c0010fe9>] 
(show_stack+0x11/0x14)
[   35.932590] [<c0010fe9>] (show_stack) from [<c05e2049>] 
(panic+0x6d/0x188)
[   35.939500] [<c05e2049>] (panic) from [<c002fea9>] 
(complete_and_exit+0x1/0x18)
[   35.946844] [<c002fea9>] (complete_and_exit) from [<c00372c1>] 
(sigprocmask+0x59/0x88)
[   35.954801] [<c00372c1>] (sigprocmask) from [<00000001>] (0x1)
[   35.960665] ---[ end Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x00000100
[   35.960665] 

The line I've highlighed in yellow seams to be the problem.  
Why is the cloning script getting a bootloader in here? 

Any help much appreciated!

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/f7f021f7-98e5-4ae8-88d7-311f83b8d32b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to