Linux Kernel 5.15.158 Oxnas (OX820) Pogo V3 package and Debian rootfs May 09, 2014 09:08PM |
Admin Registered: 13 years ago Posts: 19,107 |
md5: 3c2324954e77237bf11e1512d7a0773a sha256: da7a41dc4845b53cbddf1410cdff4c46e9828c66c503ccc22fd822a933857abcAnd remember to check the hash of what you download, as always.
cd /media/sdb1 tar xjf Debian-5.15.158-oxnas-tld-2-rootfs-bodhi.tar.bz2 sync
LABEL=rootfs / ext3 noatime,errors=remount-ro 0 1
cd /media/sdb1/boot cp -a uImage uImage.orig cp -a zImage-5.15.158-oxnas-tld-2 zImage.fdt cat dts/ox820-pogoplug-pro.dtb >> zImage.fdt mkimage -A arm -O linux -C none -T kernel -a 0x60008000 -e 0x60008000 -n 'Linux-5.15.158-oxnas-tld-2' -d zImage.fdt uImage sync
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
apt-get install u-boot-toolsor if you are creating this rootfs on an ARM box, then use the mkimage in this rootfs:
/media/sdb1/usr/bin/mkimage
rm /etc/ssh/ssh_host* ssh-keygen -A
dateAnd upgrade
apt-get update apt-get upgrade
update-initramfs: Generating /boot/initrd.img-5.15.158-oxnas-tld-2
cd /boot cp -a uInitrd.bak mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-5.15.158-oxnas-tld-2 -d initrd.img-5.15.158-oxnas-tld-2 uInitrd
apt-get install fake-hwclock
apt-get install libnss-mdns
apt-get install systemdAnd then add parameter init=/usr/bin/systemd to your u-boot env bootargs.
fw_setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts init=/usr/bin/systemd'- Or, if you are booting with my latest u-boot images you can also use the uEnv.txt capability to do this. In the default envs, custom_params is a variable that allows you to add extra bootargs. So add the following line to uEnv.txt:
custom_params=earlyprintk=serial init=/usr/bin/systemd
fw_setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts'Or if you've used uEnv.txt then just remove that from the custom_params env
custom_params=earlyprintk=serial
md5: c6ec48098bb8532c117defa55d53b58b sha256: 19f5d245ef78ea2af28001038d46580bb4df90ae2ac31d27e46334269ea0bc1d
Quote
linux-image-5.15.158-oxnas-tld-2_2_armel.deb
linux-headers-5.15.158-oxnas-tld-2_2_armel.deb
config-5.15.158-oxnas-tld-2
zImage-5.15.158-oxnas-tld-2
linux-dtb-5.15.158-oxnas-tld-2.tar
linux-5.15.158-oxnas-tld-2.patch
Quote
uInitrd
uImage
initrd.img-xx.xx.xx-xxx
System.map-xx.xx.xx-xxx
vmlinuz-xx.xx.xx-xxx
config-xx.xx.xx-xxx
dts/
cd /boot tar -xjf linux-5.15.158-oxnas-tld-2.bodhi.tar.bz2
cd /boot tar -xf linux-dtb-5.15.158-oxnas-tld-2.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-5.15.158-oxnas-tld-2_2_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-5.15.158-oxnas-tld-2 -d vmlinuz-5.15.158-oxnas-tld-2 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-5.15.158-oxnas-tld-2 -d initrd.img-5.15.158-oxnas-tld-2 uInitrd
fw_printenv dtb_fileoutput:
dtb_file=/boot/dts/ox820-pogoplug-classic.dtb
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
fw_setenv mtdparts 'mtdparts=41000000.nand-controller:14m(boot),-(data)'
sync sync sync shutdown -r now
Quote
linux-image-5.4.268-oxnas-tld-1_1_armel.deb
linux-headers-5.4.268-oxnas-tld-1_1_armel.deb
config-5.4.268-oxnas-tld-1
zImage-5.4.268-oxnas-tld-1
linux-dtb-5.4.268-oxnas-tld-1.tar
linux-5.4.268-oxnas-tld-1.patch
Quote
uInitrd
uImage
initrd.img-xx.xx.xx-xxx
System.map-xx.xx.xx-xxx
vmlinuz-xx.xx.xx-xxx
config-xx.xx.xx-xxx
dts/
cd /boot tar -xjf linux-5.4.268-oxnas-tld-1.bodhi.tar.bz2
cd /boot tar -xf linux-dtb-5.4.268-oxnas-tld-1.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-5.4.268-oxnas-tld-1_1_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-5.4.268-oxnas-tld-1 -d vmlinuz-5.4.268-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-5.4.268-oxnas-tld-1 -d initrd.img-5.4.268-oxnas-tld-1 uInitrd
fw_printenv dtb_fileoutput:
dtb_file=/boot/dts/ox820-pogoplug-classic.dtb
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
fw_setenv mtdparts 'mtdparts=41000000.nand-controller:14m(boot),-(data)'
sync sync sync shutdown -r now
Quote
linux-image-5.4.224-oxnas-tld-1_1.0_armel.deb
linux-headers-5.4.224-oxnas-tld-1_1.0_armel.deb
config-5.4.224-oxnas-tld-1
zImage-5.4.224-oxnas-tld-1
linux-dtb-5.4.224-oxnas-tld-1.tar
linux-5.4.224-oxnas-tld-1.patch
Quote
uInitrd
uImage
initrd.img-xx.xx.xx-xxx
System.map-xx.xx.xx-xxx
vmlinuz-xx.xx.xx-xxx
config-xx.xx.xx-xxx
dts/
cd /boot tar -xjf linux-5.4.224-oxnas-tld-1.bodhi.tar.bz2
cd /boot tar -xf linux-dtb-5.4.224-oxnas-tld-1.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-5.4.224-oxnas-tld-1_1.0_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-5.4.224-oxnas-tld-1 -d vmlinuz-5.4.224-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-5.4.224-oxnas-tld-1 -d initrd.img-5.4.224-oxnas-tld-1 uInitrd
fw_printenv dtb_fileoutput:
dtb_file=/boot/dts/ox820-pogoplug-classic.dtb
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
fw_setenv mtdparts 'mtdparts=41000000.nand-controller:14m(boot),-(data)'
sync sync sync shutdown -r now
Quote
linux-image-5.4.210-oxnas-tld-1_1.0_armel.deb
linux-headers-5.4.210-oxnas-tld-1_1.0_armel.deb
config-5.4.210-oxnas-tld-1
zImage-5.4.210-oxnas-tld-1
linux-dtb-5.4.210-oxnas-tld-1.tar
linux-5.4.210-oxnas-tld-1.patch
Quote
uInitrd
uImage
initrd.img-xx.xx.xx-xxx
System.map-xx.xx.xx-xxx
vmlinuz-xx.xx.xx-xxx
config-xx.xx.xx-xxx
dts/
cd /boot tar -xjf linux-5.4.210-oxnas-tld-1.bodhi.tar.bz2
cd /boot tar -xf linux-dtb-5.4.210-oxnas-tld-1.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-5.4.210-oxnas-tld-1_1.0_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-5.4.210-oxnas-tld-1 -d vmlinuz-5.4.210-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-5.4.210-oxnas-tld-1 -d initrd.img-5.4.210-oxnas-tld-1 uInitrd
fw_printenv dtb_fileoutput:
dtb_file=/boot/dts/ox820-pogoplug-classic.dtb
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
fw_setenv mtdparts 'mtdparts=41000000.nand-controller:14m(boot),-(data)'
sync sync sync shutdown -r now
Quote
linux-image-5.4.179-oxnas-tld-1_1.0_armel.deb
linux-headers-5.4.179-oxnas-tld-1_1.0_armel.deb
config-5.4.179-oxnas-tld-1
zImage-5.4.179-oxnas-tld-1
linux-dtb-5.4.179-oxnas-tld-1.tar
linux-5.4.179-oxnas-tld-1.patch
Quote
uInitrd
uImage
initrd.img-xx.xx.xx-xxx
System.map-xx.xx.xx-xxx
vmlinuz-xx.xx.xx-xxx
config-xx.xx.xx-xxx
dts/
cd /boot tar -xjf linux-5.4.179-oxnas-tld-1.bodhi.tar.bz2
cd /boot tar -xf linux-dtb-5.4.179-oxnas-tld-1.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-5.4.179-oxnas-tld-1_1.0_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-5.4.179-oxnas-tld-1 -d vmlinuz-5.4.179-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-5.4.179-oxnas-tld-1 -d initrd.img-5.4.179-oxnas-tld-1 uInitrd
fw_printenv dtb_fileoutput:
dtb_file=/boot/dts/ox820-pogoplug-classic.dtb
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
sync sync sync shutdown -r now
Quote
linux-image-5.4.101-oxnas-tld-1_1.0_armel.deb
linux-headers-5.4.101-oxnas-tld-1_1.0_armel.deb
config-5.4.101-oxnas-tld-1
zImage-5.4.101-oxnas-tld-1
linux-dtb-5.4.101-oxnas-tld-1.tar
linux-5.4.101-oxnas-tld-1.patch
Quote
uInitrd
uImage
initrd.img-xx.xx.xx-xxx
System.map-xx.xx.xx-xxx
vmlinuz-xx.xx.xx-xxx
config-xx.xx.xx-xxx
dts/
cd /boot tar -xjf linux-5.4.101-oxnas-tld-1.bodhi.tar.bz2
cd /boot tar -xf linux-dtb-5.4.101-oxnas-tld-1.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-5.4.101-oxnas-tld-1_1.0_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-5.4.101-oxnas-tld-1 -d vmlinuz-5.4.101-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-5.4.101-oxnas-tld-1 -d initrd.img-5.4.101-oxnas-tld-1 uInitrd
fw_printenv dtb_fileoutput:
dtb_file=/boot/dts/ox820-pogoplug-classic.dtb
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
sync sync sync shutdown -r now
Quote
linux-image-4.14.198-oxnas-tld-1_1.0_armel.deb
linux-headers-4.14.198-oxnas-tld-1_1.0_armel.deb
config-4.14.198-oxnas-tld-1
zImage-4.14.198-oxnas-tld-1
linux-dtb-4.14.198-oxnas-tld-1.tar
linux-4.14.198-oxnas-tld-1.patch
Quote
uInitrd
uImage
initrd.img-xx.xx.xx-xxx
System.map-xx.xx.xx-xxx
vmlinuz-xx.xx.xx-xxx
config-xx.xx.xx-xxx
dts/
cd /boot tar -xjf linux-4.14.198-oxnas-tld-1.bodhi.tar.bz2
cd /boot
tar -xf linux-dtb-4.14.198-oxnas-tld-1.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-4.14.198-oxnas-tld-1_1.0_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-4.14.198-oxnas-tld-1 -d vmlinuz-4.14.198-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.14.198-oxnas-tld-1 -d initrd.img-4.14.198-oxnas-tld-1 uInitrd
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
sync fw_printenv reboot
cd /media/sdb1 tar -xjf Debian-4.14.180-oxnas-tld-1-rootfs-bodhi.tar.bz2
LABEL=rootfs / ext3 noatime,errors=remount-ro 0 1
cd /media/sdb1/boot cp -a uImage uImage.orig cp -a zImage-4.14.180-oxnas-tld-1 zImage.fdt cat dts/ox820-pogoplug-pro.dtb >> zImage.fdt mkimage -A arm -O linux -C none -T kernel -a 0x60008000 -e 0x60008000 -n 'Linux-4.14.180-oxnas-tld-1' -d zImage.fdt uImage sync
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
apt-get install u-boot-toolsor if you are creating this rootfs on an ARM box, then use the mkimage in this rootfs:
/media/sdb1/usr/bin/mkimage
rm /etc/ssh/ssh_host* ssh-keygen -A apt-get update apt-get upgrade
Quote
update-initramfs: Generating /boot/initrd.img-4.14.180-oxnas-tld-1
cd /boot cp -a uInitrd.bak mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.14.180-oxnas-tld-1 -d initrd.img-4.14.180-oxnas-tld-1 uInitrd
init=/bin/systemd
fw_setenv usb_set_bootargs 'setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts init=/bin/systemd'
apt-get install systemdAlso, check systemd location at /lib/systemd/systemd (/bin/systemd is a symlink to this binary).
Quote
linux-image-4.14.180-oxnas-tld-1_1.0_armel.deb
linux-headers-4.14.180-oxnas-tld-1_1.0_armel.deb
config-4.14.180-oxnas-tld-1
zImage-4.14.180-oxnas-tld-1
linux-dtb-4.14.180-oxnas-tld-1.tar
linux-4.14.180-oxnas-tld-1.patch
Quote
uInitrd
uImage
initrd.img-xx.xx.xx-xxx
System.map-xx.xx.xx-xxx
vmlinuz-xx.xx.xx-xxx
config-xx.xx.xx-xxx
dts/
cd /boot tar -xjf linux-4.14.180-oxnas-tld-1.bodhi.tar.bz2
cd /boot
tar -xf linux-dtb-4.14.180-oxnas-tld-1.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-4.14.180-oxnas-tld-1_1.0_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-4.14.180-oxnas-tld-1 -d vmlinuz-4.14.180-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.14.180-oxnas-tld-1 -d initrd.img-4.14.180-oxnas-tld-1 uInitrd
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
sync fw_printenv reboot
Quote
linux-image-4.14.176-oxnas-tld-1_1.0_armel.deb
linux-headers-4.14.176-oxnas-tld-1_1.0_armel.deb
config-4.14.176-oxnas-tld-1
zImage-4.14.176-oxnas-tld-1
linux-dtb-4.14.176-oxnas-tld-1.tar
linux-4.14.176-oxnas-tld-1.patch
Quote
uInitrd
uImage
initrd.img-xx.xx.xx-xxx
System.map-xx.xx.xx-xxx
vmlinuz-xx.xx.xx-xxx
config-xx.xx.xx-xxx
dts/
cd /boot tar -xjf linux-4.14.176-oxnas-tld-1.bodhi.tar.bz2
cd /boot
tar -xf linux-dtb-4.14.176-oxnas-tld-2.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-4.14.176-oxnas-tld-1_1.0_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-4.14.176-oxnas-tld-1 -d vmlinuz-4.14.176-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.14.176-oxnas-tld-1 -d initrd.img-4.14.176-oxnas-tld-1 uInitrd
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
sync fw_printenv reboot
linux-image-4.4.201-oxnas-tld-1_1.0_armel.deb linux-headers-4.4.201-oxnas-tld-1_1.0_armel.deb config-4.4.201-oxnas-tld-1 zImage-4.4.201-oxnas-tld-1 linux-dtb-4.4.201-oxnas-tld-1.tar linux-4.4.201-oxnas-tld-1.patch
Quote
uInitrd
uImage
initrd.img-xx.xx.xx-xxx
System.map-xx.xx.xx-xxx
vmlinuz-xx.xx.xx-xxx
config-xx.xx.xx-xxx
dts/
cd /boot tar -xjf linux-4.4.201-oxnas-tld-1.bodhi.tar.bz2
cd /boot tar -xf linux-dtb-4.4.201-oxnas-tld-1.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-4.4.201-oxnas-tld-1_1.0_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-4.4.201-oxnas-tld-1 -d vmlinuz-4.4.201-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.4.201-oxnas-tld-1 -d initrd.img-4.4.201-oxnas-tld-1 uInitrd
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
sync fw_printenv reboot
linux-image-4.4.189-oxnas-tld-1_1.0_armel.deb linux-headers-4.4.189-oxnas-tld-1_1.0_armel.deb config-4.4.189-oxnas-tld-1 zImage-4.4.189-oxnas-tld-1 linux-dtb-4.4.189-oxnas-tld-1.tar linux-4.4.189-oxnas-tld-1.patch
cd /boot tar -xjf linux-4.4.189-oxnas-tld-1.bodhi.tar.bz2
cd /boot tar -xf linux-dtb-4.4.189-oxnas-tld-1.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-4.4.189-oxnas-tld-1_1.0_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-4.4.189-oxnas-tld-1 -d vmlinuz-4.4.189-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.4.189-oxnas-tld-1 -d initrd.img-4.4.189-oxnas-tld-1 uInitrd
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
sync fw_printenv reboot
linux-image-4.4.176-oxnas-tld-1_1.0_armel.deb linux-headers-4.4.176-oxnas-tld-1_1.0_armel.deb config-4.4.176-oxnas-tld-1 zImage-4.4.176-oxnas-tld-1 linux-dtb-4.4.176-oxnas-tld-1.tar linux-4.4.176-oxnas-tld-1.patch
cd /boot tar -xjf linux-4.4.176-oxnas-tld-1.bodhi.tar.bz2
cd /boot tar -xf linux-dtb-4.4.176-oxnas-tld-1.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-4.4.176-oxnas-tld-1_1.0_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-4.4.176-oxnas-tld-1 -d vmlinuz-4.4.176-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.4.176-oxnas-tld-1 -d initrd.img-4.4.176-oxnas-tld-1 uInitrd
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
sync fw_printenv reboot
Re: Linux Kernel 3.12.13 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 12, 2014 01:09AM |
Admin Registered: 13 years ago Posts: 19,107 |
linux-image-4.4.174-oxnas-tld-1_1.0_armel.deb linux-headers-4.4.174-oxnas-tld-1_1.0_armel.deb config-4.4.174-oxnas-tld-1 zImage-4.4.174-oxnas-tld-1 linux-dtb-4.4.174-oxnas-tld-1.tar linux-4.4.174-oxnas-tld-1.patch
cd /boot tar -xjf linux-4.4.174-oxnas-tld-1.bodhi.tar.bz2
cd /boot tar -xf linux-dtb-4.4.174-oxnas-tld-1.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-4.4.174-oxnas-tld-1_1.0_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-4.4.174-oxnas-tld-1 -d vmlinuz-4.4.174-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.4.174-oxnas-tld-1 -d initrd.img-4.4.174-oxnas-tld-1 uInitrd
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
sync fw_printenv reboot
linux-image-4.4.133-oxnas-tld-1_1.0_armel.deb linux-headers-4.4.133-oxnas-tld-1_1.0_armel.deb config-4.4.133-oxnas-tld-1 zImage-4.4.133-oxnas-tld-1 linux-dtb-4.4.133-oxnas-tld-1.tar linux-4.4.133-oxnas-tld-1.patch
cd /boot tar -xjf linux-4.4.133-oxnas-tld-1.bodhi.tar.bz2
cd /boot tar -xf linux-dtb-4.4.133-oxnas-tld-1.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-4.4.133-oxnas-tld-1_1.0_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-4.4.133-oxnas-tld-1 -d vmlinuz-4.4.133-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.4.133-oxnas-tld-1 -d initrd.img-4.4.133-oxnas-tld-1 uInitrd
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
sync fw_printenv reboot
linux-image-4.4.124-oxnas-tld-1_1.0_armel.deb linux-headers-4.4.124-oxnas-tld-1_1.0_armel.deb config-4.4.124-oxnas-tld-1 zImage-4.4.124-oxnas-tld-1 linux-dtb-4.4.124-oxnas-tld-1.tar linux-4.4.124-oxnas-tld-1.patch
cd /boot tar -xjf linux-4.4.124-oxnas-tld-1.bodhi.tar.bz2
cd /boot tar -xf linux-dtb-4.4.124-oxnas-tld-1.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-4.4.124-oxnas-tld-1_1.0_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-4.4.124-oxnas-tld-1 -d vmlinuz-4.4.124-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.4.124-oxnas-tld-1 -d initrd.img-4.4.124-oxnas-tld-1 uInitrd
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
sync fw_printenv reboot
linux-image-4.4.123-oxnas-tld-1_1.0_armel.deb linux-headers-4.4.123-oxnas-tld-1_1.0_armel.deb config-4.4.123-oxnas-tld-1 zImage-4.4.123-oxnas-tld-1 linux-dtb-4.4.123-oxnas-tld-1.tar linux-4.4.123-oxnas-tld-1.patch
cd /boot tar -xjf linux-4.4.123-oxnas-tld-1.bodhi.tar.bz2
cd /boot tar -xf linux-dtb-4.4.123-oxnas-tld-1.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-4.4.123-oxnas-tld-1_1.0_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-4.4.123-oxnas-tld-1 -d vmlinuz-4.4.123-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.4.123-oxnas-tld-1 -d initrd.img-4.4.123-oxnas-tld-1 uInitrd
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
sync fw_printenv reboot
cd /media/sdb1 tar -xjf Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2
LABEL=rootfs / ext3 noatime,errors=remount-ro 0 1
cd /media/sdb1/boot cp -a uImage uImage.orig cp -a zImage-4.4.54-oxnas-tld-1 zImage.fdt cat dts/ox820-pogoplug-pro.dtb >> zImage.fdt mkimage -A arm -O linux -C none -T kernel -a 0x60008000 -e 0x60008000 -n 'Linux-4.4.54-oxnas-tld-1' -d zImage.fdt uImage sync
apt-get install u-boot-tools
rm /etc/ssh/ssh_host* ssh-keygen -A apt-get update apt-get upgrade
Quote
update-initramfs: Generating /boot/initrd.img-4.4.54-oxnas-tld-1
cd /boot cp -a uInitrd.bak mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.4.54-oxnas-tld-1 -d initrd.img-4.4.54-oxnas-tld-1 uInitrd
init=/bin/systemd
fw_setenv usb_set_bootargs 'setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts init=/bin/systemd'
apt-get install systemd
ethtool -A eth0 rx off tx off
cd /boot tar -xjf linux-4.4.38-oxnas-tld-5.bodhi.tar.bz2
cd /boot tar -xf linux-dtb-4.4.38-oxnas-tld-5.tar
cd /boot apt-get remove flash-kernel dpkg -i linux-image-4.4.38-oxnas-tld-5_5_armel.deb
cd /boot mv uImage uImage.bak mv uInitrd uInitrd.bak mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-4.4.38-oxnas-tld-5 -d vmlinuz-4.4.38-oxnas-tld-5 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.4.38-oxnas-tld-5 -d initrd.img-4.4.38-oxnas-tld-5 uInitrd
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
ox820-pogoplug-pro.dtb ox820-kd20.dtb ox820-akitio.dtb ox820-pogoplug-classic.dtb ox820-stg212.dtb
sync fw_printenv reboot
cd /boot tar -xjf linux-4.0.0-oxnas-tld-1-bodhi.tar.bz2
cd /boot mkdir dts mv ox820-pogoplug-pro.dtb dts/ mv ox820-pogoplug-classic.dtb dts/
cd /boot apt-get remove flash-kernel dpkg -i linux-image-4.0.0-oxnas-tld-1_1.0_armel.deb
cd /boot mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-4.0.0-oxnas-tld-1 -d vmlinuz-4.0.0-oxnas-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.0.0-oxnas-tld-1 -d initrd.img-4.0.0-oxnas-tld-1 uInitrd
fw_setenv uinitrd_addr '0x60e00000' fw_setenv uimage_addr '0x60500000' fw_setenv dtb_addr '0x62c00000' fw_setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10' fw_setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr' fw_setenv dt_load_dtb 'ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb' fw_setenv dt_load_initrd 'ext2load usb 0:1 $uinitrd_addr /boot/uInitrd' fw_setenv dt_load_uimage 'ext2load usb 0:1 $uimage_addr /boot/uImage' fw_setenv dt_usb_boot 'run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm' fw_setenv dt_usb_bootcmd 'run usb_set_bootargs; run dt_usb_boot' fw_setenv dt_bootcmd_usb 'usb start; run dt_usb_bootcmd; usb stop' fw_setenv bootcmd 'run dt_bootcmd_usb; reset'
sync fw_printenv reboot
cd /boot tar -xjf linux-3.18.5-oxnas-tld-1-bodhi.tar.bz2
cd /boot mkdir dts mv ox820-pogoplug-pro.dtb dts/ mv ox820-pogoplug-classic.dtb dts/
apt-get remove flash-kernel dpkg -i linux-image-3.18.5-oxnas-tld-1_1_armel.deb
mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-3.18.5-oxnas-tld-1 -d /boot/vmlinuz-3.18.5-oxnas-tld-1 /boot/uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-3.18.5-oxnas-tld-1 -d /boot/initrd.img-3.18.5-oxnas-tld-1 /boot/uInitrd
fw_setenv uinitrd_addr '0x60e00000' fw_setenv uimage_addr '0x60500000' fw_setenv dtb_addr '0x62c00000' fw_setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10' fw_setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr' fw_setenv dt_load_dtb 'ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb' fw_setenv dt_load_initrd 'ext2load usb 0:1 $uinitrd_addr /boot/uInitrd' fw_setenv dt_load_uimage 'ext2load usb 0:1 $uimage_addr /boot/uImage' fw_setenv dt_usb_boot 'run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm' fw_setenv dt_usb_bootcmd 'run usb_set_bootargs; run dt_usb_boot' fw_setenv dt_bootcmd_usb 'usb start; run dt_usb_bootcmd; usb stop; reset' fw_setenv bootcmd 'run dt_bootcmd_usb'
sync fw_printenv reboot
cp -a zImage-3.18.5-oxnas-tld-1 zImage-3.18.5-oxnas-tld-1.fdt cat dts/ox820-pogoplug-pro.dtb >> zImage-3.18.5-oxnas-tld-1.fdt mkimage -A arm -O linux -C none -T kernel -a 0x60008000 -e 0x60008000 -n Linux-3.18.5-oxnas-tld-1 -d zImage-3.18.5-oxnas-tld-1.fdt uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-3.18.5-oxnas-tld-1 -d /boot/initrd.img-3.18.5-oxnas-tld-1 /boot/uInitrd
fw_setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10' fw_setenv ipaddr '192.168.0.222' fw_setenv serverip '192.168.0.224' fw_setenv uinitrd_addr '0x60e00000' fw_setenv uimage_addr '0x60500000' fw_setenv tftp_bootcmd 'run bootcmd_tftp' fw_setenv tftp_boot 'bootm $uimage_addr $uinitrd_addr' fw_setenv tftp_load_uinitrd 'tftpboot $uinitrd_addr uInitrd' fw_setenv tftp_load_uimage 'tftpboot $uimage_addr uImage' fw_setenv bootcmd_tftp 'run usb_set_bootargs; run tftp_load_uimage; run tftp_load_uinitrd; run tftp_boot'
> run bootcmd_tftp
fw_setenv bootcmd 'run bootcmd_tftp'
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts rootfstype=ext2
cd /media/sdb1 tar -xjf Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2
/dev/root / ext2 noatime,errors=remount-ro 0 1
cd /media/sdb1/boot cp -a zImage-3.17.0-oxnas-tld-1 zImage-3.17.0-oxnas-tld-1.fdt cat dts/ox820-pogoplug-pro.dtb >> zImage-3.17.0-oxnas-tld-1.fdt mkimage -A arm -O linux -C none -T kernel -a 0x60008000 -e 0x60008000 -n 'Linux-3.3.17.0-oxnas-tld-1' -d zImage-3.17.0-oxnas-tld-1.fdt uImage sync
rm /etc/ssh/ssh_host* ssh-keygen -A apt-get update apt-get upgrade
apt-get install u-boot-tools
cd /boot tar -xjf linux-3.17.0-oxnas-tld-1-bodhi.tar.bz2
cd /boot mkdir dts mv ox820-pogoplug-pro.dtb dts/ mv ox820-pogoplug-classic.dtb dts/
apt-get remove flash-kernel dpkg -i linux-image-3.17.0-oxnas-tld-1_1_armel.deb
mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-3.17.0-oxnas-tld-1 -d /boot/vmlinuz-3.17.0-oxnas-tld-1 /boot/uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-3.17.0-oxnas-tld-1 -d /boot/initrd.img-3.17.0-oxnas-tld-1 /boot/uInitrd
fw_setenv uinitrd_addr '0x60e00000' fw_setenv uimage_addr '0x60500000' fw_setenv dtb_addr '0x62c00000' fw_setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10' fw_setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr' fw_setenv dt_load_dtb 'ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb' fw_setenv dt_load_initrd 'ext2load usb 0:1 $uinitrd_addr /boot/uInitrd' fw_setenv dt_load_uimage 'ext2load usb 0:1 $uimage_addr /boot/uImage' fw_setenv dt_usb_boot 'run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm' fw_setenv dt_usb_bootcmd 'run usb_set_bootargs; run dt_usb_boot' fw_setenv dt_bootcmd_usb 'usb start; run dt_usb_bootcmd; usb stop; reset' fw_setenv bootcmd 'run dt_bootcmd_usb'
sync fw_printenv reboot
cp -a zImage-3.17.0-oxnas-tld-1 zImage-3.17.0-oxnas-tld-1.fdt cat dts/ox820-pogoplug-pro.dtb >> zImage-3.17.0-oxnas-tld-1.fdt mkimage -A arm -O linux -C none -T kernel -a 0x60008000 -e 0x60008000 -n Linux-3.17.0-oxnas-tld-1 -d zImage-3.17.0-oxnas-tld-1.fdt uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-3.17.0-oxnas-tld-1 -d /boot/initrd.img-3.17.0-oxnas-tld-1 /boot/uInitrd
fw_setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10' fw_setenv ipaddr '192.168.0.222' fw_setenv serverip '192.168.0.224' fw_setenv uinitrd_addr '0x60e00000' fw_setenv uimage_addr '0x60500000' fw_setenv tftp_bootcmd 'run bootcmd_tftp' fw_setenv tftp_boot 'bootm $uimage_addr $uinitrd_addr' fw_setenv tftp_load_uinitrd 'tftpboot $uinitrd_addr uInitrd' fw_setenv tftp_load_uimage 'tftpboot $uimage_addr uImage' fw_setenv bootcmd_tftp 'run usb_set_bootargs; run tftp_load_uimage; run tftp_load_uinitrd; run tftp_boot'
> run bootcmd_tftp
fw_setenv bootcmd 'run bootcmd_tftp'
cd /boot
tar -xjf linux-3.15.3-oxnas-tld-1-bodhi.tar.bz2
mkdir dts mv ox820-pogoplug-pro.dtb dts/
apt-get remove flash-kernel dpkg -i linux-image-3.15.3-oxnas-tld-1_5_armel.deb
mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-3.15.3-oxnas-tld-1 -d /boot/vmlinuz-3.15.3-oxnas-tld-1 /boot/uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-3.15.3-oxnas-tld-1 -d /boot/initrd.img-3.15.3-oxnas-tld-1 /boot/uInitrd
uinitrd_addr=0x60e00000 uimage_addr=0x60500000 dtb_addr=0x62c00000 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset bootcmd=run dt_bootcmd_usb
sync fw_printenv reboot
cp -a zImage-3.15.3-oxnas-tld-1 zImage-3.15.3-oxnas-tld-1.fdt cat dts/ox820-pogoplug-pro.dtb >> zImage-3.15.3-oxnas-tld-1.fdt mkimage -A arm -O linux -C none -T kernel -a 0x60008000 -e 0x60008000 -n 'Linux-3.15.3-oxnas-tld-1' -d zImage-3.15.3-oxnas-tld-1.fdt uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-3.15.3-oxnas-tld-1 -d /boot/initrd.img-3.15.3-oxnas-tld-1 /boot/uInitrd
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 ipaddr=192.168.0.222 serverip=192.168.0.224 uinitrd_addr=0x60e00000 uimage_addr=0x60500000 tftp_bootcmd=run bootcmd_tftp tftp_boot=bootm $uimage_addr $uinitrd_addr tftp_load_uinitrd=tftpboot $uinitrd_addr uInitrd tftp_load_uimage=tftpboot $uimage_addr uImage bootcmd_tftp=run usb_set_bootargs; run tftp_load_uimage; run tftp_load_uinitrd; run tftp_boot
> run bootcmd_tftp
fw_setenv bootcmd 'run bootcmd_tftp'
cd /media/sdb1 tar -xjf Debian-3.12.13-oxnas-tld-5-rootfs-bodhi.tar.bz2- Edit /media/sdb1/etc/fstab entry for /dev/root to match the rootfstype of your usb_rootfstype.
mv boot/dts/ox820-pogoplug-pro.dtb boot/dts/ox820-pogoplug-pro.dtb.bak mv ox820-pogoplug-classic.dtb boot/dts/ox820-pogoplug-pro.dtb
sync
apt-get update apt-get upgrade
Re: Linux Kernel 3.12.13 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 12, 2014 11:40PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Linux Kernel 3.12.13 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 13, 2014 06:37PM |
Registered: 10 years ago Posts: 3 |
Re: Linux Kernel 3.12.13 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 13, 2014 06:57PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Linux Kernel 3.12.13 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 13, 2014 07:09PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Linux Kernel 3.12.13 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 13, 2014 07:30PM |
Registered: 13 years ago Posts: 218 |
Re: Linux Kernel 3.12.13 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 13, 2014 08:08PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Linux Kernel 3.12.13 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 13, 2014 10:37PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Linux Kernel 3.12.13 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 14, 2014 04:38AM |
Registered: 13 years ago Posts: 218 |
Re: Linux Kernel 3.12.13 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 14, 2014 02:50PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Linux Kernel 3.12.13 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 14, 2014 06:38PM |
Admin Registered: 13 years ago Posts: 19,107 |
[ 12.476695] netpoll: netconsole: local IPv4 address 192.168.0.222 [ 12.482792] netpoll: netconsole: interface 'eth0' [ 12.487470] netpoll: netconsole: remote port 6666 [ 12.492177] netpoll: netconsole: remote IPv4 address 192.168.0.220 [ 12.498327] netpoll: netconsole: remote ethernet address ff:ff:ff:ff:ff:ff [ 12.505198] netpoll: netconsole: device eth0 not up yet, forcing it [ 12.511472] eth0: device MAC address 00:25:31:xx:xx:xx [ 12.518630] netpoll: netconsole: carrier detect appears untrustworthy, waiting 4 seconds [ 14.510635] libphy: stmmac-0:00 - Link is Up - 1000/Full [ 16.533734] console [netcon0] enabled [ 16.537390] netconsole: network logging started .. .. [....] Configuring network interfaces...SIOCSIFHWADDR: Device or resource busy - you may need to down the interface Failed to bring up eth0. done.
Re: Linux Kernel 3.12.13 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 18, 2014 07:58PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Linux Kernel 3.12.13 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 19, 2014 01:02AM |
Registered: 13 years ago Posts: 218 |
Re: Linux Kernel 3.12.13 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 19, 2014 01:44AM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 23, 2014 09:08AM |
Registered: 12 years ago Posts: 40 |
Uncompressing Linux... done, booting the kernel.Full output (read via serial console)
U-Boot SPL 2013.10 (Apr 27 2014 - 19:08:27) Boot device: NAND Attempting to set PLLA to 800 MHz ... plla_ctrl0 : 0000030a plla_ctrl1 : 00400000 plla_ctrl2 : 007f0068 plla_ctrl3 : 00000193 PLLA Set U-Boot 2013.10-tld-3 (May 15 2014 - 14:54:14) for OXNAS DRAM: 128 MiB NAND: 128 MiB In: serial Out: serial Err: serial Net: Led: GREEN mii0 Main Loop Hit any key to stop autoboot: 0 (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found 3676848 bytes read in 335 ms (10.5 MiB/s) 1852456 bytes read in 213 ms (8.3 MiB/s) 7029 bytes read in 215 ms (31.3 KiB/s) ## Booting kernel from Legacy Image at 60500000 ... Image Name: Linux-3.12.13-oxnas-tld-5 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3676784 Bytes = 3.5 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 60e00000 ... Image Name: initramfs-3.12.13-oxnas-tld-5 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 1852392 Bytes = 1.8 MiB Load Address: 60000000 Entry Point: 60000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 62c00000 Booting using the fdt blob at 0x62c00000 Loading Kernel Image ... OK Loading Ramdisk to 67c66000, end 67e2a3e8 ... OK Loading Device Tree to 67c61000, end 67c65b74 ... OK Led: GREEN Starting kernel ... Uncompressing Linux... done, booting the kernel.
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 23, 2014 03:38PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 23, 2014 04:13PM |
Registered: 12 years ago Posts: 40 |
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 23, 2014 04:17PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 23, 2014 04:23PM |
Registered: 12 years ago Posts: 40 |
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 23, 2014 04:32PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 23, 2014 06:30PM |
Registered: 12 years ago Posts: 40 |
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 23, 2014 07:26PM |
Admin Registered: 13 years ago Posts: 19,107 |
effendi
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 24, 2014 03:39AM |
Any help?Quote
root@debian:/boot# mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n linux-3.12.13-oxnas-tld-5 -d /boot/vmlinuz-3.12.13-oxnas-tld-5 /boot/uImage
Image Name: linux-3.12.13-oxnas-tld-5
Created: Sat May 24 01:29:05 2014
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3676784 Bytes = 3590.61 kB = 3.51 MB
Load Address: 60008000
Entry Point: 60008000
root@debian:/boot# mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -n initramfs-3.12.13-oxnas-tld-5 -d /boot/initrd.img-3.12.13-oxnas-tld-5 /boot/uInitrd
Image Name: initramfs-3.12.13-oxnas-tld-5
Created: Sat May 24 01:31:50 2014
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 1852162 Bytes = 1808.75 kB = 1.77 MB
Load Address: 60000000
Entry Point: 60000000
root@debian:/boot# sync
root@debian:/boot# fw_printenv
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
effendi
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 24, 2014 03:43AM |
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 24, 2014 03:33PM |
Admin Registered: 13 years ago Posts: 19,107 |
- Setup U-Boot envs: Disclaimer: The following U-Boot envs settings are recommendation only. If you don't have serial console connected, please do not attempt. Be aware that changing U-Boot env settings to the wrong values will lock you out of the box until you can connect a serial console. Your booting envs should look like below. These are only for demonstration for the correct load addresses (not to be cut/paste as is). However these are my current u-boot envs. uinitrd_addr=0x60e00000 uimage_addr=0x60500000 dtb_addr=0x62c00000 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset bootcmd=run dt_bootcmd_usb
root@PogoPro:/localdisk/linux/uboot# cat /etc/fw_env.config # pogoplug pro /dev/mtd0 0x00100000 0x20000 0x20000
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 28, 2014 06:18AM |
Registered: 12 years ago Posts: 40 |
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 28, 2014 03:37PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) May 28, 2014 05:24PM |
Registered: 12 years ago Posts: 40 |
Re: Linux Kernel 3.14.0 Pogo V3 (Oxnas OX820) package and rootfs (Flattened Device Tree) June 05, 2014 12:15AM |
Registered: 10 years ago Posts: 12 |