| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 29,697
» Latest member: john9
» Forum threads: 16,260
» Forum posts: 117,187
Full Statistics
|
| Latest Threads |
Old Danctnix server in Pa...
Forum: PineTab Software
Last Post: brorean
3 hours ago
» Replies: 1
» Views: 85
|
Hi everybody!
Forum: General
Last Post: MadisynErnser
11-20-2025, 10:03 PM
» Replies: 2
» Views: 2,237
|
PinePhone, PinePhone Pro,...
Forum: PinePhone Hardware
Last Post: brb78
11-20-2025, 04:15 PM
» Replies: 0
» Views: 66
|
Recycling pinephone as ho...
Forum: PinePhone Hardware
Last Post: biketool
11-20-2025, 09:04 AM
» Replies: 5
» Views: 558
|
Light Sensor / Proximity ...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
11-18-2025, 03:07 PM
» Replies: 1
» Views: 131
|
How to stop it turning on
Forum: General Discussion on PinePhone
Last Post: biketool
11-18-2025, 02:30 PM
» Replies: 3
» Views: 465
|
8/24 status of JumpDrive
Forum: PinePhone Software
Last Post: biketool
11-18-2025, 01:27 PM
» Replies: 5
» Views: 2,132
|
Questions about running U...
Forum: General Discussion on PineTime
Last Post: alicesphere
11-18-2025, 12:48 AM
» Replies: 0
» Views: 74
|
Difficulty with openSUSE ...
Forum: PinePhone Software
Last Post: danm1988
11-17-2025, 07:49 AM
» Replies: 0
» Views: 89
|
Second screen mirroring
Forum: General
Last Post: andrekyler
11-17-2025, 01:06 AM
» Replies: 3
» Views: 1,907
|
|
|
| How to create the img file to use with etcher once you build the android SDK? |
|
Posted by: dazza5000 - 07-18-2019, 01:02 PM - Forum: Android on RockPro64
- Replies (8)
|
 |
How do we construct the single .img file like the one that is distributed on the wiki after we build the Android ROM?
I found these steps for flashing:
rkdeveloptool is here: http://opensource.rock-chips.com/wiki_Rkdeveloptool
Get the board into bootrom mode. Short the two pins next to the LEDs and hit reset.
Code: cd rockdev/Image-rk3328_box
rkdeveloptool db MiniLoaderAll.bin
rkdeveloptool ef
rkdeveloptool gpt parameter.txt
rkdeveloptool ppt
rkdeveloptool ul MiniLoaderAll.bin
rkdeveloptool wlx uboot uboot.img
rkdeveloptool wlx trust trust.img
rkdeveloptool wlx misc misc.img
rkdeveloptool wlx baseparameter baseparameter.img
rkdeveloptool wlx resource resource.img
rkdeveloptool wlx kernel kernel.img
rkdeveloptool wlx dtbo dtbo.img
rkdeveloptool wlx vbmeta vbmeta.img
rkdeveloptool wlx boot boot.img
rkdeveloptool wlx recovery recovery.img
rkdeveloptool wlx system system.img
rkdeveloptool wlx vendor vendor.img
rkdeveloptool wlx oem oem.img
rkdeveloptool rd
|
|
|
|
| Which product to choose when building for the RockPRO64 |
|
Posted by: dazza5000 - 07-18-2019, 07:59 AM - Forum: Android on RockPro64
- Replies (1)
|
 |
We have the following lunch selections:
Code: daz@daz:/rom2/android/rk3399v90$ cat device/rockchip/rk3399/vendorsetup.sh
add_lunch_combo rk3399-userdebug
add_lunch_combo rk3399-user
add_lunch_combo rk3399_mid-userdebug
add_lunch_combo rk3399_mid-user
add_lunch_combo rk3399pro-userdebug
add_lunch_combo rk3399pro-user
Which one should we choose to build for this board?
Thank you!
|
|
|
|
| load root on NVMe and /boot on eMMC |
|
Posted by: Vikk42 - 07-17-2019, 07:10 PM - Forum: RockPro64 Projects, Ideas and Tutorials
- Replies (4)
|
 |
While looking for a better way to get the kernel on my NVMe I ran across this guy who figured out the best way to load his system. Put the boot files on the boot device and the root files on the fastest device, NVMe.
I'm hoping someone here can put some flesh on these bones to make it work for us. Did I say I'm a linux/programmer novice, yes that is me. Eventually I could figure this out. Think I know how to proceed if no one else cares, but I would like expert advice too.
https://delightlylinux.wordpress.com/201...sing-nvme/
An NVMe SSD makes a superb system drive for a Linux installation, but an easy point to forget is how to make Linux boot on systems that do not support NVMe booting from the motherboard BIOS.
So, here is a quick reminder.
First, Use a secondary SSD that the motherboard BIOS does recognize
This is the key. In a recent Linux Mint 18.3 installation, I used the Samsung 960 EVO NVMe connected to the motherboard using a PCIe to NVMe adapter because the older motherboard lacked an M.2 slot.
The problem is that the motherboard did not recognize the Samsung 960 as a boot device. Sure, Linux Mint 18.3 would install to the NVMe drive fine from a LiveUSB, but there was no way to boot the system from it.
Was all lost?
Nope! Remember, this is Linux that we are talking about, and Linux offers flexible customization. When Linux boots, it first looks for the /boot directory to kickstart the process.
/boot can be located on any other boot device, so it does not have to reside on the same drive as root. We can install the main Linux system on the NVMe, but specify /boot on a different boot device that the motherboard BIOS will boot from.
I had an SSD installed in the system. The motherboard recognized the SSD as a valid boot drive, so I created a 4GB partition (more than necessary, but just in case). The rest of the drive was formatted as ext4 for regular data storage.
The system and swap partitions were located on the Samsung NVMe. The boot loader installation was set to the SSD, not the NVMe. Below is the Install dialog from a Linux Mint 18.3 installation that shows how the partitions were set up.
![[Image: install1.png?w=620]](https://delightlylinux.files.wordpress.com/2017/12/install1.png?w=620)
Linux Mint 18.3 Cinnamon installation showing how to arrange partitions so a system will boot Linux is the Linux has been installed onto an NVMe device that lacks NVMe booting.
/dev/nvme0n1 is the NVMe device divided into two partitions: btrfs for the Linux installation and all Linux directories except for /boot, and the swap space. btrfs was used here, but any other bootable filesystem is valid. Install Linux normally to the NVMe. - /dev/nvme0n1p1 Linux root filesystem
- /dev/nvme0n1p2 Linux swap partition
/dev/sda in this example is the SSD. The motherboard BIOS detects this as a valid boot drive, so this is where we must place the /boot partition. All other directories in the Linux hierarchy may reside on the NVMe as you wish, but /boot is special. We need to place it on the boot drive.
The SSD was divided into two partitions: a small 4G btrfs partition used solely for booting, and the remaining space as ext4 for data storage.- /dev/sda1 Regular storage space. Nothing special.
- /dev/sda2 /boot goes here. Small partition.
/dev/sdb is the LiveUSB containing the ISO, so ignore it.
The final important step is the boot loader. Specify the SSD (/dev/sda in the example), not the NVMe device, as the boot loader.- /dev/sda The boot loader. BIOS looks for this. Must be the SSD, not the NVMe.
BIOS will look for /boot located on the SSD and proceed to boot the rest of the Linux system. Specify the SSD device itself as the boot loader, not a specific partition on the SSD. (Use /dev/sda, not /dev/sda1 or /dev/sda2.)
Of course, you are not limited to an SSD as a boot device. A spare USB, SCSI, or mechanical hard drive will also work as long as BIOS recognizes it as a boot device. But, watch out! If the boot device containing /boot is missing or fails, then the system will not boot.
Linux Mint booted and ran perfectly following this design. Performance with the SSD does not decrease because the SSD is used only for the bootstrap process. Once Linux is loaded, it runs from the much faster NVMe as the fast and snappy beast Linux was meant to be.
|
|
|
|
Chats are being work on - disruption possible |
|
Posted by: Luke - 07-17-2019, 06:46 PM - Forum: Community and Events
- Replies (1)
|
 |
Hi all,
@fire219 is working on getting the different chats properly bridged (IRC, Discord, Matrix and Telegram). This means that current bridges will come down and a new and more elegant bridging solution will be implemented.
Expect possible short-term disruptions in the next couple of hours; this may extend to a day or two if there is some unforeseen trouble.
|
|
|
|
| RockPro64 Build Environment Docker Container |
|
Posted by: dazza5000 - 07-17-2019, 01:22 PM - Forum: Android on RockPro64
- No Replies
|
 |
I made the following docker container based on another project that has the environment preconfigured for building:
https://cloud.docker.com/repository/dock...-rockpro64
It maps your current directory as the base directory for building.
You can launch it with the following:
Code: docker run --rm --privileged -v "$(pwd)":/home/lineageos -e GIT_USER_NAME=jfloff -e GIT_USER_EMAIL=jfloff@inesc-id.pt -e LINEAGEOS_BRANCH=lineage-16.0 -ti darrank/docker-rockpro64
Once launched, you can build with the following:
Code: . build/envsetup.sh
./build_box.sh
|
|
|
|
| A53 vs A72 performance |
|
Posted by: enip - 07-17-2019, 06:37 AM - Forum: General
- Replies (3)
|
 |
I know A72 is performant while A53 is energy efficient. But what about the Spectre vulnerability? A72 is vulnerable, while A53 is not. The vulnerability is somehow fixed in linux. Hence in recent linux we have pure A53 vs A72 + the fix overhead.
So is A72 + the Spectre fix overhead is still more performant than A53?
|
|
|
|
| Ethical & sustainable resources |
|
Posted by: Njiruk - 07-16-2019, 04:13 PM - Forum: General
- Replies (3)
|
 |
Hi!
Thanks so much Pine people for your great products! I can't wait to order the Pinebook Pro and PinePhone!
It looks like all these products just tick almost all the boxes of what is (and was since a looong time) necessary! It's not with the intention to complain about that one last box that's unticked: ethics... ; rather, I was wondering if there might not be an easy optional kind of solution for this: by proposing buyers to donate a certain amount that would go to some initiatives, or suitable organisation that deals with this... I know, it may feel hypocrite to some, to support it in a secondary way, while these products are (well, to my feeling very most likely not exactly ethically produced, which is to some extent fair enough, as almost all companies do so...), but I don't think it is absurd because you'd really support something that can have a significant effect, so that later the situation can be settled correctly hopefully at some point... Customers will feel it also as quite natural to donate at that moment, because otherwise it is a bit uncoupled and therefore mainly idealistic, to donate independently from a purchase. In fact, now there are no companies just honestly saying how people involved in the production chain are being treated, while there are many pretty questionable cases in there. I believe it may be a beautiful and courageous and very honest initiative to openly admit this to the customers, but also presenting an option to do something about it.
You could say: just buy a fairphone then... But to be honest, I would find this approach more fair, more realistic, less just idealistic and more down to earth, with a potentially greater effect. (Though, I also like Fairphone, don't get me wrong please :~) And it would make Pine64 the most revolutionary tech company (well, if it isn't already..?)
Curious to hear how you receive this idea...
Kurijn
|
|
|
|
|