Welcome! Log In Create A New Profile

Advanced

Linux Kernel 4.9.0 Kirkwood package and Debian rootfs

Posted by bodhi 
Re: Linux Kernel 4.8.3 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and Debian rootfs
November 13, 2016 07:02PM
RyCKY_Martin Wrote:
-------------------------------------------------------
> Can I install grub to enable apparmor on pogo?
>
GRUB_CMDLINE_LINUX="$1 apparmor=1
> security=apparmor"

No, not possible.

-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
Re: Linux Kernel 4.8.3 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and Debian rootfs
November 14, 2016 01:35AM
WzL
Re: Linux Kernel 4.8.3 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and Debian rootfs
November 14, 2016 05:22PM
The latest linux-4.8.3-kirkwood-tld-1 package works perfectly fine on my GoFlexNet, which I recently brought back to life. Thanks again for the effort bodhi, really appreciated, keep up the good work!

[offtopic] I am no bot, who dares to accuse me of a bot, you brutal monster. [/offtopic]

PogoPlug e02 specs



Edited 1 time(s). Last edit at 11/14/2016 05:23PM by WzL.
Re: Linux Kernel 4.8.3 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and Debian rootfs
November 16, 2016 03:53PM
WzL Wrote:
-------------------------------------------------------
> The latest linux-4.8.3-kirkwood-tld-1 package
> works perfectly fine on my GoFlexNet, which I
> recently brought back to life. Thanks again for
> the effort bodhi, really appreciated, keep up the
> good work!
>
> [offtopic] I am no bot, who dares to accuse me of
> a bot, you brutal monster. [/offtopic]

Cool!
I think when you click the button too fast twice, the forum sw thinks you tried to post the same thing again, therefore you're a bot :))

-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
Many thanks bodhi for your work :)

I currently use your patches to build my own kernel. I used it to patch 4.8.8 kernel source and it works fine except for lirc_rpi.

I did try using your kernel config but it kept giving a kernel panic on boot (no file system), even if I set init=/bin/systemd, so had to use my own .config which worked fine. Link to config I used.

Both my NSA310B & NSA310A running fine, except the A appears to get a lot hotter (not sure how to fix that).
Re: Linux Kernel 4.8.3 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and Debian rootfs
November 20, 2016 05:47AM
mpmc Wrote:
-------------------------------------------------------
> Many thanks bodhi for your work :)
>
> I currently use your patches to build my own
> kernel. I used it to patch 4.8.8 kernel source and
> it works fine except for lirc_rpi.
>
> I did try using your kernel config but it kept
> giving a kernel panic on boot (no file system),
> even if I set init=/bin/systemd, so had to use my
> own .config which worked fine.
> https://gist.githubusercontent.com/anonymous/
> a9de67c430464553633404394fab5f7c/raw/14fad222d5ff8
> 04225f19e2f4d64a82631b9b652/Config]Link to config
> I used.
>
> Both my NSA310B & NSA310A running fine, except the
> A appears to get a lot hotter (not sure how to fix
> that).

mpmc,

Cool :) Thanks for reporting this! what was the problem in lirc_pi? is it in the source code? and if I do a diff between .config files will I get the exact difference or more?

The hot temp problem might be fan related. I might need to look at the DTS.

-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
Hi Bodhi,

I can't remember the exact output during the build, but I believe it was something do to with invalid types being passed to a function, I just disabled it.

As for the .config, I'm honestly not sure what the difference would be. I start with the mvebu_v5_defconfig, make sure everything for systemd is set and add media/filesystem drivers.

I was planning on switching to your uboot (using stock atm) but I have some bad blocks (on both) & I didn't want to risk it.

NSA310S

[    0.797451] Scanning device for bad blocks
[    0.835784] Bad eraseblock 354 at 0x000002c40000

NSA310A (It's actually the B model as it has the lm85 sensor).

[    0.874414] Scanning device for bad blocks
[    0.923008] Bad eraseblock 477 at 0x000003ba0000
[    0.929270] Bad eraseblock 508 at 0x000003f80000

Do these look okay & would it be safe to switch to your uboot?
Re: Linux Kernel 4.8.3 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and Debian rootfs
November 29, 2016 03:37PM
mpmc,

> I can't remember the exact output during the
> build, but I believe it was something do to with
> invalid types being passed to a function, I just
> disabled it.
>

Thanks, I guess I will find out when I compile kernel 4.9!

> [ 0.835784] Bad eraseblock 354 at
> [ 0.923008] Bad eraseblock 477 at
> [ 0.929270] Bad eraseblock 508 at

> Do these look okay & would it be safe to switch to
> your uboot?

They are way out in NAND stock kernel and rootfs. So it is safe to flash u-boot.

-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
Re: Linux Kernel 4.9.0 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and Debian rootfs
December 17, 2016 04:15PM
@bodhi

Do you think you could put your kernel / source on github? :)

Cheers.
Re: Linux Kernel 4.9.0 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and Debian rootfs
December 24, 2016 04:42PM
mpmc Wrote:
-------------------------------------------------------
> @bodhi
>
> Do you think you could put your kernel / source on
> github? :)
>
> Cheers.

No need to :) you got everything you need to build your own kernel in the released tarball there are 6 files in there, 2 are needed to build. Download the mainline kernel source tree (or clone that Git version) and apply the patch, copy the config file to it, start building.

config-4.8.0-kirkwood-tld-1 
linux-4.8.0-kirkwood-tld-1.patch

-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
Re: Linux Kernel 4.9.0 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and Debian rootfs
December 31, 2016 03:18AM
bodhi, do you see anything in printenv that is preventing boot into rescue system ?
Re: Linux Kernel 4.9.0 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and Debian rootfs
January 15, 2017 04:33AM
I fuck1ng love you bodhi!

Everything is so nicely packed and build together, clarity and well documented, just outstanding work, love you so much!

I'm willing to rebuild the kernel, just to prune out some modules I don't use that are built-in, so I squeeze the most bytes of it. Is there any place where I can get the kernel sources with all patches and such, just like the ones you use for building?

That would be freaking awesome!

Thanks a lot dude, totally own you a drink!
Re: Linux Kernel 4.9.0 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and Debian rootfs
January 17, 2017 03:43AM
Hey pogolover,

Glad you like it :)

> I'm willing to rebuild the kernel, just to prune
> out some modules I don't use that are built-in, so
> I squeeze the most bytes of it. Is there any place
> where I can get the kernel sources with all
> patches and such, just like the ones you use for
> building?
>

Everything you need is in this tarball:

Quote

Updated 17 Dec 2016:

Kernel linux-4.9.0-kirkwood-tld-1 package has been uploaded.

Latest Linux kernel 4.x general release information can be found at:
LinuxChanges log

Download at Dropbox:

linux-4.9.0-kirkwood-tld-1-bodhi.tar.bz2

Get the kernel source tree from kernel.org, and apply the patch, copy the config file into the source tree and start building.

-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
Re: Linux Kernel 4.9.0 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and Debian rootfs
January 18, 2017 07:16AM
Re: Linux Kernel 4.9.0 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and Debian rootfs
January 18, 2017 04:17PM
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: