AKiTiO MyCloud Mini

Install Arch Linux ARM on other devices.

Re: AKiTiO MyCloud Mini

Postby WarheadsSE » Wed Mar 07, 2012 1:18 pm

Is this with the u-boot from Silverstone, or the one we have on github?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: AKiTiO MyCloud Mini

Postby hippo » Thu Mar 08, 2012 5:01 am

use DC01 u-boot souce.

below use GitHub souce:
u-boot source: WarheadsSE-uboot-ox820-24b0099.zip from GitHub
stage1: from DC01
host: Arch Linux
cross toolchain: gcc 4.2.4, glibc 2.7 from DC01

256MB:
$this->bbcode_second_pass_code('', '
make \
CROSS_COMPILE=arm-linux- \
MEM_SIZE=256
')
$this->bbcode_second_pass_code('', '
Stage-1 Bootloader Wed Mar 7 20:24:56 CST 2012
Attempting to set PLLA to 750MHz ...
plla_ctrl0 : 0x0000000A
plla_ctrl1 : 0x000F0000
plla_ctrl2 : 0x001D01A0
plla_ctrl3 : 0x00000017
PLLA Set

Setup memory, testing
Reading disk 00
Sector : 0x0000009A
Hdr len: 0x00021384
Hdr CRC: 0xBEB818FC
OK
Initialising disks
SATA PHY not ready for device 1
Detecting SATA busses:
Bus 0: Found first device OK
Device 0: Model: WDC WD1600BEVT-22ZCT0 Firm: 11.01A11 Ser#: WD-WXEZ07C79076
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 (Mar 8 2012 - 12:20:57)

U-Boot code: 60E00000 -> 60E21384 BSS: -> 60E55BAC
RAM Configuration:
Bank #0: 60000000 256 MB
SRAM Configuration:
64KB at 0x50000000
NAND:256 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: 0

Loading from IDE device 0, partition 1: Name: hda1
Type: U-Boot
Image Name: Linux-2.6.31.14_SMP_7821
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1934308 Bytes = 1.8 MB
Load Address: 60008000
Entry Point: 60008000
## Booting image at 60500000 ...
Image Name: Linux-2.6.31.14_SMP_7821
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1934308 Bytes = 1.8 MB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux..................................................................................................................... done, booting the kernel.
')

128MB:
$this->bbcode_second_pass_code('', '
make \
CROSS_COMPILE=arm-linux-
')
$this->bbcode_second_pass_code('', '
Stage-1 Bootloader Wed Mar 7 20:24:56 CST 2012
Attempting to set PLLA to 750MHz ...
plla_ctrl0 : 0x0000000A
plla_ctrl1 : 0x000F0000
plla_ctrl2 : 0x001D01A0
plla_ctrl3 : 0x00000017
PLLA Set

Setup memory, testing
Reading disk 00
Sector : 0x0000009A
Hdr len: 0x00021384
Hdr CRC: 0x52E0ED8D
OK
Initialising disks
SATA PHY not ready for device 1
Detecting SATA busses:
Bus 0: Found first device OK
Device 0: Model: WDC WD1600BEVT-22ZCT0 Firm: 11.01A11 Ser#: WD-WXEZ07C79076
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 (Mar 8 2012 - 12:27:24)

U-Boot code: 60E00000 -> 60E21384 BSS: -> 60E55BAC
RAM Configuration:
Bank #0: 60000000 128 MB
SRAM Configuration:
64KB at 0x50000000
NAND:256 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: 0

Loading from IDE device 0, partition 1: Name: hda1
Type: U-Boot
Image Name: Linux-2.6.31.14_SMP_7821
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1934308 Bytes = 1.8 MB
Load Address: 60008000
Entry Point: 60008000
## Booting image at 60500000 ...
Image Name: Linux-2.6.31.14_SMP_7821
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1934308 Bytes = 1.8 MB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux..................................................................................................................... done, booting the kernel.
Linux version 2.6.31.14_SMP_7821 (hippo@OxNAS) (gcc version 4.6.2 20120120 (prerelease) (GCC) ) #4 SMP Sat Feb 25 09:34:56 CST 2012
CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Oxsemi NAS
1 memory region
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writealloc
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS0,115200 noinitrd root=/dev/sda5 rootfstype=ext4 raid=noautodetect mem=128M poweroutage=yes
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125936KB available (3284K code, 256K data, 120K init, 0K highmem)
...
')
so seems u-boot source code something wrong?
hippo
 
Posts: 20
Joined: Sun Feb 19, 2012 2:45 pm

Re: AKiTiO MyCloud Mini

Postby WarheadsSE » Thu Mar 08, 2012 1:24 pm

Try the 256M uboot you compiled, but interrupt it and run the printenv command. I'd like to see just that output.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: AKiTiO MyCloud Mini

Postby hippo » Thu Mar 08, 2012 2:02 pm

$this->bbcode_second_pass_code('', '
$ printenv
bootcmd=run dload1 boot || run dload2 boot || lightled
bootdelay=2
baudrate=115200
ethaddr=00:30:e0:00:00:01
ipaddr=172.31.0.128
serverip=172.31.0.100
autoload=n
netmask=255.255.0.0
bootfile="uImage"
lightled=ledfail 1
extinguishled=ledfail 0
boot=bootm 60500000
dload1=diskboot 60500000 0:1
dload2=diskboot 60500000 0:2
root_dev1=/dev/sda2
root_dev2=/dev/sda1
root_dev=/dev/sda2
stdin=serial
stdout=serial
stderr=serial
bootargs=console=ttyS0,115200 noinitrd root=/dev/sda5 rootfstype=ext4 raid=noautodetect mem=256M poweroutage=yes

Environment size: 534/8188 bytes
')

if bootargs
$this->bbcode_second_pass_code('', '
bootargs=root=/dev/sda5 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 rootwait ubi.mtd=2,512 mem=256M poweroutage=yes noinitrd rootfstype=ext4 raid=noautodetect
')
or
$this->bbcode_second_pass_code('', '
bootargs=root=/dev/sda5 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 rootwait ubi.mtd=2,512 mem=256M poweroutage=yes
')
same situation, kernel halt.
hippo
 
Posts: 20
Joined: Sun Feb 19, 2012 2:45 pm

Re: AKiTiO MyCloud Mini

Postby WarheadsSE » Thu Mar 08, 2012 2:05 pm

Definitively odd.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: AKiTiO MyCloud Mini

Postby hippo » Thu Mar 08, 2012 2:23 pm

maybe AKiTiO use new U-Boot code to enable 256MB? or 256MB just for NAND, not for SATA?
hippo
 
Posts: 20
Joined: Sun Feb 19, 2012 2:45 pm

Re: AKiTiO MyCloud Mini

Postby telzey » Thu Mar 08, 2012 6:33 pm

There's a specific warning in the CPU documentation in the DC01 open source package.

Apparently if 256MB DDR is implemented using 2x1Gbx16 chips instead of 2x1Gbx8 chips then special software is "required" (presumably in the stage1 boot loader, but possibly in u-boot).

There is also mention on the DC01 webpage that ...
"This source code differs from the final version that is used on the retailing DC01."

I don't know the part numbers used in your AKiTiO so I can't check if they're x16 or x8.

The 128MB that we've got on the pogoplug is 1x1Gbx16 and so is the 128MB in the Medion Life.

AFAIK, the stage1 loader in the boot-from-sata thread here is built using the regular code, and so possibly doesn't know how to initialize the 256MB in the AKiTiO correctly.

The 256MB that is in the Iomega HMNDCE is 2x1Gbx16, and so it's HDD stage1 code might work for you if you can find a copy. Unfortunately the Iomega runs at 600MHz so using their stage1 would slow down your system, but it might let you know that that is where your problem lies.
telzey
 
Posts: 58
Joined: Fri Dec 16, 2011 8:42 pm

Re: AKiTiO MyCloud Mini

Postby hippo » Fri Mar 09, 2012 1:18 am

AKiTiO MyCloud Mini use Hynix HY5PS1G831CFP-S6, x2.
in NAS 7825 Data Sheet page 16 say: two ranks of 1Gbx16 requires modified software. HY5PS1G831CFP-S6 is 1Gbx8? does not require special software? i hope so.

i also tried Iomega HMCE source. EMCLifeline-GPL-Bellagio.zip not include U-Boot source; EMCLifeline-GPL-Bellagio-patch.zip include U-Boot source for PLX, but not find Stage1 source. so i use DC01 Stage1 + HMCE U-Boot to test 256MB.
$this->bbcode_second_pass_code('', '
Stage-1 Bootloader Wed Mar 7 20:24:56 CST 2012
Attempting to set PLLA to 750MHz ...
plla_ctrl0 : 0x0000000A
plla_ctrl1 : 0x000F0000
plla_ctrl2 : 0x001D01A0
plla_ctrl3 : 0x00000017
PLLA Set

Setup memory, testing
Reading disk 00
Sector : 0x0000009A
Hdr len: 0x00019020
Hdr CRC: 0x4C172C55
OK
Initialising disks
SATA PHY not ready for device 1
Detecting SATA busses:
Bus 0: Found first device OK
Device 0: Model: WDC WD1600BEVT-22ZCT0 Firm: 11.01A11 Ser#: WD-WXEZ07C79076
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 (Mar 9 2012 - 00:49:16)

U-Boot code: 60D00000 -> 60D19020 BSS: -> 60D1CCB0
RAM Configuration:
Bank #0: 60000000 256 MB
SRAM Configuration:
64KB at 0x50000000
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: 0

Loading from IDE device 0, partition 1: Name: hda1
Type: U-Boot
Image Name: Linux-2.6.31.14_SMP_7821
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1934308 Bytes = 1.8 MB
Load Address: 60008000
Entry Point: 60008000
## Booting image at 60500000 ...
Image Name: Linux-2.6.31.14_SMP_7821
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1934308 Bytes = 1.8 MB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux..................................................................................................................... done, booting the kernel.
')

and
$this->bbcode_second_pass_code('', '
PLX>>setenv bootargs 'console=ttyS0,115200 root=/dev/sda5 rootfstype=ext4 mem=256M noinitrd raid=noautodetect'
PLX>>saveenv
Saving Environment to Disk...
wait_no_error() SATA core flagged error
oxnas_sata_outb() Wait for ATA no-error timed-out
Error (no IRQ) dev 0 blk 558: status 0x59
Saving environment to disk 0 primary image failed
')
can't save U-Boot environments.

$this->bbcode_second_pass_code('', '
PLX>>tftpboot 0x60500000 uImage
Wait GMAC to reset
Wait for PHY reset
Ethernet Phy not recognised!
Wait for link to come up.Link up
Wait for auto-negotiation to complete.....
')
can't recognise RTL8211D.

maybe i need compare U-Boot source between DC01 and HMCE, and patch DC01 U-Boot source for test 256MB.
hippo
 
Posts: 20
Joined: Sun Feb 19, 2012 2:45 pm

Re: AKiTiO MyCloud Mini

Postby WarheadsSE » Fri Mar 09, 2012 1:31 am

Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: AKiTiO MyCloud Mini

Postby telzey » Fri Mar 09, 2012 1:51 am

Congratulations on your perseverance!

Your Hynix DDR chips are definitely 128MBx8 instead of 64MBx16 which is different to the Iomega which is the only other 256MB configuration that I know about.

Unfortunately, I don't know what that means in practice :(

Good luck with your continued exploration!
telzey
 
Posts: 58
Joined: Fri Dec 16, 2011 8:42 pm

PreviousNext

Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: No registered users and 23 guests