Firefly-RK3288 Slackware Arm

do adaptation slackware
ran into a problem after loading
boot.img initrd system does not continue to boot as a base and just goes for a login and password skipping start init scripts
http://fail.pp.ua/boot_slackware.img.7z
http://fail.pp.ua/slackware-minirootfs-0.1.img.7z

FIRMWARE_VER:4.4.2
MACHINE_MODEL:rk30sdk
MACHINE_ID:007
MANUFACTURER:RK30SDK
MAGIC: 0x5041524B
ATAG: 0x60000800
MACHINE: 3066
CHECK_MASK: 0x80
PWR_HLD: 0,0,A,0,1
#KERNEL_IMG: 0x62008000
#FDT_NAME: rk-kernel.dtb
#RECOVER_KEY: 1,1,0,20,0
CMDLINE:console=tty0
 console=ttyS2 earlyprintk loglevel=9 root=LABEL=linuxroot rw
rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000
mtdparts=rk29xxnand:0x00008000@0x00002000(resource),0x00008000@0x0000A000(boot),0x00002000@0x00012000(misc),0x0001a000@0x00014000(backup),-@0x0002e000(linuxroot)

This the error line running your boot.img:

mount: mounting /dev/block/mtd/by-name/linuxroot on /mnt failed: No such file or directory
ERROR: No /sbin/init found on rootdev (or not mounted). Trouble ahead.
You can try to fix it. Type ‘exit’ when things are done.

You need to fix the root= in the parameter, or use a script like

https://github.com/TeeFirefly/in … ount/mtd-by-name.sh

in your initramfs to create the block device symlink.

Follow these commands to fix the parameter in your board:
sudo rkflashkit backup @parameter parm.txt # fetch parameter from board
sudo vi parm.t.txt # modify “root= /dev/block/mtd/by-name/linuxroot” to “root=/dev/mmcblk0p5”
sudo rkflashkit flash @parameter parm.txt # flash back parameter to board
sudo rkflashkit reboot # reboot the device

You might replace /dev/mmcblk0p5 above to fit your actual root dev.

busybee Posted at 3/23/2015 18:08
This the error line running your boot.img:

mount: mounting /dev/block/mtd/by-name/linuxroot on /m …

thank you very much for your help
all works

  1. resize partition firstboot device
  2. wifi firmware moved to /lib/firmware
  3. wifi enable /etc/rc.d/rc.wifi start|stop (in rc.local)

login: root
password: password

http://fail.pp.ua/RK3288UbootLoader_V2.19.01.bin
http://fail.pp.ua/parameters.txt
http://fail.pp.ua/resource.img
http://fail.pp.ua/boot.img
http://fail.pp.ua/slack-current-miniroot_09Mar15.img
http://fail.pp.ua/flash.sh

nice job{:3_48:}

the support http://fail.pp.ua/board/2

files are located here:
http://dl.fail.pp.ua/slackware/f … Loader_V2.19.01.bin
http://dl.fail.pp.ua/slackware/firefly-rk3288/boot.img
http://dl.fail.pp.ua/slackware/firefly-rk3288/flash.sh
http://dl.fail.pp.ua/slackware/firefly-rk3288/parameters.txt
http://dl.fail.pp.ua/slackware/firefly-rk3288/resource.img
http://dl.fail.pp.ua/slackware/f … root_09Mar15.img.7z

new assembly system

info
http://fail.pp.ua/public/board/2

changelog:

  • added image with the desktop xfce
  • installed video driver mali fbdev t76x_r5p0-06rel0
  • support 32 bit color in X
  • added unprivileged user
  • load faster dhcpcd
  • resize partition firstboot device
  • wifi firmware moved to /lib/firmware
  • wifi enable /etc/rc.d/rc.wifi start|stop (in rc.local)

changelog[*]small hotfix

  • added support in the kernel nfs, xfs, btrfs, jfs

info
http://fail.pp.ua/public/board/2

Send you a PM.

created new images to change more updates ChangeLog.txt :

http://dl.fail.pp.ua/slackware/f … Loader_V2.19.01.bin
http://dl.fail.pp.ua/slackware/firefly-rk3288/boot.img
http://dl.fail.pp.ua/slackware/firefly-rk3288/flash.sh
http://dl.fail.pp.ua/slackware/firefly-rk3288/parameters.txt
http://dl.fail.pp.ua/slackware/firefly-rk3288/resource.img
http://dl.fail.pp.ua/slackware/f … ild-20150503.img.7z
http://dl.fail.pp.ua/slackware/f … ild-20150503.img.7z

Could you please provide one .img file in order to flash it with the upgrade function of the AndroidTool?

Or at least provide a “how to” flash slackware with this method.

Nmitsia Posted at 5/30/2015 23:22
Could you please provide one .img file in order to flash it with the upgrade function of the Android …

Forget it. Just found out that you can assign the files separately.

howto:
http://fail.pp.ua/board/2

changelog:

  • image update to the current version of the rootfs 12 May 15
  • fixed a bug when entering the xfce

info
http://fail.pp.ua/board/2

changelog:

  • image update to the current version of the rootfs 16 Aug 15

info:
http://fail.pp.ua/board/2

slackware-current tested on kernel 4.6.0-rc1 +
with support drm and proprietary drivers mali-t76x_r6p0-02rel0_linux_1 + x11

dmesg
http://p.fail.pp.ua/Jo1OIa9R

Xorg.0.log
http://p.fail.pp.ua/Vp0MKx3W

http://dl.fail.pp.ua/slackware/pkg/arm/x/xf86-video-armsoc-rockchip-20160416_git-arm-1mara.txz
http://dl.fail.pp.ua/slackware/pkg/arm/x/firefly-libgl-r6p0-02rel0-arm-1mara.txz

mara Posted at 4/16/2016 17:04
slackware-current tested on kernel 4.6.0-rc1 +
with support drm and proprietary drivers mali-t76x_r …

Hi, Please reupload new Slackware Linux for Firefly. Links don’t work and say it’s forbidden when trying to download. Also which Slackware rfs to use? Can you share kernel source and how to compile

hi I’ve actually been trying to download the files directly off you website and theres a 500mb and 2gb ones i can’t seem to download because randomly anywhere upto 51mb worth of downloads it drops the connection and i have to start again. wouldn’t bother me but the bandwidth isn’t great, infact i average about 10kb a second. if i could resume where i left off in the download it would be great because then i could leave it running and it wouldnt matter if the connection drops, if possible can you fix that on your server end by any chance?or maybe upload it somewhere that has more bandwidth?

hi mara,

great work! especially getting drm + mali in combination with recent kernel running, great!

i tried to rebuild your slackware image based on mainline kernel using your advanced scripts on bitbucket (testing branch). only dont know what firefly .config you use? can you share your config file?
my goal is then to include vpu support with mainline kernel and in combination with x11 apps like kodi.

hope you are willing to share.

cheers – mac-l1

AussieJohn Posted at 4/17/2016 17:45
hi I’ve actually been trying to download the files directly off you website and theres a 500mb and 2 …

hi, Aussie John
I know there is a problem with the return file.
1 made compression
http://dl.fail.pp.ua/slackware/firefly-rk3288_20160417/slack-current-miniroot_07Apr16-4.6.0-rc1-firefly-build-20160417.img.7z
http://dl.fail.pp.ua/slackware/firefly-rk3288_20160417/slack-current-xfce_07Apr16-4.6.0-rc1-firefly-build-20160417.img.7z
2 did torrent
http://dl.fail.pp.ua/slackware/firefly-rk3288_20160417/firefly-rk3288_20160417.torrent

hi, mac-l1
recent changes have not yet had time to commit.
there is strangeness, rootfs flash on the nand, but in fact does not work booting, rootfs to pour himself sdcard

further automates the creation boot sdcard

.config
http://p.fail.pp.ua/Ys6RTo9D

build testing
https://bitbucket.org/sndwvs/slackwarearm/src/e7dc79000dfea4af7df85f926003218d21a53d5e/?at=testing