Welcome! Log In Create A New Profile

Advanced

[Solved] How to upgrade UBit from 0.3 to 0.6

Posted by tomcheng76 
[Solved] How to upgrade UBit from 0.3 to 0.6
October 12, 2011 10:22PM
Hi,
I was using ubit 0.3 long time ago, i would like to install 0.6 so that i can install archlinux in the device...
can i follow the step here ? http://archlinuxarm.org/platforms/armv5/seagate-goflex-net
Download the U-Boot Install Toolkit (UBIT) environment
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 goflexnet
chain_revert
uboot_uptodate

The instruction is written for a "factory" goflex net, so i want to confirm before trying to "brick" the device...

I would like to know the steps of upgrading ubit. Please help :)

Thanks in advance.

EDITed: please help me to MIGRATE it to UBOOT sub-forum if i am wrong. I was using debian squeeze with a 2.6.34 kernel. every time if i do some package install/updates which involves the kernel rebuild, the system will crash and i have to recover the kernel, so i would like to do a upgrade.



Edited 2 time(s). Last edit at 10/16/2011 06:57AM by tomcheng76.
Re: How to upgrade UBit from 0.3 to 0.6
October 16, 2011 06:56AM
UBit Upgrading works but the old Debian no longer boots, finally reformat the harddrive with one partition and it works,
basically follow the archlinux steps.

Reference:
http://archlinuxarm.org/forum/viewtopic.php?f=18&t=901
http://archlinuxarm.org/platforms/armv5/seagate-goflex-net
Re: How to upgrade UBit from 0.3 to 0.6
October 16, 2011 07:36AM
You didn't have to reformat the drive, it's just that UBIT v0.6 on the GoFlex Net has a bug: Whenever a SATA HDD is attached, UBIT tells the kernel to look for the rootfs on /dev/sda1, which is not necessarily the right rootfs. The only known workaround (for UBIT v0.6) is to label the rootfs as "rootfs" and hardcode it into initrd. Check out the section "Finding the right boot partition" of my howto
http://forum.doozan.com/read.php?2,6010
for more information.
Re: How to upgrade UBit from 0.3 to 0.6
October 18, 2011 04:02AM
My harddrive was having 3 partition.
p1: boot
p2: swap
p3: root

i tried label p3 as rootfs, of coz it cannot find the uImage, if i label p1 as rootfs, then no root filesytem, it is not working too...

After that, i tried format p1 and move the contents of p1 to p3...label p3 as rootfs...and not working, that why i format the drive...

Is that if i applied the hard code patch to initrd, i am able to boot debian in this case?

anyway I am just unlucky for buying goflex net too early ~ ~
Re: How to upgrade UBit from 0.3 to 0.6
October 18, 2011 07:10AM
The modified initrd is about booting Debian. You should label p3 as rootfs, modify initrd, create uInitrd and put it to p1.
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: