[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 suyanlu » Tue Mar 19, 2013 3:16 pm

$this->bbcode_second_pass_quote('moonman', 'T')ry creating a bootable USB stick and boot from it. Use ext2 fs


solved.
3ks.

I disassembled goflexhome, connect serial wire to it, very nice!
after using usb disk boot,
I founduInitrd in /boot (hard disk), uInitrd is from ubit resume source, so I deleted it, other problem is /etc/fw_env.config start address is 0xc00000, but my config file is 0xa00000, modify it, reboot, it's ok.
suyanlu
 
Posts: 31
Joined: Fri Mar 15, 2013 9:33 am

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

Postby suyanlu » Sat Apr 06, 2013 8:10 am

PPV4 cannot upgrade, that's a bad news...
suyanlu
 
Posts: 31
Joined: Fri Mar 15, 2013 9:33 am

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

Postby moonman » Sat Apr 06, 2013 10:05 am

$this->bbcode_second_pass_quote('suyanlu', 'P')PV4 cannot upgrade, that's a bad news...


PPV4 does not need an upgrade...
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 gulizi » Wed May 01, 2013 5:25 am

I think there is something wrong with the instructions for goflex home, i followed exactly the instruction in first post and have the same issue of rebooting into ubit. Do i have to remove ubit after flashing updated uboot? i don't know how these two are entangled and it is very confusing to me.
My netcat log shows that the kernel is loaded:

......
Loading file "/boot/uImage" from ide device 0:1 (hda1)
2869736 bytes read
Loading file "/boot/uInitrd" from ide device 0:1 (hda1)
2643718 bytes read
.......
[ 1.829984] 4 cmdlinepart partitions found on MTD device orion_nand
[ 1.836280] Creating 4 MTD partitions on "orion_nand":
[ 1.841464] 0x000000000000-0x000000100000 : "u-boot"
[ 1.846815] 0x000000100000-0x000000500000 : "uImage"
[ 1.852153] 0x000000500000-0x000002500000 : "rootfs"
[ 1.857462] 0x000002500000-0x000010000000 : "data"
..........

why the system load into ubit instead?
Some guru please help, thanks!


$this->bbcode_second_pass_quote('toysareforboys', 'N')ot sure what's going on :(

I've got a fresh setup following these exact instructions: http://archlinuxarm.org/platforms/armv5 ... s-ui-tabs3

Works perfect.

I want to upgrade my uboot so I can use ext4 on the rootfs as well as possibly a new kernel.

I followed the directions at the beginning of this thread, everything went smooth, did everything. When my Seagate GoFlex Home reboots and I ssh in, I get the ubit OS where it says "this is a temporary mac address, you must reboot at least once to make it permenant" or whatever. That's it :(

If I re run these instructions, it gets me back to being able to boot again at least:

$this->bbcode_second_pass_code('', 'cd /tmp wget http://jeff.doozan.com/debian/goflex/v0.6/uInitrd wget http://jeff.doozan.com/debian/goflex/v0.6/ubit_start chmod +x ubit_start
Start the UBIT environment where the prompt will read: ubit0-6:~#
./ubit_start
Update the U-Boot bootloader and move a copy of the OE U-Boot into unused NAND memory:
chain_install goflexhome chain_revert uboot_uptodate ')

Let me know what I'm doing wrong, or if there are different steps to take if you've got Jeff's images loaded in there now :(

-Jamie M.
gulizi
 
Posts: 7
Joined: Wed May 01, 2013 5:14 am
Top

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

Postby moonman » Wed May 01, 2013 5:29 am

Check that uInitrd is not under the root directory of your rootfs. Did you actually use the uInitrd boot method? because if you didn't it shouldn't load one.
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 gulizi » Wed May 01, 2013 12:36 pm

no there is no uInitrd in root, there is only one under /boot/. And if i override the uboot with
$this->bbcode_second_pass_code('', 'cd /tmp wget http://jeff.doozan.com/debian/goflex/v0.6/uInitrd wget http://jeff.doozan.com/debian/goflex/v0.6/ubit_start chmod +x ubit_start
Start the UBIT environment where the prompt will read: ubit0-6:~#
./ubit_start
Update the U-Boot bootloader and move a copy of the OE U-Boot into unused NAND memory:
chain_install goflexhome chain_revert uboot_uptodate ')

I can get back to linux.
gulizi
 
Posts: 7
Joined: Wed May 01, 2013 5:14 am

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

Postby gulizi » Wed May 01, 2013 12:43 pm

checked the netcat log again
$this->bbcode_second_pass_quote('', '#')# Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.1.10-16-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2869672 Bytes = 2.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... nc -l -u -p 6666 &OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: UBIT-2010.11-00125-ga21bcca
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 2643654 Bytes = 2.5 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK


The kernel and initrd is from the ArchLinuxARM-armv5te-latest.tar.gz, and they boot fine if i use ubit 0.6
gulizi
 
Posts: 7
Joined: Wed May 01, 2013 5:14 am
Top

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

Postby bz31 » Wed May 01, 2013 3:46 pm

$this->bbcode_second_pass_quote('gulizi', 'I') think there is something wrong with the instructions for goflex home, ...

I have a GoFlex Home, no problem.
Have you forgotten "/usr/sbin/fw_setenv arcNumber 3338" ?
bz31
 
Posts: 36
Joined: Mon Jun 18, 2012 8:35 am
Location: France
Top

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

Postby gulizi » Wed May 01, 2013 3:59 pm

$this->bbcode_second_pass_quote('bz31', '')$this->bbcode_second_pass_quote('gulizi', 'I') think there is something wrong with the instructions for goflex home, ...

I have a GoFlex Home, no problem.
Have you forgotten "/usr/sbin/fw_setenv arcNumber 3338" ?


no I didn't forget. What kernel and initrd you use under your /boot?
did you used the archlinuxarm tarball rootfs or the debian squeeze one?
gulizi
 
Posts: 7
Joined: Wed May 01, 2013 5:14 am
Top

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

Postby bz31 » Wed May 01, 2013 4:03 pm

Archlinux, not Debian.
There is no initrd after kernel upgrade.
bz31
 
Posts: 36
Joined: Mon Jun 18, 2012 8:35 am
Location: France

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 1 guest