[How-To] Boot Entirely from SATA

This forum is for all other ARMv5 devices

Re: [How-To] Boot Entirely from SATA

Postby fixsony » Sat Jan 28, 2012 6:50 pm

Sorry I am a newbie in linux. In `disk_create` script I changed the address /dev/sdb. MY question what is (you may run the script via `./disk_create`) From my understanding I double clicked on disk_create and run as terminal. Is this correct? All other steps are understandable, but this step (run the script via `./disk_create`) Is very unclear to me. Please help me.
fixsony
 
Posts: 2
Joined: Sat Jan 28, 2012 6:34 pm

Re: [How-To] Boot Entirely from SATA

Postby 0123456789 » Sun Jan 29, 2012 3:39 am

$this->bbcode_second_pass_quote('fixsony', 'S')orry I am a newbie in linux. ... MY question what is (you may run the script via `./disk_create`)...


I don't normally double click scripts in linux but as long as you see the output on the screen (and no errors) you should be ok (you probably need to be root).

# Output on screen
Writing stage 1
Writing uboot
Writing kernel to

FYI: What it means by run via ./disk_create is that in a terminal window (as root or with sudo) you type ./disk_create, assuming you are in the directory with the script.

Open a new terminal window
# cd directory_where_you_extracted_the_script
# sudo ./disk_create

or

Open a new terminal window
# su -
# cd directory_where_you_extracted_the_script
# ./disk_create
0123456789
 
Posts: 15
Joined: Tue Oct 26, 2010 5:24 am

Re: [How-To] Boot Entirely from SATA

Postby obaltus » Mon Jan 30, 2012 2:11 pm

Hello,

Can this procedure also be applied on the Iomega HMHND CE which shares the same SoC?


Thank you,
obaltus
 
Posts: 10
Joined: Mon Jan 30, 2012 1:46 pm

Re: [How-To] Boot Entirely from SATA

Postby WarheadsSE » Mon Jan 30, 2012 2:21 pm

Yes, but note that as of this moment, the LEDs are not supported, and that you MUST use the uImage.nopci. I would trial this on a separate disk than the one that comes in the HMNDCE, prior to going all in. The formatting & partition breakdown is much different than with the HMNDCE stock image.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [How-To] Boot Entirely from SATA

Postby obaltus » Mon Jan 30, 2012 2:29 pm

Great. Thank you for your quick answer.
obaltus
 
Posts: 10
Joined: Mon Jan 30, 2012 1:46 pm

Re: [How-To] Boot Entirely from SATA

Postby obaltus » Mon Jan 30, 2012 7:50 pm

Hello,

I think, I have followed the instruction correctly. But I am getting a bad magic number when uboot tries to load the kernel image on my Iomega HMNHD CE.

Did I miss something?
Btw: Overclocking does not work on IOMEGA hardware

Here is the console output;

$this->bbcode_second_pass_code('', 'Stage-1 Bootloader Mon Nov 14 22:15:13 EST 2011
Attempting to set PLLA to 700MHz ...
plla_ctrl0 : 0x0000000A
plla_ctrl1 : 0x000E0000
plla_ctrl2 : 0x001B01A0
plla_ctrl3 : 0x00000016
PLLA Set

Setup memory, testing
Reading disk 0, Image 0
Sector : 0x0000009A
Hdr len: 0x0001FB34
Hdr CRC: 0x2229BDCD
OK
Initialising disks
SATA PHY not ready for device 1
Detecting SATA busses:
Bus 0: Found first device OK
Device 0: Model: ST32000542AS Firm: CC38 Ser#: 5XW2RHFR
Type: Hard Disk
Capacity: 131071.9 MB = 127.9 GB (268435455 x 512)
Device 1: not available
Environment successfully read from disk 0 primary image


U-Boot 1.1.2 (Dec 31 2011 - 15:24:45)

U-Boot code: 60E00000 -> 60E1FB34 BSS: -> 60E5435C
RAM Configuration:
Bank #0: 60000000 128 MB
SRAM Configuration:
64KB at 0x50000000
NAND:No NAND device found!!!
0 MiB
In: serial
Out: serial
Err: serial
Setting Linux mem= boot arg value

IDE read: device 0 block # 288, count 1 ... 1 blocks read: OK
Hit any key to stop autoboot: 3 2 1 0

IDE device 0: Model: ST32000542AS Firm: CC38 Ser#: 5XW2RHFR
Type: Hard Disk
Capacity: 131071.9 MB = 127.9 GB (268435455 x 512)
... is now current device

IDE read: device 0 block # 1290, count 5700 ... 5700 blocks read: OK

IDE read: device 0 block # 16674, count 5700 ... 5700 blocks read: OK
## Booting image at 60500000 ...
Image Name: Linux-2.6.31.14
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2189152 Bytes = 2.1 MB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... Bad Data CRC
Light LED

IDE device 0: Model: ST32000542AS Firm: CC38 Ser#: 5XW2RHFR
Type: Hard Disk
Capacity: 131071.9 MB = 127.9 GB (268435455 x 512)
... is now current device

IDE read: device 0 block # 58344, count 5700 ... 5700 blocks read: OK

IDE read: device 0 block # 16674, count 5700 ... 5700 blocks read: OK
Extinguish LED
## Booting image at 60500000 ...
Bad Magic Number
Unknown command 'lightled' - try 'help'
$ ')
obaltus
 
Posts: 10
Joined: Mon Jan 30, 2012 1:46 pm

Re: [How-To] Boot Entirely from SATA

Postby WarheadsSE » Mon Jan 30, 2012 8:23 pm

Well.. I see 700mhz which is 100mhz more than stock. I can generate a 600Mhz if you want.

I need to make you a 256MB uboot anyways.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [How-To] Boot Entirely from SATA

Postby WarheadsSE » Mon Jan 30, 2012 8:27 pm

Also.. why the heck is it trying to read the blocks? I have it configured as a partition!
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [How-To] Boot Entirely from SATA

Postby obaltus » Mon Jan 30, 2012 8:58 pm

No 700MhZ is quite nice :D If you can supply a uboot version that handles the 256MB, it would be cool.
Do you think that the problem is related to the hardware? Or maybe to some mistakes I made during the procedure?
obaltus
 
Posts: 10
Joined: Mon Jan 30, 2012 1:46 pm

Re: [How-To] Boot Entirely from SATA

Postby WarheadsSE » Mon Jan 30, 2012 9:00 pm

Interrupt the boot sequence, and get me a printenv
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 15 guests