How to use pacman kernel updates with NAND+SSD setup ?

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

How to use pacman kernel updates with NAND+SSD setup ?

Postby gadou » Sun Mar 16, 2014 2:24 pm

Hi

I'm using archlinux arm on a cubietruck.
I have no SD card installed; the original OS installation was on the NAND flash; the machine boots from /dev/nanda.
However: I moved the entire root filesystem from /dev/nandb to a SSD drive attached to the SATA port of the cubitruck (see this howto):
http://docs.cubieboard.org/tutorials/ct1/installation/moving_rootfs_from_nandflash_to_hard_drive
So the root filesystem is now /dev/sda1. I indicated this to the boot mechanism by adding $this->bbcode_second_pass_code('', 'nand_root=/dev/sda1') at the end of uEnv.txt that resides on the /dev/nanda (the device the CT is booting from).

My question is now: how can I use the regular kernel updates (e.g. linux-sun7i-3.4.79-1-armv7h) provided by the archlinux arm package system. They end up copied to /boot directory within the root filesystem on my SSD.
They aren't used of course as the CT can't directly boot from the SSD.

Is it save to simply copy over the contents of /boot to /dev/nanda?
And where do I have to apply new U-Boot versions to?
pacman -Su suggests to flash them to /dev/mmcblk0, but that doesn't exist on my system (understandably so, as it seems to be the device name of an SD card).

Thanks for your help.

gadou
gadou
 
Posts: 5
Joined: Sat Feb 08, 2014 10:22 pm

Return to Allwinner

Who is online

Users browsing this forum: No registered users and 3 guests

cron