On Thu, Jun 7, 2012 at 1:22 PM, Benjamin Henrion <b...@udev.org> wrote:
> On Mon, Jun 4, 2012 at 12:18 AM, Ian Ridge <ianri...@gmail.com> wrote:
>> This patch adds the raspberrypi target.
>>
>> As patch does not set file permissions it is necessary to chmod a+x
>> target/linux/raspberrypi/image/gen_rpi_sdcard_img.sh
>
> Does your toolchain supports hard float?
>
> See here:
>
> https://launchpad.net/raspbian
>
> "Raspbian is an unofficial port of Debian Wheezy armhf with
> compilation settings adjusted to produce optimized "hard float" code
> that will run on the Raspberry Pi. This should provide significantly
> faster performance for applications that make heavy use of floating
> point arithmetic operations."

You missed some mkdosfs dependency:

===================================================================
install -d -m0755
/home/zoobab/openwrt/git/openwrt/build_dir/target-arm_v6_uClibc-0.9.33.2_eabi/root-raspberrypi/tmp
chmod 0777 
/home/zoobab/openwrt/git/openwrt/build_dir/target-arm_v6_uClibc-0.9.33.2_eabi/root-raspberrypi/tmp
# Preserve permissions (-p) when building as non-root user
/bin/tar -czpf 
/home/zoobab/openwrt/git/openwrt/bin/raspberrypi/openwrt-raspberrypi-rootfs.tar.gz
--numeric-owner --owner=0 --group=0 -C
/home/zoobab/openwrt/git/openwrt/build_dir/target-arm_v6_uClibc-0.9.33.2_eabi/root-raspberrypi/
.
# FIXME: removing this line will cause strange behaviour in the
foreach loop below
/home/zoobab/openwrt/git/openwrt/staging_dir/host/bin/mkfs.jffs2 --pad
--little-endian --squash -v -x rtime -x zlib -x lzma -e 64KiB -o
/home/zoobab/openwrt/git/openwrt/build_dir/linux-raspberrypi/root.jffs2-64k
-d 
/home/zoobab/openwrt/git/openwrt/build_dir/target-arm_v6_uClibc-0.9.33.2_eabi/root-raspberrypi
-v 2>&1 1>/dev/null | awk '/^.+$/'
Compression mode: priority
Compressors:
      none             compr: 1304 blocks (4076344)  decompr: 0 blocks
      zlib (prio:80) - compr: 0 blocks (0/0)  decompr: 0 blocks
      lzma (prio:70) - compr: 0 blocks (0/0)  decompr: 0 blocks
     rtime (prio:50) - compr: 0 blocks (0/0)  decompr: 0 blocks
Compression errors: 0
echo -ne '\xde\xad\xc0\xde' >>
/home/zoobab/openwrt/git/openwrt/build_dir/linux-raspberrypi/root.jffs2-64k
cp -fpR 
/home/zoobab/openwrt/git/openwrt/build_dir/linux-raspberrypi/root.jffs2-64k
/home/zoobab/openwrt/git/openwrt/bin/raspberrypi/openwrt-raspberrypi-jffs2-64k.img
cp -fpR /home/zoobab/openwrt/git/openwrt/build_dir/linux-raspberrypi/Image
/home/zoobab/openwrt/git/openwrt/bin/raspberrypi/openwrt-raspberrypi-Image
rm -f /home/zoobab/openwrt/git/openwrt/build_dir/linux-raspberrypi/boot.img
mkdosfs /home/zoobab/openwrt/git/openwrt/build_dir/linux-raspberrypi/boot.img
-C 83360
bash: mkdosfs: command not found
make[5]: *** [install] Error 127
make[5]: Leaving directory
`/home/zoobab/openwrt/git/openwrt/target/linux/raspberrypi/image'
make[4]: *** [install] Error 2
make[4]: Leaving directory
`/home/zoobab/openwrt/git/openwrt/target/linux/raspberrypi'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/home/zoobab/openwrt/git/openwrt/target/linux'
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory `/home/zoobab/openwrt/git/openwrt'
make[1]: *** 
[/home/zoobab/openwrt/git/openwrt/staging_dir/target-arm_v6_uClibc-0.9.33.2_eabi/stamp/.target_install]
Error 2
make[1]: Leaving directory `/home/zoobab/openwrt/git/openwrt'
make: *** [world] Error 2
===================================================================

-- 
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to