Welcome! Log In Create A New Profile

Advanced

Netgear Stora uboot envs and FDT

Posted by heychris_1 
Netgear Stora uboot envs and FDT
August 19, 2016 12:32PM
I loaded uboot.2016.05-tld-1.netgear_ms2110.bodhi.tar It works well.

I wanted to see if I could use FDT. I can't think of any reason why it would not work.

My question is about using the uboot.2016.05-tld-1.environment.bodhi.tar

The default mtdparts for a netgear stora are
mtdparts=mtdparts=orion_nand:1M(u-boot),512K(uboot_env),512K(key_store),512K(info),10M(etc),10M(kernel_1),48896K(rootfs1),10M(kernel_2),-(rootfs2)

Since I am not using a large chuck of that, Does it make sense to shift it to
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)

Also.. are there instructions to use the nand for uImage and rootfs ? I currently use them on usb or sata, but would like to use the nand if possible.

Thanks!
Re: Netgear Stora uboot envs and FDT
August 19, 2016 05:33PM
heychris,

> My question is about using the
> uboot.2016.05-tld-1.environment.bodhi.tar
>
> The default mtdparts for a netgear stora are
> mtdparts=mtdparts=orion_nand:1M(u-boot),512K(uboot
> _env),512K(key_store),512K(info),10M(etc),10M(kern
> el_1),48896K(rootfs1),10M(kernel_2),-(rootfs2)
>
> Since I am not using a large chuck of that, Does
> it make sense to shift it to
> mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage)
> ,32M(rootfs),-(data)

That default mtdparts was stock layout, so if you don't intend to use stock, you can refdefine them any way you want. The only mtd that needs to be corrected is mtd0. Since mtd0 is already same as the older Kirkwood plug:

mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)

You can shift without problem.

>
> Also.. are there instructions to use the nand for
> uImage and rootfs ? I currently use them on usb
> or sata, but would like to use the nand if
> possible.

Rootfs is too large, it won't fit in NAND.

uImage is OK, and somewhere in the forum, there are instruction for it. However, I would not do this, because it'll be a hassle to upgrade the kernel, and your rootfs is still needed to be on a disk drive.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Netgear Stora uboot envs and FDT
August 20, 2016 10:04AM
Thank you for the quick reply.

I appreciate you validating the mtd0 layout.

What about using Jeff's rescue system in the rest of the mtd0? Would that boot OK?
Re: Netgear Stora uboot envs and FDT
August 20, 2016 04:57PM
heychris_1 Wrote:
-------------------------------------------------------
> Thank you for the quick reply.
>
> I appreciate you validating the mtd0 layout.
>
> What about using Jeff's rescue system in the rest
> of the mtd0? Would that boot OK?

Jeff's rescue system has not been reported to work with the Stora. And it needs to be installed from stock.

I have not tried booting it directly with the new u-boot (on the Stora) so I can't recomend using it that way.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 08/20/2016 05:30PM 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: