Welcome! Log In Create A New Profile

Advanced

Linux Kernel 4.10.9 Kirkwood package and Debian rootfs

Posted by bodhi 
bodhi Wrote:
-------------------------------------------------------
> mpmc,
>
> The config-4.10.0-kirkwood-tld-1 should not be a p
> roblem with detecting the HDD. You are booting wit
> hout initrd? is that correct?

Yes. The only time I use a initrd is for Debian install (using the initrd for the qnap ts-119, which installs fine :p). I then manually start it back up again & place the kernel on the hard disk so I'm not touching the flash.

>
> Marvell>> bootm 0x800000
> ## Booting image at 00800000 ...
> Image Name:   Linux Kernel for NSA310S
> Created:      2017-04-01  20:30:18 UTC
> Image Type:   ARM Linux Kernel Image (uncompres
> sed)
> Data Size:    3232176 Bytes =  3.1 MB
> Load Address: 00008000
> Entry Point:  00008000
> Verifying Checksum ... OK
> OK
> 
> Starting kernel ...
>
>
> If you use my kernel config, you should boot with
> uImage and uInitrd. So load the uInitrd at 0x11000
> 00, and

I'm not sure which uInitrd to use in this case (or which you're referring). :p

>
>
> fatload usb 0 0x1100000 <path to uInitrd>
> bootm 0x800000 0x1100000
>
>
> By the way, you are still running stock u-boot! I'
> d strongly recommend installing the latest u-boot.
> Try kwboot with serial console to make sure you ha
> ve a recovery path, and then install. You're missi
> ng out too many good features running stock u-boot
> .

I know I am, I'm just a bit wary of upgrading as I feel I'll goof it up :p

I looked at davygravy's UART boot page & when I do [md ff00003c] to view the version, it prints this..

Marvell>> md ff00003c
ff00003c: 00000000 00000000 00000000 00000000    ................
ff00004c: 00000000 00000000 00000000 00000000    ................
ff00005c: 00000000 00000000 00000000 00000000    ................
ff00006c: 00000000 00000000 00000000 00000000    ................
ff00007c: 00000000 00000000 00000000 00000000    ................
ff00008c: 00000000 00000000 00000000 00000000    ................
ff00009c: 00000000 00000000 00000000 00000000    ................
ff0000ac: 00000000 00000000 00000000 00000000    ................
ff0000bc: 00000000 00000000 00000000 00000000    ................
ff0000cc: 00000000 00000000 00000000 00000000    ................
ff0000dc: 00000000 00000000 00000000 00000000    ................
ff0000ec: 00000000 00000000 00000000 00000000    ................
ff0000fc: 00000000 00000000 00000000 00000000    ................
ff00010c: 00000000 00000000 00000000 00000000    ................
ff00011c: 00000000 00000000 00000000 00000000    ................
ff00012c: 00000000 00000000 00000000 00000000    ................

And going from the posts in the thread, lots of others have been having issues too.
Re: Linux Kernel 4.10.0 Kirkwood package and Debian rootfs
April 02, 2017 05:01PM
Ok the subject now is little bit off-topic! Let me move it to a new thread.

-----

This forum software seems to not working right when I split the threads :) sorry if you got confuse reading this.

-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 04/02/2017 05:06PM by bodhi.
Re: Linux Kernel 4.10.0 Kirkwood package and Debian rootfs
April 02, 2017 05:12PM
Re: Linux Kernel 4.10.0 Kirkwood package and Debian rootfs
April 03, 2017 09:44PM
@:bodhi, thanks for providing this for us, appreciated ... I just successfully upgraded to 4.10 kernel :)

Don Charisma ... because anything is possible with Charisma

My blog - http://DonCharisma.org
Our commercial site - http://DonCharisma.com
Re: Linux Kernel 4.10.9 Kirkwood package and Debian rootfs
April 14, 2017 11:19PM
Re: Linux Kernel 4.10.9 Kirkwood package and Debian rootfs
April 15, 2017 09:03PM
Applied.
Note: It did change the nc server and my ip address but I did a fw_printenv after the first part of 4a and caught it before rebooting. Also I did not do the second part of 4a as it is not a first time update with the new u-boot if that matters just sync 3x and shutdown -r now and it is up and running as before.
Re: Linux Kernel 4.10.9 Kirkwood package and Debian rootfs
April 15, 2017 11:25PM
Hi feas,

> Note: It did change the nc server and my ip addres
> s but I did a fw_printenv after the first part of
> 4a and caught it before rebooting.

You meant when you installed u-boot 2016.5-tld-1 at the same time as upgrading the latest kernel?

Because kernel installation does not touch u-boot envs for nc server and ip address.

-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.10.9 Kirkwood package and Debian rootfs
April 15, 2017 11:57PM
bodhi Wrote:
-------------------------------------------------------
> Hi feas,
>
> > Note: It did change the nc server and my ip addr
> es
> > s but I did a fw_printenv after the first part o
> f
> > 4a and caught it before rebooting.
>
> You meant when you installed u-boot 2016.5-tld-1 a
> t the same time as upgrading the latest kernel?
>
> Because kernel installation does not touch u-boot
> envs for nc server and ip address.

Hmm, no I did not update u-boot for this kernel upgrade. I wonder what I did now.

It was a totally different ip before I switched it to 4.10.0 and it worked with my assigned ip. Perhaps /etc/network/interfaces over rides the envs but I am fairly certain I changed the ip also with fw_setenv when updating to 4.10.0.

Oh'well better go check that I didn't take my meds twice today and hide my truck keys. ;)
Re: Linux Kernel 4.10.9 Kirkwood package and Debian rootfs
April 16, 2017 12:09AM
> Oh'well better go check that I didn't take my meds
> twice today and hide my truck keys. ;)

Could be :) the kernel upgrade should not affect any of the most customized system scripts such as /etc/network/interfaces.

-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.10.9 Kirkwood package and Debian rootfs
April 16, 2017 01:26AM
bodhi Wrote:
-------------------------------------------------------
> > Oh'well better go check that I didn't take my me
> ds
> > twice today and hide my truck keys. ;)
>
> Could be :) the kernel upgrade should not affect a
> ny of the most customized system scripts such as /
> etc/network/interfaces.

Please feel free to remove these post or leave to serve as a public service for those of us on meds. ;)
Re: Linux Kernel 4.10.9 Kirkwood package and Debian rootfs
April 17, 2017 09:28PM
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: