Problem booting Linux Kernel 4.4.79 Oxnas (OX820) Pogo V3 August 06, 2017 03:55PM |
Registered: 7 years ago Posts: 9 |
U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12) Boot device: NAND Attempting to set PLLA to 850 MHz ... plla_ctrl0 : 0000020a plla_ctrl1 : 00330000 plla_ctrl2 : 0065008b plla_ctrl3 : 000000f1 PLLA Set U-Boot 2015.10-tld-1 (Nov 21 2015 - 01:17:59 -0800) OXNAS OX820 DRAM: 128 MiB NAND: 128 MiB In: serial Out: serial Err: serial Net: dwmac.40400000 Hit any key to stop autoboot: 0 Reset IDE: Bus 0: OK Device 0: Model: FUJITSU MHZ2250BH G1 Firm: 0040020C Ser#: K61DT942DF7V Type: Hard Disk Supports 48-bit addressing Capacity: 238475.1 MB = 232.8 GB (488397168 x 512) starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Partition Map for IDE device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 478150656 a68080b4-01 83 2 478152704 10244464 a68080b4-02 82 loading envs from ide 0 ... ** File not found /boot/uEnv.txt ** no USB devices available running scan_disk ... Scan device ide Reset IDE: Bus 0: OK Device 0: Model: FUJITSU MHZ2250BH G1 Firm: 0040020C Ser#: K61DT942DF7V Type: Hard Disk Supports 48-bit addressing Capacity: 238475.1 MB = 232.8 GB (488397168 x 512) device ide 0:1 1 bytes read in 92 ms (0 Bytes/s) Found bootable drive on ide 0 loading uImage ... 4619104 bytes read in 3514 ms (1.3 MiB/s) loading uInitrd ... 4236902 bytes read in 3155 ms (1.3 MiB/s) loading DTB /boot/dts/ox820-pogoplug-pro.dtb ... 7067 bytes read in 97 ms (70.3 KiB/s) ## Booting kernel from Legacy Image at 60500000 ... Image Name: Linux-4.4.79-oxnas-tld-1 Created: 2017-08-06 20:40:20 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4619040 Bytes = 4.4 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 60e00000 ... Image Name: initramfs-4.4.79-oxnas-tld-1 Created: 2017-08-06 20:40:26 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 4236838 Bytes = 4 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 67a21000, end 67e2b626 ... OK Loading Device Tree to 67a1c000, end 67a20b9a ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel.
Re: Linux Kernel 4.4.79 Oxnas (OX820) Pogo V3 package and Debian rootfs August 06, 2017 04:49PM |
Admin Registered: 13 years ago Posts: 18,495 |
Quote
Updated 12 Dec 2016:
Kernel linux-4.4.38-oxnas-tld-5 package was uploaded.
Warning: This kernel has grown too big, so it will not work for stock u-boot or its Arch u-boot variant. Stock u-boot has a limitation of 4M uImage, so it will not boot. Please stay with kernel 3.18.5 if you're still booting with stock u-boot. The new u-boot works without limitation.
Credits: Thanks Daniel Golle (LEDE) for the updated patches, and Neil Armstrong for upstreaming activities. I've incorporated the code and ideas from both of these sources to build this kernel.
Latest Linux kernel 4.x general release information can be found at:
LinuxChanges log
Download at Dropbox
linux-4.4.38-oxnas-tld-5.bodhi.tar.bz2
md5:
663df6cee6f8124d829051d0e75c5592
sha256:
300810b969a8282c1b6df9e08a3434a8b826c6fa4796bc8917f42f8bfc9fea44
This tarball contains 6 files:
linux-image-4.4.38-oxnas-tld-5_5_armel.deb
linux-headers-4.4.38-oxnas-tld-5_5_armel.deb
config-4.4.38-oxnas-tld-5
zImage-4.4.38-oxnas-tld-5
linux-dtb-4.4.38-oxnas-tld-5.tar
linux-4.4.38-oxnas-tld-5.patch
INSTALLATION:
A. Installation to run with new U-Boot in NAND (see new U-Boot thread here)
1. Backup your current uImage and uInitrd and other kernel files. In the /boot directory, these are files for your current kernel (xx.xx.xx is the version number):
uInitrd
uImage
initrd.img-xx.xx.xx-xxx
System.map-xx.xx.xx-xxx
vmlinuz-xx.xx.xx-xxx
config-xx.xx.xx-xxx
2. Extract the kernel in the archive:
cd /boot
tar -xjf linux-4.4.38-oxnas-tld-5.bodhi.tar.bz2
3. Extract the dts tarball for the dtb files
cd /boot
tar -xf linux-dtb-4.4.38-oxnas-tld-5.tar
4. And install it with dpkg. If you encounter error with flash-kernel when running dpkg, then remove flash-kernel first to avoid potential problem (It is much better to generate uImage and uInitrd manually anyway):
cd /boot
apt-get remove flash-kernel
dpkg -i linux-image-4.4.38-oxnas-tld-5_5_armel.deb
5. Create uImage and uInitrd manually:
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
6. Setup U-Boot envs:
Note: you must have the latest U-Boot (e.g. 2013.10 and later) installed to do this step.
If you have the Pogo Pro (with PCI) then there is no need to adjust the DTB variable. If you have other boxes such as the Pogo Classic (no PCI), then adjust the DTB name. Other envs in the default can be adjusted later after booted into Debian.
fw_setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
Note: DTBs for supported and potentially support boxes:
ox820-pogoplug-pro.dtb
ox820-kd20.dtb
ox820-akitio.dtb
ox820-pogoplug-classic.dtb
ox820-stg212.dtb
7. Sync. Double check your u-boot envs, make sure there is no error. And reboot
sync
fw_printenv
reboot
B. Installation to run with stock U-Boot in NAND
This method is deprecated due to the kernel 4.0 Oxnas size and stock u-boot limitation. Please see kernel linux-3.18.5-oxnas-tld-1for instruction to install that kernel version if you are still running stock u-boot.
DONE.
Quote
4. Create uImage with embedded DTB for booting with stock u-boot. Skip this step if you have installed the latest released uboot for OXNAS, or are installing this u-boot at the same time.
setenv custom_params 'earlyprintk=serial'and then
boot
Re: Linux Kernel 4.4.79 Oxnas (OX820) Pogo V3 package and Debian rootfs August 07, 2017 10:18AM |
Registered: 7 years ago Posts: 9 |
Re: Problem booting Linux Kernel 4.4.79 Oxnas (OX820) Pogo V3 August 07, 2017 04:32PM |
Admin Registered: 13 years ago Posts: 18,495 |