[How-To] update DStar/PP/GFlex to new uBoot for kernel>3.2

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby rty » Thu Feb 07, 2013 5:13 am

$this->bbcode_second_pass_quote('moonman', 'J')ust install linux-kikwood, no need to upgrade u-boot


Hi Moonman, do you mean I can just run "pacman -Sy linux-kirkwood linux-headers-kirkwood"? Do I have to set machine_ID and arcnumber? Thanks in advance.
Alarm + Samba + NginX + Php+ MySQL + phpMyAdmin on Raspberry Pi 3, Pogoplug 4, Pogoplug E02, Seagate Goflex Home
rty
 
Posts: 75
Joined: Sun Jun 03, 2012 8:57 am
Location: Singapore

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby moonman » Thu Feb 07, 2013 5:58 am

You don't need to set those in u-boot. THey should've been set when you installed it. Just run pacman and reboot.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby rty » Thu Feb 07, 2013 2:01 pm

Moonman, you are da man! :D Thank you very much.

My Series 4 is now on 3.7.6-0. The Corrupted Journal line is now gone from dmesg. :D :D :D

$this->bbcode_second_pass_quote('', 'L')inux pogo2 3.7.6-0-ARCH #1 PREEMPT Tue Feb 5 01:16:15 UTC 2013 armv5tel GNU/Linux


Again, thanks!
Alarm + Samba + NginX + Php+ MySQL + phpMyAdmin on Raspberry Pi 3, Pogoplug 4, Pogoplug E02, Seagate Goflex Home
rty
 
Posts: 75
Joined: Sun Jun 03, 2012 8:57 am
Location: Singapore

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby moonman » Thu Feb 07, 2013 6:12 pm

No problem. If it wasn't for WarheadsSE I wouldn't know either :)
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby greywolf » Sun Feb 10, 2013 11:19 am

Hi, I recently performed the upgrade and nearly bricked my go flex net, though have managed to recover by the seat of my pants :D I believe my error was that I made the uboot readonly but not sure how to confirm that.

On my journey to enlightenment, I have decided to challenge myself and have put the functioning SATA HDD aside and have built the archlinux arm os on an 8GB Flash Drive. I built the image using another goflex net that I scored off a mate that is running the jeff.doozan v0.6 UBIT environment and all works well, I have a static IP on the image and it boots flawlessly on that goflex net. However when I plug it into the upgraded goflex net, I get nothing, not even an IP assigned. I have tuned the usb so that it is urootfs though it is running kernel version 3.1.10-15-ARCH at the moment.

I have not run the install_uboot_mtd0.sh on the usb drive yet as I don't want to upgrade the UBIT environment on my mates goflex net so I do not have any fw_setenv to play around with, does anyone have any ideas where I went wrong and what I can do to fix it up?

I am a noob as well A noob that wants to learn, is there anything more dangerous ;)
greywolf
 
Posts: 7
Joined: Sun Feb 10, 2013 11:05 am

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby moonman » Sun Feb 10, 2013 10:08 pm

I'm not understanding here a little. So you've successfully upgraded to the new uBoot on one of your GF Nets. Built a rootfs on the other, but it doesn't boot on the first one. Correct?

We will need a netconsole output from the upgraded GF Net to figure out what's going on. I hope you did activate netconsole...
Things to check:
Make sure arcnumber is set
If you have the sata hdd inserted while you trying to boot, make sure you've chosen the environment where it tries to boot from USB first
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby greywolf » Mon Feb 11, 2013 9:10 am

Hi Moonman,
thanks for getting back to me. I tried netconsole via a mac and ubuntu but nothing comes up on either.

Just to run over it again, I have two goflex net's. Let's say that GF1 is the one that I upgraded the uBoot on and GF2 is my mates that is running the Jeff.Doozan UBIT environment v06 that you install when you originally go from the pogo software to Archlinux arm.

So I followed the instructions from this forum on GF1 which had the original kernel that was pre 3.2 and somewhere I stuffed up my image went to UBIT~06 which I assume was the rescue image. I wasn't sure what to do so I managed to get an older image on a sata to work that was running rc.conf and has a static IP address. This was all on the GF1. So all is working on my SATA, boots up with no issues what so ever (but obviously something was not working as now I find out netconsole is not working).

So I decided to build a new image on an 8GB USB key on GF2 and can get it working with no issues on GF2. I tune it so that is urootfs and plug it into GF1 and the orange light on GF1 starts flashing and then goes solid. Seems that I may have stuffed up the uboot install on the instructions, is there any way to fix it? I have followed the instructions again but it is still not working. I am a bit worried that if I set the boot instructions to look for USB first it may not even load the SATA if it goes bad again.

Ta
greywolf
 
Posts: 7
Joined: Sun Feb 10, 2013 11:05 am

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby pklaus » Mon Feb 11, 2013 11:11 pm

Hi moonman, Mr. Doozan, Davygravy, Vlad, Sagittarius and Kurlon!
Thanks for all your great work and for the tutorial. Everything worked smoothly on my GoFlex Home.

Just one side note: I had to correct the MAC Address on the device by calling $this->bbcode_second_pass_code('', '/usr/sbin/fw_setenv ethaddr 00:10:75:29:de:ad') (as stated on the sticker on the bottom of my device). It was set to a different one than the one I set when I installed uboot (v0.6 ?) a long time ago.

Regards, Philipp
pklaus
 
Posts: 15
Joined: Sat Apr 30, 2011 4:25 pm

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby dikins » Mon Feb 18, 2013 9:07 pm

Hi
I followed instructions from the 1st post step by step. Everything was fine. I could even successfully reboot my GoflexNet.
But there is something wrong now.
First of all I can't update the kernel.
$this->bbcode_second_pass_code('', '
[root@alarm ~]# pacman -Sy linux-kirkwood linux-headers-kirkwood
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update alarm (unable to lock database)
error: failed to update aur (unable to lock database)
error: failed to synchronize any databases
error: failed to init transaction (unable to lock database)
error: could not lock database: Read-only file system
')
More than that the LED starts blinking yellow on boot.
Is it something wrong with arcNumber maybe?
I'v set 3089 for GoflexNet by command
$this->bbcode_second_pass_code('', '/usr/sbin/fw_setenv arcNumber 3089')
dikins
 
Posts: 18
Joined: Fri Feb 15, 2013 6:58 pm

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby moonman » Mon Feb 18, 2013 9:20 pm

The yellow/orange light means that you used USB first method. It doesn't find USB drive to boot from so it starts blinking yellow, but then it find the satadrive. So this is fine.

Read only file system... did you copy uInitrd into the boot folder?! This was only required to boot from the USB drive, NOT the sata drive.

To fix:
$this->bbcode_second_pass_code('', 'mount -o remount,rw /
rm /boot/uInitrd')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 27 guests