Welcome! Log In Create A New Profile

Advanced

LG N1T1 NAS

Posted by ron 
Re: LG N1T1 NAS
October 13, 2020 03:22AM
Hi bodhi.

Would the latest u-boot allow booting from a pure gpt system ? I would actually feel better without the hybrid mbr/gpt. Could it allow booting from 2 different gpt partitions whether a usb stick is connected or not (might even be empty, just present) ?
If it is the case, I do have jtag + serial adapter and could do the testing being one month retired with time to spare.

Regards.



Edited 2 time(s). Last edit at 10/13/2020 03:29AM by Jmax.
Re: LG N1T1 NAS
October 13, 2020 06:33PM
Jmax,

> Would the latest u-boot allow booting from a pure
> gpt system ?

> Could it allow booting from 2
> different gpt partitions whether a usb stick is
> connected or not (might even be empty, just
> present) ?

Yes, my released Kirkwood u-boots have all those capabilities.

> If it is the case, I do have jtag + serial adapter
> and could do the testing being one month retired
> with time to spare.
>

I can't promise that I will build new u-boot for this box. At the moment I'm too busy and don't know when I will have a few-days block of free time.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: LG N1T1 NAS
October 15, 2020 02:15AM
bodhi Wrote:
-------------------------------------------------------
> Yes,
> my
> released Kirkwood u-boots
have all those
> capabilities.
>
> > If it is the case, I do have jtag + serial
> adapter
> > and could do the testing being one month
> retired
> > with time to spare.
> >
>
> I can't promise that I will build new u-boot for
> this box. At the moment I'm too busy and don't
> know when I will have a few-days block of free
> time.

Please do not worry about that.
I just mentioned being free to build and test it myself if possible, it is more an academic question than anything else.
Do not take the trouble.
Re: LG N1T1 NAS
October 15, 2020 04:11PM
OK Jmax.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: LG N1T1 NAS
October 16, 2020 01:50AM
Hi bodhi.

I did some more testing after determining that bootrom was version 1.21. kwboot works fine with the first image uboot.2017.07-tld-1.goflexhome.bodhi.tar that mentioned using the same processor, booting proceeds and give me a totally functional debian system.

I am not even sure I need to go any further, the stock N1T1 uboot supports hybrid mbr/gpt, it could as well support plain gpt. I have a spare disk that I shall format gpt, and un'tar the debian, then the stock system. I will update in case somebody comes around.

If I go farther, what should I look for beyond proper disk/net/serial already working ?

I suppose it is a good idea to get the stock uboot backed up and test it with kwboot ?

Regards.

EDIT: I backed up the mtd0 with "nanddump -l 0x80000 -f mtd0 /dev/mtd0" the -n option gives an error. From main PC, I used scp to get the image and tested it with kwboot, works perfectly.



Edited 2 time(s). Last edit at 10/16/2020 02:23AM by Jmax.
Re: LG N1T1 NAS
October 16, 2020 04:06PM
Jmax,

> I did some more testing after determining that
> bootrom was version 1.21. kwboot works fine with
> the first image
> uboot.2017.07-tld-1.goflexhome.bodhi.tar that
> mentioned using the same processor, booting
> proceeds and give me a totally functional debian
> system.

Well done!

>
> I am not even sure I need to go any further,

No need to if you found that stock u-boot works booting the Debian rootfs.

>
> If I go farther, what should I look for beyond
> proper disk/net/serial already working ?

The GoFlex Home and this N1T1 have the same SoC and memory. But different in other aspect such as flash type, LED GPIOs. Might be the same network chip (I have not looked to confirm but it should be).

So while it is OK to kwboot as a rescue tool, it should not be used as is.

> EDIT: I backed up the mtd0 with "nanddump
> -l 0x80000 -f mtd0 /dev/mtd0" the -n option gives
> an error. From main PC, I used scp to get the
> image and tested it with kwboot, works perfectly.

Now you know there is a rescue mechanism working with stock mtd0.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: LG N1T1 NAS
October 21, 2020 12:47AM
Well, I shouted "victory" too soon.

While installing Linux, I did not understand why the partitions were shown as "linux-raid" and lost any possibility of reverting to the original software. The updated u-boot, which support pure gpt prevents from reinstalling the base software. It is fine with Debian though.
I do not know if anybody still has the original 1Tb box and would be capable of extracting the information I missed at the beginning, some much for my eagerness to get the disk upgraded and not keeping the old one as it was :/

If anybody has the original non-upgraded firmware, I would like to get in touch.



Edited 2 time(s). Last edit at 10/24/2020 12:05PM by Jmax.
S
Re: LG N1T1 NAS
October 28, 2020 01:21PM
The original firmware can be downloaded from LG's website. As long, the updated u-boot contains LG's rescue mode, it shouldn't be any problem to use it to restore the raid configuration.
Re: LG N1T1 NAS
October 29, 2020 07:24AM
S Wrote:
-------------------------------------------------------
> The original firmware can be downloaded from LG's
> website. As long, the updated u-boot contains LG's
> rescue mode, it shouldn't be any problem to use it
> to restore the raid configuration.

Hi S.

I did that already, but it fails. Unfortunately, once updated for the new new U-boot, there is no way back, the original software can no longer be installed, I suppose it relies on the old U-boot. The only solution seems to be reverting to the original U-boot.
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: