November 11, 2019, 09:59:48 pm


Have you visited the Allwinner Chipset wiki? -

SATA as root partition

Started by DigitalDaz, September 12, 2013, 08:33:52 pm

Previous topic - Next topic


I'm woking down my list of weird and wonderful things to do with my board and I'm close to where I want to boot from SATA.

My understanding is that this will not be possible but I will be able to have my root filesystem on the SATA disk, providing that the drivers are compiled into the kernel rather loaded in a modular fashion.

Could someone please confirm this and also, are there any kernels that already have the SATA drivers compiled in?



These kernels have SATA built in: and

It is true that you cannot boot directly from SATA, but you can have a minimal boot file system on nand or sd with uboot, script.bin, and a kernel.





October 10, 2013, 08:13:03 am #5 Last Edit: October 10, 2013, 08:27:04 am by stulle
im not sure but i think it would work this way (at least it would do so on x86):

-putting rootfs on your preferred prtition on /dev/sda

-putting kernel (with sata driver built0in of course) as uImage on formatted nanda (see,72.0.html)

-telling uBoot to load the kernel with root=/dev/sdax (no clue how to do it)

i"m also very interested in this question! did you find any solutions?

EDIT: just found this wonderful thread:,511.0.html
looks like with this we have all we need :) i will try this. if i dont answer i didnt find a solution and am stuck to a bricked cubie. but dont wait for me and leave me behind, you have to go on :)


you have to put "root=/dev/sda1 rootwait"
in the file "uEnv.txt" whitch is on the same location as uImage, in /dev/nand1 partition


@stulle : the uEnv.txt tells the uImage/kernel where to find the rootfilesystem which included the libs.
Thats the reason why you have to have SATA driver compiled to uImage to use a STA-SSD for linux.