you are using a good quality power supply ?

On 10/1/2016 8:45 PM, Robert Nelson wrote:
> On Sat, Oct 1, 2016 at 9:42 PM, Stephane Charette
> <[email protected]> wrote:
>> Trying to test the latest RCN image from 2016-09-28.  But I get a kernel
>> panic before the flashing begins.  Serial debug console shows these errors:
>>
>> Begin: Running /scripts/local-premount ... done.
>> Begin: Will now check root file system ... fsck from util-linux 2.25.2
>> fsck: error 2 (No such file or directory) while executing fsck.ext4 for
>> /dev/mmcblk1p1
>> fsck exited with status code 8
>> done.
>> Warning: File system check failed but did not detect errors
>> [    9.628045] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data
>> mode. Opts: (null)
>> done.
>> Target filesystem doesn't have requested
>> /opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh.
>> Begin: Running /scripts/local-bottom ... done.
>> Begin: Running /scripts/init-bottom ... done.
>> switch_root: can't execute '/bin/sh': No such file or directory
>> [    9.758682] Kernel panic - not syncing: Attempted to kill init!
>> exitcode=0x00000100
>> ...insert kernel dump here...
>>
>> At this point everything hangs.  Anyone else seeing the same thing?  Build
>> used is this one:
>> https://rcn-ee.com/rootfs/bb.org/testing/2016-09-28/seeed-iot/BBGW-blank-debian-8.6-seeed-iot-armhf-2016-09-28-4gb.img.xz
> Just double checked ^... seems to be working correctly...
>
> [    3.483814]  remoteproc0: powering up wkup_m3
> [    3.488330]  remoteproc0: Booting fw image am335x-pm-firmware.elf,
> size 217148
> [    3.495902]  remoteproc0: remote processor wkup_m3 is now up
> [    3.501611] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
> [    3.514132] bone_capemgr bone_capemgr: Baseboard:
> 'A335BNLT,GW1A,BBGW16055517'
> -----------------------------
> Starting eMMC Flasher from microSD media
> Version: [1.20160909: u-boot 1MB -> 4MB hole...]
> -----------------------------
> Checking for Valid bbgw-eeprom header
> Valid bbgw-eeprom header found [335]
> -----------------------------
> 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  7.4G  0 disk
> `-mmcblk0p1  179:1    0  3.3G  0 part /
> mmcblk1      179:8    0  3.7G  0 disk
> `-mmcblk1p1  179:9    0  3.7G  0 part
> -----------------------------
> df -h | grep rootfs:
> df: cannot read table of mounted file systems: No such file or directory
> -----------------------------
> Erasing: /dev/mmcblk1
> 108+0 records in
> 108+0 records out
> 113246208 bytes (113 MB) copied, 9.48847 s, 11.9 MB/s
> [   28.416409] random: nonblocking pool is initialized
> 108+0 records in
> 108+0 records out
> 113246208 bytes (113 MB) copied, 2.88258 s, 39.3 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
> 69124 bytes (69 kB) copied, 0.0170685 s, 4.0 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
> 375108 bytes (375 kB) copied, 0.0588013 s, 6.4 MB/s
> -----------------------------
> Formatting: /dev/mmcblk1
> sfdisk: [sfdisk from util-linux 2.25.2]
> sfdisk: [sfdisk --force --Linux --in-order --unit M /dev/mmcblk1]
> sfdisk: [4,,L,*]
> sfdisk: Checking that no-one is using thi[   30.433117]  mmcblk1: p1
> s disk right now ...
> sfdisk: OK
>
> Disk /dev/mmcblk1: 119296 cylinders, 4 heads, 16 sectors/track
> sfdisk:  /dev/mmcblk1: unrecognized partition table type
> Old situation:
> sfdisk: No partitions found
> New situation:
> Units: 1MiB = 1024*1024 bytes, blocks of 1024 bytes, counting from 0
>
>    Device Boot Start   End    MiB    #blocks   Id  System
> /dev/mmcblk1p1   *     4   3727   3724    3813376   83  Linux
> /dev/mmcblk1p2         0      -      0          0    0  Empty
> /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 ...
>
> sfdisk: 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.ext4 -c -O ^metadata_csum,^64bit /dev/mmcblk1p1 -L rootfs
> -----------------------------
> mke2fs 1.43 (17-May-2016)
> ext2fs_check_if_mount: Can't check if filesystem is mounted due to
> missing mtab file while determining whether /dev/mmcblk1p1 is mounted.
> Discarding device blocks: done
> Creating filesystem with 953344 4k blocks and 238560 inodes
> Filesystem UUID: e70fe1ee-d0b6-4302-b91b-df0b2b55248d
> Superblock backups stored on blocks:
> 32768, 98304, 163840, 229376, 294912, 819200, 884736
>
> Regards,
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/961772fd-a189-c2b6-a6cf-fdaf3a061fe1%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to