Hello,
I'm going though the tutorial for flashing the eMMC over USB on the beaglebone black here: http://processors.wiki.ti.com/index.php/Sitara_Linux_Program_the_eMMC_on_Beaglebone_Black
On the final step when I try to reboot and run from eMMC the boot fails. I used the flasher.sh script provided in the tutorial and made sure the BOOT_PARTITION and the ROOTFS_PARTITION match the files I'm serving up on the TFTP. The U-boot configured for USB-SPL doesn't seem to output the terminal over the ttyS0 so I can't tell what is going on and I just see "Starting Kernel..." then after a long time I get the Arago login. I presume this is tied into Uniflash somehow getting the terminal data over Ethernet or something like that?
One thing that wasn't clear was which rootfs image I should be using from sdk/filesystem: tisdk-rootfs-image-am335x-evm.tar.gz or arago-base-tisdk-image-am335x-evm.tar.gz. Currently I'm working from tisdk-rootfs-image-am335x-evm.tar.gz.
I've tried going through the script manually after the script finishes and I log in at the arago prompt and noticed I have to re-login after I run the partitioning command:
echo "Partitioning the eMMC..."
sfdisk -D -H 255 -S 63 -C $CYLINDERS $DRIVE << EOF
,9,0x0C,*
10,,,-
EOF
I don't know if that's normal or not. When I check the partion table with sfdisk -V /dev/mmcblk0 after running the script I get a reply saying that the partition table can't be found. However after I run the partition command myself I get a different output:
root@am335x-evm:~# sfdisk -V /dev/mmcblk0
sfdisk: Warning: partition 1 does not end at a cylinder boundary
sfdisk: Warning: partition 2 does not start at a cylinder boundary
sfdisk: Warning: partition 2 does not end at a cylinder boundary
sfdisk: partition 1: start: (c,h,s) expected (0,3,16) found (0,1,1)
sfdisk: end of partition 1 has impossible value for head: 254 (should be in 0-3)
sfdisk: end of partition 1 has impossible value for sector: 63 (should be in 1-16)
So it does appear that the partitioning in the script is not successful. Any ideas why this might be?
The u-boot has the following output when it tries to boot:
U-Boot SPL 2015.01-00001-gb2412df (Jan 29 2015 - 15:01:06)
U-Boot 2015.01-00001-gb2412df (Jan 29 2015 - 15:01:06), Build: jenkins-github_Bo
otloader-Builder-105
Watchdog enabled
I2C: ready
DRAM: 512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot: 0
gpio: pin 53 (gpio 53) value is 1
Card did not respond to voltage select!
Card did not respond to voltage select!
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
switch to partitions #0, OK
mmc1(part 0) is current device
gpio: pin 54 (gpio 54) value is 1
** No partition table - mmc 1 **
Checking for: /uEnv.txt ...
** No partition table - mmc 1 **
Checking for: /boot.scr ...
** No partition table - mmc 1 **
Checking for: /boot/boot.scr ...
** No partition table - mmc 1 **
Checking for: /boot/uEnv.txt ...
** No partition table - mmc 1 **
** No partition table - mmc 1 **
** No partition table - mmc 1 **
** No partition table - mmc 1 **
** No partition table - mmc 1 **
** No partition table - mmc 1 **
** No partition table - mmc 1 **
FAILSAFE: U-Boot UMS (USB Mass Storage) enabled, media now available over the us
b slave port ...
UMS: disk start sector: 0x0, count: 0x720000
musb-hdrc: peripheral reset irq lost!