AKiTiO MyCloud Mini

Install Arch Linux ARM on other devices.

Re: AKiTiO MyCloud Mini

Postby WarheadsSE » Fri Mar 09, 2012 2:01 am

Here's another tidbit to pay attention to:
https://github.com/WarheadsSE/uboot-ox8 ... 820.h#L145
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 ykmag » Fri Mar 09, 2012 2:04 pm

I just got one of these pretty beasts, the Silverstone one. Nice looking thing. I will be happy to help debug things. But since I have never actualy done the very low level stuff like compiling uboot or the kernel (just followed the install guides) I will need a little help to get going, where do I start?

Lett me refine that a little, I have booted it with stock linux, is the general idea to go about the installation as the pogo v6? How do I change uboot (that is the one thing I have never done and now is the time)?
Last edited by ykmag on Fri Mar 09, 2012 4:37 pm, edited 1 time in total.
ykmag
 
Posts: 61
Joined: Wed Aug 18, 2010 1:28 pm

Re: AKiTiO MyCloud Mini

Postby hippo » Fri Mar 09, 2012 4:37 pm

telzey:
thanks. Home Media CE use 2 pieces of Samsung K4T1G164QE-HCF7, like NAS 7825 Data Sheet say, two ranks of 1Gb, x16. so HMCE use special software?

WarheadsSE:
thank you for your pointing. i'm not familiar too much with C, but i'll try. i use diff command to compare sources now.

ykmag:
you can use Arch Linux + base-devel package, refer README in DC01 source tarball to setup cross compile environment.
hippo
 
Posts: 20
Joined: Sun Feb 19, 2012 2:45 pm

Re: AKiTiO MyCloud Mini

Postby ykmag » Fri Mar 09, 2012 10:39 pm

$this->bbcode_second_pass_quote('hippo', 't')elzey:
ykmag:
you can use Arch Linux + base-devel package, refer README in DC01 source tarball to setup cross compile environment.

By that, do you mean that i shall use the ArchLinuxARM-oxnas-latest.tar.gz on top of the stock uboot/kernel?
ykmag
 
Posts: 61
Joined: Wed Aug 18, 2010 1:28 pm

Re: AKiTiO MyCloud Mini

Postby hippo » Sat Mar 10, 2012 1:52 am

use Arch Linux on PC to cross compile U-Boot.
build kernel on PC(Arch Linux) or DC01(Arch Linux ARM for OxNAS).
hippo
 
Posts: 20
Joined: Sun Feb 19, 2012 2:45 pm

Re: AKiTiO MyCloud Mini

Postby docbee » Sun Mar 11, 2012 10:48 pm

I also opened my fresh DC01, made access to the serial console, and inspected uBoot a bit. Unlinke with other Marvell based systems, the uBoot looks pretty stripped down in terms of functionality. No boot from USB nor from internal HD.
Sorry for asking, but is there an alternative uBoot for this device around (without cross-compiling on a arch linux box)? And how to flash that into the box? Any hint would be welcome.

From stock uBoot is limited to this (not even a "saveenv"!):
$this->bbcode_second_pass_code('', '? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
bootm - boot application image from memory
bootp - boot image via network using BootP/TFTP protocol
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
echo - echo args to console
exit - exit script
fg - flash gpio <port 0 , 1 > <gpio pin [17:0] > <times>
go - start application at address 'addr'
help - print online help
iminfo - print header information for application image
ledfail - Extinguish (0) or light (1) failure LED
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
nwboot - NAND Write boot information
otp - OTP sub-system
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
setenv - set environment variables
sg - set gpio <port 0 , 1 > <gpio pin [17:0] > < (1) high (0) low>
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
version - print monitor version')
docbee
 
Posts: 14
Joined: Sun Mar 11, 2012 10:30 pm

Re: AKiTiO MyCloud Mini

Postby hippo » Mon Mar 12, 2012 1:18 pm

you can boot from SATA HD, not require replace U-Boot. refer this thread, and use this kernel for test.
hippo
 
Posts: 20
Joined: Sun Feb 19, 2012 2:45 pm

Re: AKiTiO MyCloud Mini

Postby ykmag » Mon Mar 12, 2012 10:45 pm

$this->bbcode_second_pass_quote('hippo', 'y')ou can boot from SATA HD, not require replace U-Boot. refer this thread, and use this kernel for test.


Thank you so much. Everything is as expected.
$this->bbcode_second_pass_code('', 'Linux alarm 2.6.31.14_SMP_7821 #4 SMP Sat Feb 25 09:34:56 CST 2012 armv6l ARMv6-compatible processor rev 5 (v6l) Oxsemi NAS GNU/Linux
')
ykmag
 
Posts: 61
Joined: Wed Aug 18, 2010 1:28 pm

Re: AKiTiO MyCloud Mini

Postby docbee » Tue Mar 13, 2012 7:10 am

Thanks, I was not aware, that DC01 can be handled by the same procedure for setting up the HDD as boot decvice as done with the pogoplug, with the variant to use a slightly modified uImage.
The only thing that still puzzles me is, how to configure the uboot environment to load content of first partition of HDD into ram and to start execution from there. I can't see any comands doing that in the actual uboot environment and the "diskboot" uboot command used in the pogoplug example is not avail in DC01 uboot. How did you overcome these obstacles in the DC01, or do I miss something?

Sorry for so many questions and thanks for your kind help so far.

DC01 uboot environment:
$this->bbcode_second_pass_code('', 'bootcmd=run extinguishled boot_nand
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"
load_nand=nboot 60500000 0 440000
load_nand2=nboot 60500000 0 A40000
lightled=ledfail 1
extinguishled=ledfail 0
boot=bootm 60500000
boot_nand=run load_nand boot || run load_nand2 boot || run lightled
stdin=serial
stdout=serial
stderr=serial
bootargs=root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes')
docbee
 
Posts: 14
Joined: Sun Mar 11, 2012 10:30 pm

Re: AKiTiO MyCloud Mini

Postby ykmag » Tue Mar 13, 2012 9:17 am

You are actualy noy using stock uBoot, the SoC will first read from the SATA, ther it finds uBoot and starts of there, very nice indeed. Nothing touched on the original device, and easy to backup image on disk.
ykmag
 
Posts: 61
Joined: Wed Aug 18, 2010 1:28 pm

PreviousNext

Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: No registered users and 6 guests