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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,864
» Latest member: kebey18034
» Forum threads: 16,314
» Forum posts: 117,378

Full Statistics

Latest Threads
Faster OS test deployment...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
5 hours ago
» Replies: 0
» Views: 29
Questions about filming v...
Forum: PinePhone Hardware
Last Post: georgegohl888
Yesterday, 07:46 AM
» Replies: 11
» Views: 16,430
Pinebook Pro in EU for Sa...
Forum: General Discussion on Pinebook Pro
Last Post: Anthona
02-09-2026, 12:50 AM
» Replies: 5
» Views: 7,372
New Pinetab- error when a...
Forum: PineTab Software
Last Post: authorjaw
02-08-2026, 08:19 PM
» Replies: 0
» Views: 70
What about a Pine digital...
Forum: General
Last Post: gwennelsonuk
02-08-2026, 08:11 PM
» Replies: 8
» Views: 8,061
Proposal: an open mp3/med...
Forum: General
Last Post: gwennelsonuk
02-08-2026, 08:08 PM
» Replies: 1
» Views: 86
Pinephone (Pro) Keyboard ...
Forum: PinePhone Accessories
Last Post: Ondy
02-08-2026, 07:41 PM
» Replies: 7
» Views: 14,856
Ethernet does not work
Forum: Ethernet Port
Last Post: zetabeta
02-06-2026, 11:58 PM
» Replies: 1
» Views: 98
Fitting new case
Forum: Pinebook Pro Hardware and Accessories
Last Post: RicTor
02-06-2026, 07:09 AM
» Replies: 0
» Views: 95
Rockchip gets DMCA'ed on ...
Forum: General Discussion on PinePhone
Last Post: hanmira
02-04-2026, 08:43 PM
» Replies: 3
» Views: 739

 
Exclamation not able to flash u-boot onto SD Card
Posted by: consoleadam - 10-04-2017, 03:44 AM - Forum: General Discussion on ROCK64 - Replies (2)

greetings,
I have manged to build u-boot as per http://opensource.rock-chips.com/wiki_U-Boot . However, after burning the images to SD card, booting stops before starting my built version of u-boot, i.e., no u-boot prompt!
Serial console output below, also, further down build details.

Can anyone please shed light whats wrong in the process ?
thanks 
consoleadam

serial output
========
 DDR version 1.06 20170424
In
LPDDR3
786MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=32 Size=1024MB
ddrconfig:1
OUT
Boot1 Release Time: 2017-05-18, version: 2.43
ChipType = 0x11, emmc reinit
emmc reinit
SdmmcInit=2 20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=7587MB
FwPartOffset=2000 , 0
StorageInit ok = 48039
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
LoadTrustBL
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0x7b5f4
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):f947c7e
NOTICE:  BL31: Built : 09:28:45, May 31 2017
NOTICE:  BL31:Rockchip release version: v1.3
INFO:    ARM GICv2 driver initiapteed sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    platng runtime services
WARNING: No OPTEE provided by BL2 boot loadTEE will return SMC_UNK
ERROR:   Error initializing runtime sernormal world
INFO:    Entry point address = 0x200000
INFO:
-------------------

Build and Flashing in details:
==================

consoleadam@barbarian:~/rock64$ git clone https://github.com/rockchip-linux/u-boot.git

consoleadam@barbarian:~/rock64/u-boot$ make ARCH=arm -j4 CROSS_COMPILE=aarch64-linux-gnu- distclean

consoleadam@barbarian:~/rock64/u-boot$ make ARCH=arm -j4 CROSS_COMPILE=aarch64-linux-gnu- evb-rk3328_defconfig all

BL2 ddr.bin & idbloader.img
-----------------------------
consoleadam@barbarian:~/rock64/u-boot$ dd if=../rkbin/rk33/rk3328_ddr_786MHz_v1.06.bin of=ddr.bin bs=4 skip=1

consoleadam@barbarian:~/rock64/u-boot$ tools/mkimage -n rk3328 -T rksd -d ddr.bin idbloader.img

consoleadam@barbarian:~/rock64/u-boot$ cat ../rkbin/rk33/rk3328_miniloader_v2.43.bin >> idbloader.img

BL3 trust.img & u-boot.img
----------------------------
consoleadam@barbarian:~/rock64/u-boot$ ../rkbin/tools/loaderimage --pack --uboot ./u-boot-dtb.bin uboot.img 0x200000



consoleadam@barbarian:~/rock64/u-boot$ cp ../rkbin/rk33/rk3328_loader_ddr786_v1.06.243.bin ./

consoleadam@barbarian:~/rock64/u-boot$ cat >trust.ini <<EOF
[VERSION]
MAJOR=1
MINOR=2
[BL30_OPTION]
SEC=0
[BL31_OPTION]
SEC=1
PATH=../rkbin/rk33/rk3328_bl31_v1.34.bin
ADDR=0x10000
[BL32_OPTION]
SEC=0
[BL33_OPTION]
SEC=0
[OUTPUT]
PATH=trust.img
EOF

consoleadam@barbarian:~/rock64/u-boot$ ../rkbin/tools/trust_merger trust.ini

flashing
---------
consoleadam@barbarian:~/rock64/u-boot$ sudo dd if=idbloader.img of=/dev/sdb seek=64 bs=512
consoleadam@barbarian:~/rock64/u-boot$ sudo dd if=uboot.img of=/dev/sdb seek=16384 bs=512
consoleadam@barbarian:~/rock64/u-boot$ sudo dd if=trust.img of=/dev/sdb seek=24576 bs=512


  eMMC Boots to Recovery Menu
Posted by: Farley56 - 10-03-2017, 01:16 PM - Forum: Android on Rock64 - Replies (3)

Had a working Android 7.1.2 eMMC. Not sure what I did to it but now it boots to the Recovery Menu but there's no keyboard or mouse response. Can't move to any selection in the menu. Reload the eMMC? Boot to an SD Card linux image and fix it from there somehow? Thanks for any tips.


  Is Plex on any of the images?
Posted by: WhiskerBiscuit - 10-03-2017, 11:36 AM - Forum: General Discussion on ROCK64 - Replies (6)

I've seen mention that some have run Plex, but I can't figure out which image they are referring to.  Is it available?


  Mpeg2 playback broken in Android 0.3.6 firmware in Kodi
Posted by: Blinky - 10-03-2017, 09:39 AM - Forum: Android on Rock64 - Replies (1)

1080p Mpeg 2 video playback is broken in latest Android firmware 0.3.6
It now plays with ffmpeg CPU instead of AMCodec(Mediacodec) hardware accelerated in Kodi 17/18 and use 100% CPU.

Eg. 720x480 DVD resolution videos look much smoother now using ffmpeg to play but 720p/1080p plays with skipped frames since it is not hardware accelerated.

Can it be changed so under 720x480(DVD) resolution mpeg 2 videos play with ffmpeg but the rest play with Mediacodec hardware accelerated?


  pcsx rearmed on rock64 debian stretch does not go fullscreen
Posted by: RockyBoulder - 10-03-2017, 05:39 AM - Forum: Linux on Rock64 - Replies (2)

Hello,

anyone else tried pcsx rearmed on ayfan's debian stretch image?

My experience so far is:

If I compile it on rock64 I get wether neon nor dynacrec support which leads to a working build that is way to slow.

Another approach was to build pcsx reamerd on a raspberry pi 3 and copy over the resulting build. Don't build with neon on raspy, too but at least with the very needed dynarec support. Copied the resulting build over to the rock64: Works and is fast enough thanx to dynarec. (Mulltiarch must be installed, to make it work this way).


One Problem remains:

I only get SDL-Window-Output. No fullscreen. Any ideas? 

BTW: Controller works too, tried a Steamcontroller with sc-controller.


  Compatible LCD DSI
Posted by: drock - 10-02-2017, 10:42 PM - Forum: LCD and Touch Panel - Replies (21)

I see that the store is out of DSI LCD screens.  This looks to be the same part
https://www.aliexpress.com/store/product...64052.html


Has anyone used on of these on the pine?  If my understanding is correct this is the only DSI MIPI screen that we have a driver for?


  Mounting Screws
Posted by: S265 - 10-02-2017, 07:25 PM - Forum: General Discussion on ROCK64 - Replies (3)

Just wondering how you guys mount your board? I tried to use some of the screws left over from PC motherboards. They were often supplied with a million screws for this or that. Anyway my smallest screws would not fit the tiny ROCK64. Even the small brass nuts for offsetting a motherboard from its surrounding case would not fit. Dare I say it but - can we enlarge the hole a tiny bit? Or is this a big no-no. Looking for ideas on this.


Thumbs Up my first impressions
Posted by: llornkcor0 - 10-02-2017, 07:05 PM - Forum: General Discussion on Pinebook - Replies (1)

I have had the laptop for over a month or so and my first impressions are: excellent for a ~$100 laptop! My 12 year old son claimed it as his and wanted to use it for his laptop next year at school. I had to pry it from his hands!

There are a few things that bother me, though, and a few software issues are well.

Hardware:
 The display/lid section is heavier than the keyboard section and is a bit difficult to open as the hinge needs to be stiff and lifts up with keyboard, so it takes two hands to open. I like the keyboard and actually feels nice, although the space bar seems flimsier than the rest of the keys.
Standby/suspend battery life is quite excellent. I had forgotten about it, and turned it on after a week or two, and still plenty of battery left.
It seems hardier than I had expected it to be.

Software:
Android - I didn't spend too much time with android here, other than to see that it ran and I could do a few things with it.
Linux - My biggest niggle is that I could not get bluetooth audio working. As in a bluetooth speaker. It would always just play through the speakers, which indicates a (hw)routing issue, which a way too quiet. Ok for a quiet room.
Some flickering of the display from time to time, but generally is ok.

I installed LXQT and am happy for the performance, noting that this is not a beefy developers laptop.


Heart Arcade Cabinet build
Posted by: Luke - 10-02-2017, 04:31 PM - Forum: Pine A64 Projects, Ideas and Tutorials - Replies (6)

[Image: zPrPrRy.jpg]

Building a mini arcade cabinet is probably not what most people use their Pine A64 boards for, but as it turns out the board + LCD are a great basis if you want to build a mini cabinet. I started on this project some 2 months ago and I have finally finished it over the weekend. It is vaguely inspired by Neo Geo cabinets but I took the creative liberty of using a Japanese Sanwa joystick instead of the american type joysticks. I also used buttons with white LEDs rather than multicoloured ones seen on real Neo Geo cabs. I also designed the art for it - so its hardly Neo Geo accurate... 

The inside is a total mess right now - I will tidy it up once I have all the software stuff worked out. 

On the subject of software, the cabinet will eventually run Retroarch on a minimal ubuntu image that pfeerick and I put together earlier this year. Right now the outstanding issue is getting the LCD to work with mali+drm enabled, but everything else works as intended. So as you can see in the picture above, right now its running android. 

I will be bringing it to FOSDEM 18 (granted we get a stall) so if you will be attending make sure to drop by toplay some Metal Slug X or Street Fighter 2. 
I must say I am pretty darn pleased with it Smile Feel free to let me know what you think.

For those who want to see some pictures from the build they can be found here.


  Playstore Selections Limited in 7.1 TV
Posted by: CharlieB - 10-01-2017, 12:32 PM - Forum: Android on Pine A64(+) - Replies (2)

Loaded the Android 7.1 TV version and it performs well. Issues I have:

Google Playstore selections are incomplete -  I want to add a browser like Chrome and the Spectrum TV app and other apps.  SEARCH in Playstore does not have them.  How to add applications outside of the Playstore provided

Google Search prompts for speaking, but I don't have a microphone.  How to change default to typing in search?

How to shrink margins in display?


Thanks in advance!