Is it possible to install ArchLinux Arm on NAND of Cubie2?

This forum is for supported devices using an ARMv7 Allwinner SoC.

Is it possible to install ArchLinux Arm on NAND of Cubie2?

Postby KimiArthur » Tue Aug 20, 2013 8:03 am

It has been a while since archlinux arm has support for Cubieboard2, though marked as WIP in the installation page.
I have got my board but I will try the installation as soon as I get reach to it.

What I wonder now is "Is it possible to install the base system directly onto the NAND?" And if it is possible, how should it be done properly?

Thanks for whatever information is provided!
KimiArthur
 
Posts: 4
Joined: Tue Aug 20, 2013 7:53 am

Re: Is it possible to install ArchLinux Arm on NAND of Cubie

Postby WebReflection » Fri Aug 23, 2013 5:22 am

I think the approach would be the same (and please correct me if it's not):
once you have a working SD environment you can do something like the following

$this->bbcode_second_pass_code('', '
# assuming /dev/nandb is your rootfs partition
mount /dev/nandb /mnt

# copy over your working env
rsync -aH --exclude-from=exclude-file / /mnt

# just as precaution
sync
# clean up and shutdown
umount /mnt
shutdown -h now
# remove your SD card
')

the exclude-file would be something like
$this->bbcode_second_pass_code('', '
/dev/*
/home/*
/media/*
/mnt/*
/proc/*
/run/*
/sys/*
/tmp/*
/var/cache/*
/var/log/*
/var/log.hdd/*
')

The difference is with the $this->bbcode_second_pass_code('', 'nand-part') tool for A20 from sunxi that is not that updated so you might want to checkout in your SD card the Patrick Wood updated version which has fixes and gotchas over the old sunxi version.

Once you've got that, you need a proper u-boot with propers script.bin and relative uImage and here I've no idea which one would be the best since I've never tried any of them.

a list of active developers uploading useful stuff about Cubie where you can find under patwood the hwpack for CB 2 (script and uImage) but I don't know which nand bin is suitable/best for cubieboard 2 ... you might want to ask in their forum thought, they are quite helpful ;-)
WebReflection
 
Posts: 104
Joined: Tue Apr 02, 2013 6:49 pm


Return to Allwinner

Who is online

Users browsing this forum: No registered users and 51 guests