Jump to content


Photo

Acadia 3.0 and SATA


  • Please log in to reply
4 replies to this topic

#1 cwilt

cwilt

    Advanced Member

  • Members
  • PipPipPip
  • 1,012 posts

Posted 16 July 2015 - 09:14 PM

I am really close to getting the root file system moved to SATA hard drive. The Acadia expects there to be an SD card containing u-boot but it is possible to copy the root system to HD and mount that as root. Hopefully I will be able to post a tutorial on it this weekend.


  • carpinteyrolkh likes this

#2 cwilt

cwilt

    Advanced Member

  • Members
  • PipPipPip
  • 1,012 posts

Posted 20 July 2015 - 10:49 AM

I did accomplish getting root filesystem moved to SATA drive, but not until 9 o'clock last night. Will work on tutorial during the week. Sorry for the delay.



#3 cwilt

cwilt

    Advanced Member

  • Members
  • PipPipPip
  • 1,012 posts

Posted 26 July 2015 - 06:04 PM

This is not an elegant solution but it does work.

 

When I created the bootable SD card I made another on a USB thumb drive. I connect my SATA hard drive to the Acadia, insert the bootable SD and boot up. Once booted insert the thumb drive. Next I use dd to copy thumb drive contents to the hdd. Use Gparted to resize hdd partition to fill the empty space. Once these things are done then we are ready to get our hands dirty by editing uboot environment variables.

 

I connected a FTDI cable to the debug port of the Acadia. Settings are 115200,N,8,1. Reboot Acadia and you should see u-boot pause for a few seconds. Press any key to stop the boot process and enter u-boot command line. 

 

At the u-boot prompt enter:

u-boot>setenv bootarg_mmc 'setenv bootargs ${bootargs} root=/dev/sda1 rootwait fec_mac=${ethaddr} video=mxcfb0:dev=hdmi,19200x1080M@60,if=RGB24,bpp=32 fbmem=28M'

u-boot>saveenv

Upon reboot the Acadia will start the boot process from the SD card but the filesystem on the hard drive will be mounted as root.

 

If anyone needs further information I can break this down into smaller steps.



#4 johann123

johann123

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 07 March 2016 - 08:39 PM

I have the production board V.3 and wanted to know how to do this on this board?



#5 johann123

johann123

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 22 March 2016 - 11:53 PM

What is a FTDI cable?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users