Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,545
» Latest member: elver
» Forum threads: 16,209
» Forum posts: 116,954

Full Statistics

Latest Threads
Brand new sealed Pinetime...
Forum: General Discussion on PineTime
Last Post: elver
Yesterday, 06:41 AM
» Replies: 0
» Views: 251
Call recording?
Forum: PinePhone Pro Software
Last Post: biketool
09-09-2025, 04:14 AM
» Replies: 7
» Views: 6,757
Thoughts after a year wit...
Forum: General Discussion on Pinebook Pro
Last Post: Frank23t
09-08-2025, 10:30 PM
» Replies: 4
» Views: 1,983
Why projects like PinePho...
Forum: General Discussion on PinePhone
Last Post: biketool
09-08-2025, 12:51 PM
» Replies: 4
» Views: 3,950
more mobile linux on redd...
Forum: General Discussion on PinePhone
Last Post: biketool
09-08-2025, 12:03 PM
» Replies: 2
» Views: 1,830
Anyone selling a Pinebook
Forum: Pinebook Hardware and Accessories
Last Post: ams
09-08-2025, 09:26 AM
» Replies: 2
» Views: 2,070
Having trouble reading MP...
Forum: Getting Started
Last Post: Alex92
09-05-2025, 08:49 PM
» Replies: 1
» Views: 3,175
Special keys stopped work...
Forum: General Discussion on PineNote
Last Post: cheepeero
09-05-2025, 07:32 PM
» Replies: 0
» Views: 2,290
Booting Issues
Forum: PineNote Software
Last Post: vlagged
09-04-2025, 12:52 PM
» Replies: 20
» Views: 10,145
Experimental Mobian kerne...
Forum: PinePhone Pro Software
Last Post: teekay
09-04-2025, 01:40 AM
» Replies: 11
» Views: 4,531

 
  Successful boot from HDD
Posted by: mmatyas - 11-20-2018, 06:46 PM - Forum: Linux on RockPro64 - Replies (1)

So, following thing:

I have built a server with the RockPro64 and 4 HDDs. After my SD Card died due to frequent flashing of new images and the immense data writing due to kernel compilation, I have looked into how I could boot my RockPro64 from my HDDs.

Turns out, nothing easier than that!

Just install your (in my case Arch) Linux on the SD card. This will create different partitions, where mmcblk0p7 (or however your System will call the partitions on your SD card), the 7th partition is your root file system.

U-Boot WILL ALWAYS look in the boot/ folder on this partition for the kernel and the extlinux config. But not for the other parts, the root= flag in the extlinux.conf specifies where the kernel should boot the rootfs from.

So, create a partition on one of the HDDs (Raid and LVM should also work, just make sure to edit the mkinitcpio and recreate the kernel config before you continue), format it to ext4 and copy everything from the rootfs on the sdcard into this new partition on the HDD. Make sure you copy them with correct metadata, I recommend rsync.

After that, use fdisk to give a label for this partition, that you will not use any more on the system, like 'hddroot'.

Edit the /boot/extlinux/extlinux.conf on your SD card and change your rootfs to the specified partition label above: 'root=label=hddroot'

now, in the partition on the HDD, edit the etc/fstab to mount your original rootfs from the sdcard somewhere on your system. I created a folder called /sdroot for that. Set another fstab entry to bind mount /sdroot/boot to /boot. This is needed, so that /boot in your system points to /boot on your SDcard. Otherwise, kernel upgrades would install your new kernel on the HDD and U-Boot would still load the old one from the SD card. This way, a new kernel installed to /boot will always land on your SD card, minimizing the write load to kernel upgrades only.

That't it, you're good to go! This is running with a USB HDD and a SATA HDD on my system, I'll try packing the rootfs into a software raid and lvm later. Hopefully this way, my SD card will survive more than just a couple of weeks...

Have fun!


  Freedombox for Rock64
Posted by: Danielsan - 11-20-2018, 03:27 PM - Forum: Linux on Rock64 - Replies (2)

Hi Guys,

I found this very interesting project that is based on Debian, beside the fact that it would be awesome if we can have a customized iso image, I was wondering if, since the moment it is based on Debian, using the Debian iso and the official guide it is possible setup the freedombox, what do you think?


https://freedombox.org/
https://wiki.debian.org/FreedomBox/Hardware/Debian


  Least resource usage system
Posted by: ipollox - 11-20-2018, 02:24 PM - Forum: Linux on RockPro64 - No Replies

Hello,
I’m trying to run a Minecraft server for a handful of friends, which I was successful doing so, but id like to squeeze as much of the board as I can.

I’m currently running the “Bionic minimal ROCKPro64 0.7.11 1075 arm64 img”, and the server running at 3GB ram (Maybe I can boost it to 3.5? If I disable unneeded services and processes), or is there a more lightweight ISO to server host? All I need is Java/Internet/and that’s about it, a light system.

What would be safe services and process to get rid off if I only need need java and internet?


  pinebook 1080p
Posted by: eclay - 11-20-2018, 12:29 PM - Forum: General Discussion on Pinebook - Replies (2)

I must of missed the announcement and can't seem to find any specific details about the new 1080p pinebooks.  Can anyone confirm weather this is just the 11.6" or if it also includes the 14" pinebook that now comes with a 1080p display.


  build out list(s)
Posted by: grimace - 11-20-2018, 10:10 AM - Forum: General Discussion on ROCK64 - Replies (4)

I'm looking at the RockPro64 and would like to put together a working SBC, but I'm not quite sure what ( in addition to the CPU board ) what to purchase.  Is there a comprehensive list of what is needed to get it running?

This also applies to other models.


  USART blocking reboot
Posted by: Jesus - 11-20-2018, 10:09 AM - Forum: Rock64 Hardware and Accessories - No Replies

Hello everyone,
 
I managed to use USART as I/F to GPS (9600 bauds) following https://forum.pine64.org/showthread.php?tid=5029
 
As mentioned in some point along the thread, USART RX line data may prevent normal re-booting, which is absolutely unacceptable in my application (an autonomous vehicle). Is there any way to completely disable (remove, cancel, annihilate, etc.) the console terminal keeping alive a fresh and pure USART for general purpose connections?
 
Thank you in advance
J


  questions
Posted by: SammiLeighTully - 11-19-2018, 04:04 PM - Forum: Getting Started - Replies (2)

It's been a while since I used my board. For whatever reason, there was nothing on the micro SD card. I put DietPi on it and got a red light. I forgot, do I need to have ethernet connected the first time?


  Slow Samba performances
Posted by: Ross - 11-19-2018, 02:32 PM - Forum: Linux on RockPro64 - Replies (2)

Hello

I am running Ubuntu18.04.1 LTS on my RockPro64 with the 4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1 kernel.

I have trouble to make samba running at full speed (I can expect almost 90MB/s) while transfering a file from the board (SD card) to my W10 desktop.
The speed start around 90 MB/s for almost 70% of the file and fall down to 30 MB/s (even less) for the remaining of the file (and for other files as well).
I test with a 2.5 GB file.

When I transfert a file from my QNAP, I run at 100 MB/s.

Does anybody know how to boost samba preformance ? Boost SD card accesses ?
Problem with the SD card ?


Thank you in advance

Ross


  Best OS...
Posted by: damosan - 11-19-2018, 11:40 AM - Forum: General Discussion on Pinebook - Replies (17)

...is a subjective thing of course.

I got my Pinebook late last week and got to play with it quite a bit over the weekend.  I did some light tweaking here and there (disabled autoload of Firefox for one) and got some basic tools (compilers and editors) up and running.  All in all the performance is about what I expected but the experience can probably be improved with a more lightweight windowing environment.

Thankfully there are a number of options available.  For those of you who tried these other OS offerings what would you suggest I look into first?

Thanks.

D.


  Dead eMMC?
Posted by: machina - 11-19-2018, 11:03 AM - Forum: Rock64 Hardware and Accessories - Replies (8)

I've just received a RockPro64 with a 16GB eMMC module. I installed DietPi fine on the module and booted okay, spending a couple of hours configuring. But the next time I came to boot, I had to make several attempts before it actually worked. And then today, it booted on the third attempt but since then, nothing.

I'm powering from the 12V 5A supply I bought from Pine64.

At each attempt, the power LED comes on, but then nothing.

I tried booting from an SD card, and that worked fine. So I reflashed the OS image to the eMMC. I used Etcher for this and noticed that it took an unnaturally long time for Etcher to validate the image. (It did eventually.) But the RockPro64 still won't boot from the eMMC.

Do I have to conclude that this is a dead module? I've read about other people having problems with eMMC modules, so I'm starting to wonder if this is an unreliable way to go.