Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Firefly-RK3288 Slackware Arm

49

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
49
Posted at 4/27/2016 05:25:58        Only Author  41#
Last edited by peba In 4/27/2016 13:30 Editor

1. download all the files from (choose img file or img.7z)
http://dl.fail.pp.ua/slackware/firefly-rk3288_20160417/

2. chmod +x flash.sh
sudo ./flash.sh --xfce
------ flash boot loader
Loading loader...
Support Type:RK320A        Loader ver:2.19        Loader Time:2016-04-17 05:58:30
Upgrade loader ok.
------ flash parameters
rkflashtool: info: rkflashtool v5.2
rkflashtool: info: Detected RK3288...
rkflashtool: info: interface claimed
rkflashtool: info: writing flash memory at offset 0x00001c00... Done!
------ flash kernel
rkflashtool: info: rkflashtool v5.2
rkflashtool: info: Detected RK3288...
rkflashtool: info: interface claimed
rkflashtool: info: working with partition: kernel
rkflashtool: info: found offset: 0x00002000
rkflashtool: info: found size: 0x00008000
rkflashtool: info: writing flash memory at offset 0x00006160... Done!
rkflashtool: info: premature end-of-file reached.
------ flash boot
rkflashtool: info: rkflashtool v5.2
rkflashtool: info: Detected RK3288...
rkflashtool: info: interface claimed
rkflashtool: info: working with partition: boot
rkflashtool: info: found offset: 0x0000a000
rkflashtool: info: found size: 0x00008000
rkflashtool: info: writing flash memory at offset 0x0000a720... Done!
rkflashtool: info: premature end-of-file reached.
------ flash linuxroot slack-current-xfce_07Apr16-4.6.0-rc1-firefly-build-20160417.img
rkflashtool: info: rkflashtool v5.2
rkflashtool: info: Detected RK3288...
rkflashtool: info: interface claimed
rkflashtool: info: working with partition: linuxroot
rkflashtool: info: found offset: 0x00012000
rkflashtool: info: partition extends up to the end of NAND (size: 0x03a2c000).
rkflashtool: info: writing flash memory at offset 0x00400800... Done!
rkflashtool: info: premature end-of-file reached.
------ reboot device
rkflashtool: info: rkflashtool v5.2
rkflashtool: info: Detected RK3288...
rkflashtool: info: interface claimed
rkflashtool: info: rebooting device...

But the device did not boot...
Reply

Use props Report

191

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
191
Posted at 4/27/2016 10:25:48        Only Author  42#
you need to make an sdcard boot using the other script on mara's site then mount mmcblk1p1 and format as ext4 and then dd or similar the image to that partition then refresh just the boot loader, parameter, kernel and boot.img to the correct hex offsets and it should boot from emac.
i fiddled around with this for days but this build is broken and overtime i try to update the installed slackware it just breaks the system so i wouldn't bother with this until either mara makes some update to fix that along with the mts issue too or just install and don't run slackpkg update-all
I'm hoping someone smarter then myself can use this kernel build with a debian/ubuntu rootfs
Reply

Use props Report

1238

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1238
Posted at 4/28/2016 00:51:05        Only Author  43#
Last edited by mara In 4/28/2016 01:40 Editor

setting
0. download all files http://dl.fail.pp.ua/slackware/firefly-rk3288_20160417/
1. Write the image to SD card, script
  1. ./flash_sd.sh
Copy the code

2. loaded with SD card
3. Transfer system eMMC
  1.     cd /
  2.     mkfs.ext4 /dev/mmcblk1p1
  3.     mkdir /nand/{proc,sys}
  4.     for d in $(ls | grep -v "nand\|proc\|sys"); do echo "copy dir $d"; сp -a "$d" /nand/ ; done
Copy the code

4. to flash the bootloader
  1. #!/bin/sh

  2. if [ -f tools-x86_64.tar.xz ];then
  3.     echo "------ unpack tools"
  4.     tar xf tools-x86_64.tar.xz || exit 1
  5. fi

  6. echo "------ flash boot loader"
  7. tools/upgrade_tool ul $(ls | grep RK3288UbootLoader) || exit 1
  8. echo "------ flash parameters"
  9. tools/rkflashtool P < parameters.txt || exit 1
  10. echo "------ flash kernel"
  11. tools/rkflashtool w kernel < kernel.img || exit 1
Copy the code
donation   irradium
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 4/28/2016 17:00:15        Only Author  44#
Hi mara ,
Does the  "slack-current-xfce_07Apr16-4.6.0-rc1-firefly-build-20160417.img " get the mali X11 work?
Reply

Use props Report

191

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
191
Posted at 4/28/2016 17:53:58        Only Author  45#
mali x11 works
Reply

Use props Report

690

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
690
Posted at 4/28/2016 23:24:25        Only Author  46#
Last edited by mac-l1 In 4/29/2016 00:56 Editor
isle Posted at 4/28/2016 17:00
Hi mara ,
Does the  "slack-current-xfce_07Apr16-4.6.0-rc1-firefly-build-20160417.img " get the mali ...

Hi mara,

I would be very interested what "FPS-scores" es2gears and glmark2 (opengl test applications for X11) give on your slackware-release?

Actually I've got very slow framerates (like 5 fps with kodi fullscreen/1080p ) with mainline kernel including mali and armsoc on ubuntu 16.04...

Cheers -- mac_l1
Reply

Use props Report

1238

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1238
Posted at 4/29/2016 01:56:10        Only Author  47#
Last edited by mara In 4/29/2016 01:58 Editor

hi mac-l1,

using armsoc I have just a small indication ~5-9 FPS
using fbdev readings ~ 30-50 FPS
donation   irradium
Reply

Use props Report

1238

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1238
Posted at 4/29/2016 03:08:50        Only Author  48#
Last edited by mara In 4/29/2016 03:16 Editor

finished assembly automation build and transfer systems eMMC
installation is divided into 4 stages:
1. The images are flash on SD card
  1. ./flash_sd.sh
Copy the code

2. downloadable in SD card
3. Transfer to eMMC after completing boot
  1. setup
Copy the code

4. flash eMMC
  1. tools/upgrade_tool ul $(ls | grep RK3288UbootLoader) || exit 1
  2. tools/rkflashtool P < parameters.txt || exit 1
  3. tools/rkflashtool w kernel < kernel.img || exit 1
  4. tools/rkflashtool w boot < boot.img || exit 1
Copy the code

http://dl.fail.pp.ua/slackware/firefly-rk3288-next/

donation   irradium
Reply

Use props Report

191

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
191
Posted at 4/30/2016 21:13:48        Only Author  49#
I've noticed that the graphics in this build don't work well, all the gui is very jerky compared to the last build
Reply

Use props Report

1238

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1238
Posted at 4/30/2016 23:54:05        Only Author  50#
AussieJohn Posted at 4/30/2016 21:13
I've noticed that the graphics in this build don't work well, all the gui is very jerky compared to  ...

rename file /etc/X11/xorg.conf as xorg.conf.old
and restart X server: init 3 ; init 4
donation   irradium
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list