by Socaltom » Sun Aug 24, 2014 6:00 pm
$this->bbcode_second_pass_quote('navym', 'h')ttps://github.com/kref/linux-oxnas/wiki/Build-the-kernel
$this->bbcode_second_pass_quote('', 't')o generate old u-boot compatible uImage
ARCH=arm make ox820_defconfig
ARCH=arm make menuconfig
Boot options --->
[*] Use appended device tree blob to zImage (EXPERIMENTAL)
[*] Supplement the appended DTB with traditional ATAG informati
you may also want to disable PCI support if you device does not have one
ARCH=arm make -j8 zImage ox820.dtb
cat arch/arm/boot/zImage arch/arm/boot/dts/ox820.dtb > arch/arm/boot/zImage.fdt
/bin/sh scripts/mkuboot.sh -A arm -O linux -C none -T kernel -a 0x60008000 -e 0x60008000 -n 'Linux-3.11.1+' -d arch/arm/boot/zImage.fdt arch/arm/boot/uImage
build u-boot for nand
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- ox820_nand_config
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j4 all u-boot.img
to generate encoded stage1 from spl/u-boot-spl.bin, you need a small script
basically, it turn each 1 bit to 0x55, 0 bit to 0xAA to alleviate bit flips
https://github.com/wagle/addnas_source/ ... /encode.pythen flash encoded stage1 to 0x0, u-boot.img to 0x40000
I downloaded the zip and extracted it.
Then ran ARCH=arm make ox820_defconfig
Then ran ARCH=arm make menuconfig
and selected the options as indicated above. Then I exited the menu and ran
ARCH=arm make -j8 zImage ox820.dtb
and I got the following output. What am I missing? ( FYI, I'm running this on a V2 pogoplug since the V3 won't even get this far.
$this->bbcode_second_pass_code('', '[root@PogoServer linux-oxnas-master]# ARCH=arm make -j8 zImage ox820.dtb
make: arm-linux-gnueabi-gcc: Command not found
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
/bin/sh: arm-linux-gnueabi-gcc: command not found
scripts/Makefile.build:308: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 127
make[2]: *** Waiting for unfinished jobs....
CC scripts/mod/devicetable-offsets.s
/bin/sh: arm-linux-gnueabi-gcc: command not found
scripts/Makefile.build:204: recipe for target 'scripts/mod/devicetable-offsets.s' failed
make[2]: *** [scripts/mod/devicetable-offsets.s] Error 127
scripts/Makefile.build:455: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:521: recipe for target 'scripts' failed
make: *** [scripts] Error 2
')