Hi,
This is what I have achieved until now!
1- Nothing changed the board is stock trying to start the Bootloader.
2- I create a script that shows the steps that I have done, see
attachment update_sd.sh
3- MLO_restore I used the one from
http://elinux.org/BeagleBoardRecovery
4- I could try
http://elinux.org/BeagleBoardRecovery#USB_recovery ?
But I will wait for your suggestions.
Regards
kap
OUTPUT FROM SERIAL:
Welcome to minicom 2.3
OPTIONS: I18n
Compiled on Oct 24 2008, 06:37:44.
Port /dev/ttyUSB0
Press CTRL-A Z for help on special
keys
40T
Texas Instruments X-Loader
1.41
Starting OS Bootloader...
Texas Instruments X-Loader 1.41
Starting OS Bootloader...
40T
Texas Instruments X-Loader 1.41
Starting OS Bootloader...
----------------------------------------> start update_sd.sh
#!/bin/sh -x
# Environment variables
SD_PATH="/dev/mmcblk0"
SD_P1_PATH="/dev/mmcblk0p1"
SD_P2_PATH="/dev/mmcblk0p2"
# SD validation.
SD_INSERT="SD insert test: "
if [ -e $SD_PATH ]
then
echo "--> ${SD_INSERT} OK"
else
echo "--> ${SD_INSERT} FAILED"
echo "--> SD not inserted!"
exit $?
fi
# Mount validation for p1.
MOUNT_P1="SD P1 mount test: "
if [ -n "`mount | grep /dev/mmcblk0p1`" ]
then
echo "--> ${MOUNT_P1} FAILED"
echo "--> sudo umount ${SD_P1_PATH}"
sudo umount $SD_P1_PATH
else
echo "--> ${MOUNT_P1} OK"
fi
# Mount validation for p1.
MOUNT_P2="SD P2 mount test: "
if [ -n "`mount | grep /dev/mmcblk0p2`" ]
then
echo "--> ${MOUNT_P2} FAILED"
echo "--> sudo umount ${SD_P2_PATH}"
sudo umount $SD_P2_PATH
else
echo "--> ${MOUNT_P2} OK"
fi
# Disk /dev/mmcblk0: 1977 MB, 1977614336 bytes
# 1977614336/255/63/512 = 240.431248055 = FLOOR = 240
# Create partition backup: sfdisk -H 255 -S 63 -C 240 --d /dev/mmcblk0
> sd-beagleboard-partition.out
# Create partition
echo "--> Create SD partition: sfdisk -H 255 -S 63 -C 240 --force /dev/
mmcblk0 < sd-beagleboard-partition.out"
sfdisk -H 255 -S 63 -C 240 --force /dev/mmcblk0 < sd-beagleboard-
partition.out
# Format the partitions
echo "--> Format SD P1 into FAT32: sudo mkfs.msdos -F 32 /dev/
mmcblk0p1 -n boot"
sudo mkfs.msdos -F 32 /dev/mmcblk0p1 -n boot
echo "--> Format SD P2 into ext3: sudo mkfs.ext3 -L rootfs /dev/
mmcblk0p2"
sudo mkfs.ext3 -L rootfs /dev/mmcblk0p2
# Mount newly formated partition:
echo "--> Mount newly formated partition"
sudo mount /dev/mmcblk0p1 /media/boot
sudo mount /dev/mmcblk0p2 /media/rootfs
# IMPORTANT TO DO THIS BEFORE ANY OTHER FILES ARE COPIED:
# Copy the MLO file that you downloaded to the Beagle_Boot partition.
# The MLO file must be the first file copied to the partition after re-
formatting.
cp /home/kapare/beagleboard/sd/boot/MLO_restore /media/boot/MLO
cp /home/kapare/beagleboard/sd/boot/musb_gadget-u-boot.bin /media/boot/
u-boot.bin
----------------------------------------> end update_sd.sh
On Mon, Jan 26, 2009 at 6:25 AM, Atin Malaviya
<
atin.m...@gmail.com> wrote:
The problem was with the instructions to copy to the NAND. You
most probably have a configuration where the load address is set to
something other than 80000000 (usually 82000000) and so when xload
tried to find u-boot, it didn't and hung. You should be able to
recover the board by following the instructions on
http://elinux.org/BeagleBoardRecovery
and then trying again, this time with u-boot.bin written to the
address that you have set as the load address. You should be able to
see the loadaddress once you have recovered your board. The same
instructions that you use to write the original version of u-boot.bin
to your board would work with this version of u-boot.bin.