# Booting with UBoot for Raspberry ``` curl -O http://people.freebsd.org/~gonzo/arm/rpi/raspberry-pi-uboot-20120621.tar.gz yum install makebootfat dosfstools dd if=/dev/zero of=uboot.img bs=1M count=2048 losetup /dev/loop1 uboot.img kpartx -av /dev/loop1 fdisk /dev/loop1 Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-261, default 1): Using default value 1 Last cylinder, +cylinders or +size{K,M,G} (1-261, default 261): Using default value 261 Command (m for help): a Partition number (1-4): 1 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 22: Invalid argument. The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) Syncing disks. kpartx -av /dev/loop1 mkfs.vfat /dev/mapper/loop1p1 mkdir /tmp/x mount -o loop /dev/mapper/loop1p1 /tmp/x cd /tmp/x tar zxvf /root/raspberry-pi-uboot-20120621.tar.gz cd && umount /tmp/x losetup -d /dev/loop0 qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda1 panic=1" -hda uboot.img -net nic -net user -vnc :1 -net tap,ifname=vnet1,script=no,downscript=no ``` Same failure as with installer...