LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 07-02-2018, 01:56 PM   #16
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled

Quote:
board: Rock64 4GB
issue: Won't boot
boot log: http://termbin.com/9stym
what I've tried: different Rock64 board. different U-Boot version. Booting from USB-thumb.

Is something wrong with the rtl8188eu, bcmdhd driver?
Can you remove the driver for the next release?
rebuilt the kernel with support for usb realtek and mediatek in the form of modules
download
http://dl.fail.pp.ua/slackware/pkg/a...ch64-3mara.txz
http://dl.fail.pp.ua/slackware/pkg/a...ch64-3mara.txz
http://dl.fail.pp.ua/slackware/pkg/a...ch64-3mara.txz
http://dl.fail.pp.ua/slackware/pkg/a...ch64-3mara.txz


Code:
upgradepkg kernel*.txz
dmesg

Last edited by sndwvs; 07-02-2018 at 01:58 PM.
 
Old 07-21-2018, 03:04 PM   #18
ansic
LQ Newbie
 
Registered: Jul 2018
Posts: 8

Rep: Reputation: Disabled
I'd like to compile the image with the buildkit - on aarch64, *not* cross compile like its setup. A lot of tools used in the bashscript are x86_64 and wont execute on my computer.

Would someone be willing to compile Slackware on Ayufan's 0.6.38 kernel and upload the iso? That kernel version is what works for my rock64. Might there be small differences between boards that makes some them not boot?

Last edited by ansic; 07-21-2018 at 03:22 PM.
 
Old 07-22-2018, 12:58 AM   #19
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ansic View Post
I'd like to compile the image with the buildkit - on aarch64, *not* cross compile like its setup. A lot of tools used in the bashscript are x86_64 and wont execute on my computer.
At the moment, there is no such possibility, but you can compile the kernel after the download point with the usual commands make Image; make modules; make modules_install

Quote:
Originally Posted by ansic View Post
Would someone be willing to compile Slackware on Ayufan's 0.6.38 kernel and upload the iso? That kernel version is what works for my rock64. Might there be small differences between boards that makes some them not boot?
difference only in the amount of memory, can the bootloader be written in spi?
try erasing spi
 
Old 07-22-2018, 12:31 PM   #21
ansic
LQ Newbie
 
Registered: Jul 2018
Posts: 8

Rep: Reputation: Disabled
With the latest patch the slackware managed to boot up. It did a few reboots during the boot process but then I was welcomed with a login prompt. HDMI worked well. However, after plugging USB devices, HDMI and ethernet in and out the Rock64 did reboot for a unknown reason. It wont boot up anymore. The last thing it does in the boot process is mounting memorycard. Here is the log: http://termbin.com/bgpq

Edit: After running 'fsck' on the sdcard partition Slackware created/extended the /swap on first boot then after a second boot, it managed to show the login-prompt. If the power-coord is unplugged without issuing poweroff command the next boot will get stuck in the state my dmesg show. A fsck on the partition will fix the issue. Is this behaviour expected? Thanks.

Last edited by ansic; 07-22-2018 at 01:22 PM. Reason: New information to the problem has come
 
Old 07-22-2018, 12:57 PM   #22
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled
and there is an installation field there is 1 start and one overload to expand the partition on the sdcard.
i have this not observed, maybe not enough good board power or with the sdcard, try to re-record the image
 
Old 07-23-2018, 08:47 PM   #23
ansic
LQ Newbie
 
Registered: Jul 2018
Posts: 8

Rep: Reputation: Disabled
I hope you read my last posts edit, I managed to boot from the sdcard by fsck:ing the partition.

I'm not statisfied with having the linux-root on a memory card, USB booting is the solution! ..but booting off USB proved to be difficult: The boot.cmd is edited to mount /dev/sda1, fstab is edited to mount it as well. boot.scr is "recompiled" with mkimage as suggested in boot.cmd. The boot process fails when it tries to re-mount the linux-root. The errors varies depending on if its Ext4 or XFS, if its the first or second try. "Synchornizing SCSI cache. USB disconnect".

Last edited by ansic; 07-23-2018 at 08:49 PM.
 
Old 07-24-2018, 10:40 AM   #24
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled
you do not need to recompile boot.src, you need to add the parameter rootdev=/dev/sda1 to uEnv.txt and fix it in /etc/fstab, you also need to delete the parameter data=writeback
 
Old 09-04-2018, 12:12 PM   #26
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled
mistake

Last edited by sndwvs; 09-04-2018 at 12:46 PM.
 
Old 10-29-2018, 01:33 PM   #27
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled
update kernel 4.4.162
create a basic installation image:
slack-current-aarch64-miniroot_29Sep18-4.4.162-rock64-build-20181028.img.tar.xz
slack-current-aarch64-miniroot_29Sep18-4.4.162-rock64-build-20181028.img.tar.xz.md5

eMMC -> /dev/mmcblk0p1

Last edited by sndwvs; 10-29-2018 at 01:35 PM.
 
Old 11-02-2018, 02:48 PM   #28
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled
update kernel 4.4.162

README.TXT

basic installation image:
slack-current-aarch64-miniroot_29Sep18-4.4.162-rock64-build-20181101.img.tar.xz
slack-current-aarch64-miniroot_29Sep18-4.4.162-rock64-build-20181101.img.tar.xz.md5

xfce image:
slack-current-aarch64-xfce_29Sep18-4.4.162-rock64-build-20181101.img.tar.xz
slack-current-aarch64-xfce_29Sep18-4.4.162-rock64-build-20181101.img.tar.xz.md5

Multimedia
--------------
The video is played by the MPV player, which is configured with the default profile x11 (for playing divx/xvid)
and the profile rkmpp (for playing h264/h265/VP9 720p,1080p)

example:
Code:
mpv --profile=rkmpp videofile.{mkv,mp4}
 
Old 02-02-2019, 03:12 PM   #29
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled
update:
- glibc 2.29
- kernel 4.4.172
- video hardware decoding via mpv
configured by default to output video via x11 (divx/xvid)
using profile --profile=rkmpp play video MPEG-1, MPEG-2, MPEG-4, H.263, H.264, H.265, VC-1, VP9, VP8, MVC

slack-current-aarch64-miniroot_01Feb19-4.4.172-rock64-build-20190202.img.xz
slack-current-aarch64-miniroot_01Feb19-4.4.172-rock64-build-20190202.img.xz.md5

slack-current-aarch64-xfce_01Feb19-4.4.172-rock64-build-20190202.img.xz
slack-current-aarch64-xfce_01Feb19-4.4.172-rock64-build-20190202.img.xz.md5
 
Old 06-22-2019, 12:34 PM   #30
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled
updated kernel (ayufan 4.4.167-1213)

kernel for slarm64:
kernel-firmware-rk3328-4.4.183-aarch64-1mara.txz
kernel-headers-rk3328-4.4.183-aarch64-1mara.txz
kernel-modules-rk3328-4.4.183-aarch64-1mara.txz
kernel-rk3328-4.4.183-aarch64-1mara.txz


update packages:
1. download all listed files
2. sudo upgradepkg kernel-*.txz
 
  


Reply

Tags
rk3328, rock64



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Meet ROCK64, a 4K-Capable Single-Board Computer That Can Run Android 7.1, Debian LXer Syndicated Linux News 0 07-07-2017 08:30 AM
LXer: Open-spec, RPi-style SBC features new Rockchip RK3328 LXer Syndicated Linux News 0 07-05-2017 08:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 01:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration