New uboot and kernel for Pogoplug v3/Pro September 29, 2013 08:47AM |
Registered: 11 years ago Posts: 214 |
Re: New uboot and kernel for Pogoplug v3/Pro September 29, 2013 04:05PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: New uboot and kernel for Pogoplug v3/Pro September 30, 2013 03:10AM |
Registered: 11 years ago Posts: 214 |
Re: New uboot and kernel for Pogoplug v3/Pro September 30, 2013 03:29AM |
Admin Registered: 13 years ago Posts: 19,102 |
grep -i _dt config-3.11.1-kirkwood-tld-1 # CONFIG_ARCH_KIRKWOOD_DT is not set # CONFIG_MACH_CLOUDBOX_DT is not set # CONFIG_MACH_DB88F628X_BP_DT is not set # CONFIG_MACH_DLINK_KIRKWOOD_DT is not set # CONFIG_MACH_DOCKSTAR_DT is not set # CONFIG_MACH_DREAMPLUG_DT is not set # CONFIG_MACH_GOFLEXNET_DT is not set # CONFIG_MACH_GURUPLUG_DT is not set # CONFIG_MACH_IB62X0_DT is not set # CONFIG_MACH_ICONNECT_DT is not set # CONFIG_MACH_INETSPACE_V2_DT is not set # CONFIG_MACH_IOMEGA_IX2_200_DT is not set # CONFIG_MACH_KM_KIRKWOOD_DT is not set # CONFIG_MACH_LSXL_DT is not set # CONFIG_MACH_MPLCEC4_DT is not set # CONFIG_MACH_NETSPACE_LITE_V2_DT is not set # CONFIG_MACH_NETSPACE_MAX_V2_DT is not set # CONFIG_MACH_NETSPACE_MINI_V2_DT is not set # CONFIG_MACH_NETSPACE_V2_DT is not set # CONFIG_MACH_OPENBLOCKS_A6_DT is not set # CONFIG_MACH_READYNAS_DT is not set # CONFIG_MACH_SHEEVAPLUG_DT is not set # CONFIG_MACH_TOPKICK_DT is not set # CONFIG_MACH_TS219_DT is not set
Re: New uboot and kernel for Pogoplug v3/Pro September 30, 2013 04:03AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: New uboot and kernel for Pogoplug v3/Pro September 30, 2013 12:13PM |
Registered: 11 years ago Posts: 214 |
#!/bin/sh # uncomment line below and set to the correct disk disk=/dev/sdb if [ -z "${disk}" ] ; then echo "You must uncomment/set the 'disk' variable" exit -1 fi workarea="." stage1File=$workarea/stage1.wrapped ubootFile=$workarea/u-boot.wrapped kernelFile=$workarea/uImage perl <<EOF | dd of="$disk" bs=512 print "\x00" x 0x1a4; print "\x00\x5f\x01\x00"; print "\x00\xdf\x00\x00"; print "\x00\x80\x00\x00"; print "\x00" x (0x1b0 -0x1a4 -12 ); print "\x22\x80\x00\x00"; print "\x22\x00\x00\x00"; print "\x00\x80\x00\x00"; EOF if [ -f $stage1File ];then echo "Writing stage 1" dd if=$stage1File of="$disk" bs=512 seek=34 fi if [ -f $ubootFile ];then echo "Writing uboot" dd if=$ubootFile of="$disk" bs=512 seek=154 fi if [ -f $kernelFile ];then echo "Writing kernel to " dd if=$kernelFile of="$disk"1 bs=512 fi
Re: New uboot and kernel for Pogoplug v3/Pro September 30, 2013 04:41PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: New uboot and kernel for Pogoplug v3/Pro October 01, 2013 06:31AM |
Registered: 11 years ago Posts: 214 |
navym
Re: New uboot and kernel for Pogoplug v3/Pro October 08, 2013 09:00PM |
> grep -i _dt config-3.11.1-kirkwood-tld-1 > > # CONFIG_ARCH_KIRKWOOD_DT is not set > # CONFIG_MACH_CLOUDBOX_DT is not set > # CONFIG_MACH_DB88F628X_BP_DT is not set > # CONFIG_MACH_DLINK_KIRKWOOD_DT is not set > # CONFIG_MACH_DOCKSTAR_DT is not set > # CONFIG_MACH_DREAMPLUG_DT is not set > # CONFIG_MACH_GOFLEXNET_DT is not set > # CONFIG_MACH_GURUPLUG_DT is not set > # CONFIG_MACH_IB62X0_DT is not set > # CONFIG_MACH_ICONNECT_DT is not set > # CONFIG_MACH_INETSPACE_V2_DT is not set > # CONFIG_MACH_IOMEGA_IX2_200_DT is not set > # CONFIG_MACH_KM_KIRKWOOD_DT is not set > # CONFIG_MACH_LSXL_DT is not set > # CONFIG_MACH_MPLCEC4_DT is not set > # CONFIG_MACH_NETSPACE_LITE_V2_DT is not set > # CONFIG_MACH_NETSPACE_MAX_V2_DT is not set > # CONFIG_MACH_NETSPACE_MINI_V2_DT is not set > # CONFIG_MACH_NETSPACE_V2_DT is not set > # CONFIG_MACH_OPENBLOCKS_A6_DT is not set > # CONFIG_MACH_READYNAS_DT is not set > # CONFIG_MACH_SHEEVAPLUG_DT is not set > # CONFIG_MACH_TOPKICK_DT is not set > # CONFIG_MACH_TS219_DT is not set >>
Re: New uboot and kernel for Pogoplug v3/Pro October 09, 2013 01:14AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: New uboot and kernel for Pogoplug v3/Pro November 24, 2013 05:32AM |
Registered: 13 years ago Posts: 218 |
Quote
navym
https://github.com/kref/linux-oxnas/wik ... the-kernel
to 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.py
then flash encoded stage1 to 0x0, u-boot.img to 0x40000
Re: New uboot and kernel for Pogoplug v3/Pro December 02, 2013 04:44AM |
Registered: 11 years ago Posts: 10 |
Re: New uboot and kernel for Pogoplug v3/Pro December 02, 2013 04:25PM |
Registered: 13 years ago Posts: 218 |
Re: New uboot and kernel for Pogoplug v3/Pro December 12, 2013 05:44PM |
Registered: 10 years ago Posts: 2 |
Re: New uboot and kernel for Pogoplug v3/Pro April 28, 2014 06:08AM |
Registered: 10 years ago Posts: 68 |
Re: New uboot and kernel for Pogoplug v3/Pro April 28, 2014 03:24PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: New uboot and kernel for Pogoplug v3/Pro May 09, 2014 08:42AM |
Registered: 10 years ago Posts: 68 |
Re: New uboot and kernel for Pogoplug v3/Pro May 09, 2014 07:22PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: New uboot and kernel for Pogoplug v3/Pro May 09, 2014 09:09PM |
Admin Registered: 13 years ago Posts: 19,102 |