| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
Rock64 v2.0 u-boot SPI is...
Forum: General Discussion on ROCK64
Last Post: ju0n
Yesterday, 11:02 AM
» Replies: 0
» Views: 58
|
Libby - ebook reader that...
Forum: PineNote Software
Last Post: kiwigoldfish
07-04-2026, 04:41 PM
» Replies: 6
» Views: 4,020
|
Pinephone software
Forum: General Discussion on PinePhone
Last Post: Csanderson0313
07-04-2026, 08:23 AM
» Replies: 0
» Views: 98
|
PineNote v1.2 - Charges N...
Forum: General Discussion on Pinebook Pro
Last Post: ttsp
07-02-2026, 02:52 AM
» Replies: 0
» Views: 204
|
How to change the PineNot...
Forum: General Discussion on PineNote
Last Post: cameronharring
07-01-2026, 12:22 PM
» Replies: 0
» Views: 109
|
PinePhone Pro disable Vol...
Forum: PinePhone Pro Hardware
Last Post: FR_IV
07-01-2026, 10:53 AM
» Replies: 1
» Views: 1,579
|
Star64/Starpro64 kernel b...
Forum: General
Last Post: tgbgreen
06-30-2026, 12:17 PM
» Replies: 1
» Views: 2,190
|
Manjaro affected by Arch ...
Forum: General
Last Post: tantamount
06-28-2026, 10:45 AM
» Replies: 0
» Views: 261
|
Fix Bricked SPI Flash, Pi...
Forum: PinePhone Pro Hardware
Last Post: FR_IV
06-27-2026, 05:00 PM
» Replies: 0
» Views: 188
|
irradium (based on crux l...
Forum: Linux on RockPro64
Last Post: mara
06-27-2026, 04:09 PM
» Replies: 12
» Views: 19,664
|
|
|
| Forcing u-boot to detect USB3 storage |
|
Posted by: jandastroy - 12-29-2018, 11:27 AM - Forum: Linux on Rock64
- Replies (8)
|
 |
So I've still been having some intermittent boot issues with my USB3 SATA drive. Every now and then u-boot randomly gives me this result during the usb startup process:
Code: Hit any key to stop autoboot: 0
resetting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: Core Release: 3.10a
USB3: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 3 for devices... cannot reset port 1!?
1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Usually calling reset a few times fixes the issue, which is fine if I'm at home but when this happens remotely I can't do anything about it. Until now!
I've been playing with the u-boot environment a bit and decided to try a custom bootcmd to keep trying the usb until it magically just works. Doing this bypasses the default distro_bootcmd which calls into the sd, mmc, usb, and PXE boot options, so if you use any of these alternate boot options you may not want to do this. I'm only interested in the usb boot device, so this setup just repeats the usb boot attempt until it succeeds or the sun burns out.
If you're having intermittent problems with your usb bootup and want to try this, you can type the following in at your u-boot console:
Code: env set bootcmd 'itest 0 == 1; while itest $? != 0; do run usb_bootretry; done'
env set usb_bootretry 'setenv devnum 0; usb reset; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi'
env save
It's not a perfect solution, but it hasn't failed me yet so far. It seems to get the storage device properly on the 2nd attempt every time (unless the 1st attempt works of course), but I've only been running this for a little bit. I think this problem stems from the usb controller being in a bugged state which is why the forced retry manages to get it to start properly by resetting the adapter into a valid state.
In case you try this but want to restore the system default boot sequence, just type the following at the u-boot console:
Code: env set bootcmd 'run distro_bootcmd'
env save
|
|
|
|
| Port REQUEST |
|
Posted by: NightCrawler504 - 12-29-2018, 09:55 AM - Forum: Android on RockPro64
- No Replies
|
 |
Would somebody be so kind as to port android to rp64 from any of these tv boxes H96 Max, X99, Ebox r99, RKM M39 they all work great as tv box, all use rk3399?
|
|
|
|
| Does working *nix exist for Rock64? |
|
Posted by: brox - 12-28-2018, 06:11 AM - Forum: Linux on Rock64
- Replies (2)
|
 |
Hey guys
Does anyone have Rock64 board with *nix 100% working?
I bought 3 boards Rock64-4G and all of them does not seem to work
One is not able to read/write eMMC (and CPU becomes very hot) - I sent it back
Two others are very unstable. I've tried ayufan's Debian Stretch, Ubuntu Bionic and DietPi
All of them crash when doing intensive I/O together with intensive CPU load. No matter eMMC or external SSD drive
I believe problem lies in poor I/O bus programming in ayufan's code
Please let me know if anyone have completely working board
|
|
|
|
| Android SDK support and Customization |
|
Posted by: biplab777 - 12-28-2018, 01:22 AM - Forum: Android on Pine A64(+)
- Replies (1)
|
 |
Hi,
I have referred wiki (http://wiki.pine64.org/index.php/PINE_A6..._Main_Page) and interested on PINE A64-LTS as it supports Android 7.
Our yearly production will be around 2000 units.
Queries:
1. Till which year you can support us on PINE A64-LTS ?
2. Do you provide Android SDK for Android 7x to customize the same from our side ? Does it require any license for commercialization ?
3. What is the PCB size and cost (for 1K unit)
4. What are the compliance (CE/FCC/UL/RoHS etc.) you have?
5. Is it possible to provide over the air (OTA) OS upgrade for future android release ?
6. What kind of support option you have ?
7. What is the lead time to order first 100 units ?
Thanks a lot in advance!
-Biplab Kundu
|
|
|
|
| Custom Kernel for ROCK64 |
|
Posted by: mayst - 12-27-2018, 11:31 AM - Forum: Getting Started
- Replies (2)
|
 |
Dear Pine Users,
thank you for providing the discussion group for the ROCK64 platform. I tried to use a custom compiled kernel for several days now. Unfortunately, every attempt results in a system that does not boot.
The most promising way seemed to me the following with a newly installed distribution via Etcher. I took the Ubuntu 18.4. Desktop variant. Then I have executed the following commands on-board:
-----------------
sudo dpkg-reconfigure keyboard-configuration
sudo dpkg-reconfigure tzdata
sudo apt update
sudo apt upgrade
sudo apt -y install cmake build-essential python-minimal bison flex bc libssl-dev libncurses5-dev lzop make u-boot-tools binfmt-support ninja-build libfl-dev python python2.7 swig libpython-dev flash-kernel
sudo reboot
mkdir workspace
cd workspace
git clone https://github.com/ayufan-rock64/linux-m...kernel.git
cd linux-mainline-kernel
make rockchip_linux_defconfig
make -j4
sudo make modules_install
sudo make dtbs_install
sudo make install
-----------------
After this, the platform will not reboot. I just get a black screen. The LEDs of the ROCK64 just light up a few seconds. Then only the green LED remains.
I have checked the file /boot/extlinux/extlinux.conf
If I remove the entries for the newly installed kernel, the platform boots with the old kernel again (4.4.).
By the way, why do I have /boot/extlinux/extlinux.conf and /boot/efi/extlinux/extlinux.conf?
I hope, you can give me a hint, what is missing or how I can debug this issue, since I do not see any output, also not from u-boot.
Best regards,
Stefan May
|
|
|
|
| android impression |
|
Posted by: pas059 - 12-26-2018, 09:01 AM - Forum: Android on Rock64
- Replies (1)
|
 |
Hi,
Just for giving my first (and last) impression on Android on rock64. To try it, i flash android 8.1 on a SD card.
First remark is that my screen (1920x1200) is not recognized, fortunately, a standard TV is. Then, after booting, i was able to change the language, but my Azerty keyboard was still not recognized; apparently Android only knows qwerty keyboard. To be able to use my keyboard, i had to install a software found on the net (thanks to google), even if android says that this software can record keyboard entries, password,... .
The good thing, is that everything seems to work (wifi dongle, wireless usb keyboard+mouse). The videos (youtube,...) seems to be more quicker than with ubuntu 18.04. The bad thing is the UI: what an horrible UI which is absolutly not practical. I really think that android is not made for a device like an SBC with standard keyboard.
So, end of my android experience on rock64.
regards
|
|
|
|
|