Welcome! Log In Create A New Profile

Advanced

2017.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320, NSA310S, NSA320S, NSA310, HP T5325, Dreamplug

Posted by bodhi 
I started with a virgin Pogoplug E02. After I created /etc/fw_env.config, fw_printenv gave a CRC error. I then found in another thread that the start address should be 0xa0000 for default u-boot, not 0xc0000, so changed it and got fw_env.config to work. I also validated a few of those (e.g., ethaddr). Next, I ran nanddump which has the length specified as 0x80000 and I am wondering if it is same for all models or some adjustment is needed. Also, do I change /etc/fw_env.config back to 0xc0000 before I proceed with the rest of the steps or do I change it after the first reboot?
haridsv,

> ). Next, I ran nanddump which has the length speci
> fied as 0x80000 and I am wondering if it is same f
> or all models or some adjustment is needed.

All of the Kirkwood boxes released in this thread is the same. Except where stated otherwise (i.e. HP T5325 box).

> Also,
> do I change /etc/fw_env.config back to 0xc0000 bef
> ore I proceed with the rest of the steps or do I c
> hange it after the first reboot?

After reboot is fine. Since the envs will be accessed correctly during boot with new u-boot. And Debian does not really use it, until you set it up later.

And please continue posting in your original thread, if you have question or problems during boot.

-bodhi
===========================
Forum Wiki
bodhi's corner
Last post moved here:
https://forum.doozan.com/read.php?3,39859

-bodhi
===========================
Forum Wiki
bodhi's corner
Last post moved here:

https://forum.doozan.com/read.php?3,39894

-bodhi
===========================
Forum Wiki
bodhi's corner
I've uploaded 2017.07-tld-1 U-Boot images. Please see 1st post for download link.


Quote

New/updated in 2017.07-tld-1 version:

- Rebase u-boot code to track mainline 2017.07.
- Incorporated patch to fix "EHCI timed out on TD" error with USB drives.
- Switched the MMC driver to use mainline version for Pogo V4/Mobile and Sheevaplug.
- Improve internal defautl envs.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 11/08/2017 10:17PM by bodhi.
Did you include the pull request that added MMC support to SheevaPlug?
Hi Ray,

First, thanks for your works!

> Did you include the pull request that added MMC
> support to SheevaPlug?

No, I did not. Because I've waited too long to rebase to 2017.07, I've found that in this mainline version there is a better MMC driver that works for all Kirkwood and MVEBU. So I have removed the patched MMC driver, and now use the mainline driver for Pogo V4 and Sheevaplug boxes.

-bodhi
===========================
Forum Wiki
bodhi's corner
I've pushed the source code to GitHub


Quote

1. U-Boot source code at GitHub (latest branch 2017.07-kirkwood-tld-1 and tag v2017.07-kirkwood-tld-1)

-bodhi
===========================
Forum Wiki
bodhi's corner
I've updated the Sheevaplug to latest version 2017.07-tld-2. Please see 1st post for updated download link

Note: this Sheevaplug patch has not been pushed to GitHub yet.

-bodhi
===========================
Forum Wiki
bodhi's corner
Last post moved here:

https://forum.doozan.com/read.php?3,47169,47169#msg-47169

-bodhi
===========================
Forum Wiki
bodhi's corner
bodhi Wrote:
-------------------------------------------------------
> Then for all boxes, restore these 2 envs using the saved envs text in step c (replace xxx with the real saved values)
>
> fw_setenv mtdparts 'xxxxxxxxx'
> fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx'
>
>
Hello Bodhi,

Currently, I am trying to flash your uboot onto my un-used Seagate Dockstar device that has been flashed with another 3rd-party u-boot about 5 years ago. I hope you can help me to clarify the above statement. Is the xxxxxxxxx the backup file mtd0 dumped with nanddump as shown below?
nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0
habibie,

Quote

> > fw_setenv mtdparts 'xxxxxxxxx'
> > fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx'
> >

> above statement. Is the xxxxxxxxx the
> backup file mtd0 dumped with nanddump as
> shown below?
>
nanddump --noecc --omitoob -l 0x80000 -f
> mtd0 /dev/mtd0

No. It is the mtdparts definition which is different for various Kirkwood boxes.

For example,

For the Dockstar mtdparts would be
mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
For the Pogo V4 mtdparts would be
mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)


So for your Dockstar, the command is (note that the prefix mtdparts= is required, not a typo):
fw_setenv mtdparts 'mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)'

-bodhi
===========================
Forum Wiki
bodhi's corner
bodhi Wrote:
-------------------------------------------------------
> So for your Dockstar, the command is (note that the prefix mtdparts= is required, not a typo):
>
fw_setenv mtdparts 'mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)'
>
Thank you Bodhi.
doblecero,

Please continue to post after I've merged your post to a different thread.

This thread is not appropriate to get help with problem.

-bodhi
===========================
Forum Wiki
bodhi's corner
A quick question: after installing this u-boot on a Zyxel NSA325, is it still possible to boot the stock OS? Or do you have to restore the backup of mtd0?
Hi sebr,

> A quick question: after installing this u-boot on
> a Zyxel NSA325, is it still possible to boot the
> stock OS? Or do you have to restore the backup of
> mtd0?

No, you can no longer boot stock OS after install this new u-boot. You have to restore mtd0 to do that.

-bodhi
===========================
Forum Wiki
bodhi's corner
Last post moved here:
https://forum.doozan.com/read.php?3,55984

-bodhi
===========================
Forum Wiki
bodhi's corner
I've moved herb's posts to its own topic below.

-bodhi
===========================
Forum Wiki
bodhi's corner
herb,

I've moved your posts to the thread below. Next time, please post installation problem in a new thread.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 06/28/2018 02:52PM by bodhi.
Last post moved here:
https://forum.doozan.com/read.php?3,62649

-bodhi
===========================
Forum Wiki
bodhi's corner
Last post moved here:

https://forum.doozan.com/read.php?3,62809

-bodhi
===========================
Forum Wiki
bodhi's corner
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: