ODROID getting further, maybe

I can now get as far as the blue light flashing (which indicates the kernel is up). The root filesystem is not being mounted however.

This is my recipe.

# Bootloader prepared using:
# dd if=fedora19_armhf_odroidxu_20130927.img bs=512 skip=1 count=3871 of=bootloader

# Boot partition prepared using:
# guestfish --ro -a fedora19_armhf_odroidxu_20130927.img -m /dev/sda1 \
#   tar-out / boot.tar

# boot.ini extracted from boot.tar, modified as appropriate

# Root partition prepared using:
# guestfish --ro -a Fedora-XFCE-armhfp-19-1-sda.raw \
#   run : download /dev/sda3 sda3

# ls -lh bootloader boot.tar boot.ini sda3
# -rw-r--r-- 1 rjones rjones 1.9M Oct 19 15:29 bootloader
# -rw-r--r-- 1 rjones rjones  12M Oct 19 16:17 boot.tar
# -rwxr-xr-x 1 rjones rjones 5508 Oct 19 16:26 boot.ini
# -rw-r--r-- 1 rjones rjones 6.1G Oct 19 16:14 sda3

$HOME/d/libguestfs/run \
$HOME/d/libguestfs/fish/guestfish -x -a /dev/mmcblk0 <<EOF


part-init /dev/sda mbr
part-add /dev/sda p 4096 1048575
part-add /dev/sda p 1048576 3145727
part-add /dev/sda p 3145728 -1024

mkfs vfat /dev/sda1

mount /dev/sda1 /
tar-in boot.tar /
upload boot.ini /boot.ini
ll /
umount /

mkswap /dev/sda2

upload sda3 /dev/sda3
resize2fs /dev/sda3


dd if=bootloader of=/dev/mmcblk0 bs=512 seek=1


Filed under Uncategorized

2 responses to “ODROID getting further, maybe

  1. Pingback: Cubietruck | Richard WM Jones

  2. Pingback: ODROID-XU booting | Richard WM Jones

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.