How to install and boot ROCK64 from eMMC?
#21
(08-01-2017, 04:43 AM)sjk Wrote: I would not use the adapter on the rock64, but from my Linux laptop to prepare the emmc module. Them put it in the rock64 and boot.

You should have no problems then. The same image goes on regardless of if it's a SD card or eMMC, so it's just a matter of using the Pine64 Installer, choosing the Rock64 board type from the drop down at the top, and using one of the stock OS images, or downloading of the other ones from the list on the wiki and using the 'Browse image from local drive' option. Or using some other piece of software of your choosing (Ether, dd, etc) and writing the manually download image.
#22
(08-01-2017, 06:21 PM)pfeerick Wrote:
(08-01-2017, 04:43 AM)sjk Wrote: I would not use the adapter on the rock64, but from my Linux laptop to prepare the emmc module. Them put it in the rock64 and boot.

You should have no problems then. The same image goes on regardless of if it's a SD card or eMMC, so it's just a matter of using the Pine64 Installer, choosing the Rock64 board type from the drop down at the top, and using one of the stock OS images, or downloading of the other ones from the list on the wiki and using the 'Browse image from local drive' option. Or using some other piece of software of your choosing (Ether, dd, etc) and writing the manually download image.
Great. I guess what I needed to know is that the fs structure is the same on sdcard as on the emmc. Thanks for the confirmation.

Sent from my XT1575 using Tapatalk
#23
When I install my emmc module will I still be able to use micro sd for storage as well?
#24
(08-12-2017, 05:00 PM)soldierx Wrote: When I install my emmc module will I still be able to use micro sd for storage as well?


Yes.  Assuming you don't change the dts|dtb describing the SD slot.  For instance I disable the SD card slot for SD storage when I'm booting from eMMC;  because I want to use the SD card slot for gpio(s) control !  The card slot supports gpio | SPI, Jtag support,  or SD storage.

If you change nothing you may use the SD as removable storage when the unit is booted from eMMC.
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
#25
(08-12-2017, 05:08 PM)MarkHaysHarris777 Wrote:
(08-12-2017, 05:00 PM)soldierx Wrote: When I install my emmc module will I still be able to use micro sd for storage as well?


Yes.  Assuming you don't change the dts|dtb describing the SD slot.  For instance I disable the SD card slot for SD storage when I'm booting from eMMC;  because I want to use the SD card slot for gpio(s) control !  The card slot supports gpio | SPI, Jtag support,  or SD storage.

If you change nothing you may use the SD as removable storage when the unit is booted from eMMC.

Thanks,that's what I needed to know Smile
I have a 64Gb emmc coming with my board and a 128Gb micro sd card in hand.
Thanks again!! Smile
#26
So I got my ROCK64 (Awesome board :-)) running Xenial-mate from the SD card. I also have the eMMC module installed.
Is there a way to flash Xenial-mate to the eMMC from the currently running OS?

I should note I've looked at the wiki and elsewhere on the forum and haven't found a definitive answer/guide that addresses this.
#27
I will give you the steps here; if you have trouble please visit us on irc #Rock64 and we'll help you there live.

1) interrupt a normal SD card boot-up at the uboot timer

2) remove the jumper

3) enter boot

4) once the machine is booted make sure you have both store devices in /dev (mmcblk0 and mmcblk1)

5) use the curl command to copy the image you want directly from the network to the eMMC

sample curl command:

curl -L https://github.com/ayufan-rock64/linux-b...m64.img.xz | unxz -c > /dev/mmcblk0


( this assumes that the eMMC is device mmcblk0 )

The reason I mention the above paren, is that this has changed a couple of times. The SD card should be mmcblk1 and the eMMC should be mmcblk0.

The curl command (above) will copy the image from the network (github) directly to the eMMC module; then just make sure the jumper is OFF and reboot; the system should boot-up from the eMMC.
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
#28
I'm sure we will come up with something straightforward in the future ...
You can find me on IRC, Discord and Twitter


#29
Thank you for your help, Mark.
Unfortunately, I'm running the ROCK64 without a monitor so I'm not sure I can follow that procedure.
I'm hoping for a simpler solution in the future.

Thanks again!
#30
(08-14-2017, 03:07 PM)kershaw Wrote: Thank you for your help, Mark.
Unfortunately, I'm running the ROCK64 without a monitor so I'm not sure I can follow that procedure.
I'm hoping for a simpler solution in the future.

Thanks again!


I don't have a monitor either;  I use the serial console cable adapter.  (how to do this is clearly documented more than a few times on the forum too )

In fact, you can't do the procedure above easily WITH a monitor;  you really need to use the serial console cable so that you can see the bootup messages and stop the bootup at the timer!

( believe it or not, this is the simplest and easiest way to load the eMMC )

Wink
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Hardware issues with Rock64 grobbs 1 116 02-25-2021, 09:07 PM
Last Post: Rocklobster
  Rock64 enable 1-wire to read DS18B20 or Dallas temperature sensor Perry 2 641 02-12-2021, 08:02 PM
Last Post: Perry
  boot hdd usb3 philipe 1 188 01-27-2021, 02:12 PM
Last Post: tllim
  Will Mobian Run On Rock64? Porcupine 1 253 01-13-2021, 12:39 PM
Last Post: tophneal
  Rock64 v2 as Openmediavault server - buffers / shutdown problems helpmerock 2 484 12-29-2020, 09:46 AM
Last Post: helpmerock
  Rock64 as a router (OpenWRT,etc) bob-anon 1 788 11-26-2020, 05:13 PM
Last Post: Rocklobster
  Safest way to send shutdown signal to headless Rock64 SMB server? bmurphr1 2 479 11-23-2020, 03:17 AM
Last Post: KC9UDX
  rock64, compile problems "illegal instruction", "memory fault" -> ddr_333Mhz? hunderteins 10 3,935 11-17-2020, 08:00 AM
Last Post: Johannes
  Libreelec Rock64 - 4GB no boot spiker15 3 910 11-02-2020, 12:36 AM
Last Post: wilsonYan
  noob with non booting rock64 4g john72carter 6 1,530 10-14-2020, 07:35 PM
Last Post: Rocklobster

Forum Jump:


Users browsing this thread: 1 Guest(s)