Welcome! Log In Create A New Profile

Advanced

Linux Kernel 4.4.38 Oxnas (OX820) Pogo V3 package and Raspbian rootfs feasible?

Posted by youxiaojie 
Linux Kernel 4.4.38 Oxnas (OX820) Pogo V3 package and Raspbian rootfs feasible?
February 25, 2017 03:49AM
I am using pogo v3 with plx nas7821 cpu. Since Raspbian is armv6 optimized,I hope to use raspbian with Kernel 4.4.38, is it feasible?
Re: Linux Kernel 4.4.38 Oxnas (OX820) Pogo V3 package and Raspbian rootfs feasible?
February 25, 2017 05:02AM
youxiaojie,

> I am using pogo v3 with plx nas7821 cpu. Since Ras
> pbian is armv6 optimized,I hope to use raspbian wi
> th Kernel 4.4.38, is it feasible?

Yes it should work.

[    0.000000] Linux version 4.4.38-oxnas-tld-5 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP PREEMPT Sun Dec 11 17:32:48 PST 2016
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d

Which kernel version is Raspbian rootfs at currently?

Update:

I take it back ... not sure it it works. Raspbian might be armv7. Try it :)

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 02/25/2017 05:15AM by bodhi.
Re: Linux Kernel 4.4.38 Oxnas (OX820) Pogo V3 package and Raspbian rootfs feasible?
February 25, 2017 11:13AM
I run it with first generation of raspberry with armv6, uname -a shows Linux 4.4.xx...armv6l...I will try.
Does it just tarball the full root tree to a usb disk with ext3 partition?


anther question,since kirkwood is armv5te, nas7821 is arm6l,is rootfs for pogo v4 suitable to pogo pro?
pardon for my ignorance.

and an mtd partition question about different mtd scheme,eg,1M4M32M+data (your articles)
dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00400000 00020000 "uImage"
mtd2: 02000000 00020000 "rootfs"
mtd3: 0db00000 00020000 "data"
or
/tmp/fw_setenv mtdparts 'mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)'

(http://blog.qnology.com/2014/07/hacking-pogoplug-v4-series-4-and-mobile.html)

even more the simplest openwrt
#1MB for the uBoot, the rest for rootfs (~122MB)
/tmp/fw_setenv mtdparts 'mtdparts=orion_nand:1M(u-boot),-(rootfs)'

(http://blog.qnology.com/2015/02/openwrt-on-pogoplug-mobile.html)

which one is better?
and in the first choice, uImage partition should or shouldnot burn kernel you just mentioned to leave uimage and some concerning file in /boot,I am a little confused:)

THANKS again.
Re: Linux Kernel 4.4.38 Oxnas (OX820) Pogo V3 package and Raspbian rootfs feasible?
February 25, 2017 04:31PM
youxiaojie,

> Does it just tarball the full root tree to a usb d
> isk with ext3 partition?

No, to reuse your existing rootfs, install the new Oxnas kernel 4.4.38 on it (use the kernel tarball, not the rootfs tarball).

>
>
> anther question,since kirkwood is armv5te, nas7821
> is arm6l,is rootfs for pogo v4 suitable to pogo pr
> o?

It is perfectly fine to use the Kirkwood rootfs for Pogo V3, just intall the Oxnas kernel while you are running the Kirkwood box. Or you can use a second USB drive that has the Kirkwood rootfs and chroot into it and install the Oxnas kernel.

>
> and an mtd partition question about different mtd
> scheme

MTD partitions definition is what you want to make of it. Depending on the purpose. However, the only thing that matters when you intsall new u-boot and run external rootfs using my released u-boot: u-boot partition mtd0. Make sure that mtd0 is set to what required in the installation instruction.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 02/25/2017 10:55PM by bodhi.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: