build_env_on_ubuntu_and_build_kernel
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | build_env_on_ubuntu_and_build_kernel [2010/02/17 17:49] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | http:// | ||
| + | for building this outdates build you might need to use older gcc: | ||
| + | |||
| + | sudo ln -sf / | ||
| + | gcc -v | ||
| + | .... | ||
| + | gcc version 4.1.3 20080623 (prerelease) (Ubuntu 4.1.2-24ubuntu1) | ||
| + | |||
| + | http:// | ||
| + | http:// | ||
| + | |||
| + | [[ is original build fails ]] | ||
| + | |||
| + | [[ if kernel fails at usb-gadget.c ]] | ||
| + | |||
| + | http:// | ||
| + | |||
| + | mkfs.jffs2 -x lzo --root=/ | ||
| + | --output=rootfs-new-method.jffs2 --little-endian --eraseblock=0x20000 --squash-uids | ||
| + | |||
| + | < | ||
| + | Creating 3 MTD partitions on " | ||
| + | 0x000000000000-0x000000040000 : " | ||
| + | 0x000000040000-0x000001f00000 : " | ||
| + | 0x000001f00000-0x000002000000 : " | ||
| + | </ | ||
| + | |||
| + | !! compute padding side from FLASHsize - uboot = rootfs (HEX) - use gcacl ;) | ||
| + | |||
| + | http:// | ||
| + | > U-Boot (mtd0) - 256K : 262144 Bytes. | ||
| + | > Kernel (mtd2) - 1M : 1048576 Bytes. | ||
| + | > Padding size is FlashTotal - Kernel - U-Boot. | ||
| + | > | ||
| + | > Basic / Connex Standard (4MB) : 2883584 Bytes = 0x2C0000. | ||
| + | > XM Series (16MB Flash) | ||
| + | > Verdex XL6P (32MB Flash) | ||
| + | |||
| + | |||
| + | |||
| + | http:// | ||
| + | |||
| + | kernel must be <= 1024kb (gzip might help a bit) | ||
| + | |||
| + | gzip -9 linux.bin | ||
| + | mkimage -A arm -O linux -T kernel -C gzip -a a0008000 -e a0008000 -n " | ||
| + | |||
| + | flash by the book: | ||
| + | http:// | ||
| + | |||
| + | {{: | ||
| + | {{: | ||
| + | {{: | ||
| + | {{: | ||
| + | |||
| + | [[ local dump of labs.beatcraft.com/ | ||
build_env_on_ubuntu_and_build_kernel.txt · Last modified: by 127.0.0.1
