LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-29-2020, 12:56 PM   #31
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 639

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375

Quote:
Originally Posted by pchristy View Post
I managed to stop the keyboard from working when trying to get it to use the UK keymap! Using the US one is a royal pain, as many of the more useful symbols are in completely different places, and I can never remember where they are on a US layout!

So its currently re-installing!

I will open up the initrd and see if I can figure out why SARPI64 doesn't like the slarm64-current tree. Sarpi(32) worked fine with the slackwarearm-current tree!
I always boot with the SARPi installer using a US keyboard map. I put the following snippet in the '/boot/cmdline.txt' file prior to powering on the RPi:

Code:
kbd=us nic=auto:eth0:dhcp
Once in Slackware ARM 'setup' I set a UK keyboard map. All works perfectly for me every time. BTW... only the @ and " is swapped around on my UK keyboard from the US layout. Might be the same on yours.

Maybe take a look at the Slackware ARM current source-tree and compare it with slarm64: https://slackware.uk/slackwarearm/sl...ent/slackware/
 
Old 12-29-2020, 01:19 PM   #32
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 697

Original Poster
Rep: Reputation: Disabled
No, there's and # and I can never find the ~ on a US layout! (and those are only the ones I use most - there are others as well, like | )

--
Pete
 
Old 12-30-2020, 04:39 AM   #33
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 697

Original Poster
Rep: Reputation: Disabled
OK, starting to get somewhere with the "setup" issue! The actual setup script calls a number of other scripts. The two important ones are "insusb" and "insdir", which search any mounted usb-drives or a specific location respectively for a slackware "tree". (Thanks for the tip on where to look!)

They are both very specific in what they are searching for! "insusb" looks for a directory structure "/usb-stick/slackware/a" or "/usb-stick/slackware*-*/slackware/a". Stock Slackware trees meet these criteria, as does slackwarearm. Slarm64(-current) does not!

Similarly, "insdir" looks for "/path-to/slackware/a"

The quick and dirty fix is to rename the slarm64-current/slarm64 directories to "slackware64 (orslackwarearm64)-current/slackware"

Sarpi's setup will then pick up the source media correctly!

I'm going to give this a try this morning - fingers crossed! If all goes well, I'll start a new thread detailing how I've done it.

Watch this space...

--
Pete
 
Old 12-30-2020, 07:11 AM   #34
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 639

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Quote:
Originally Posted by pchristy View Post
OK, starting to get somewhere with the "setup" issue!
Good work!

Quote:
Originally Posted by pchristy View Post
The quick and dirty fix is to rename the slarm64-current/slarm64 directories to "slackware64 (orslackwarearm64)-current/slackware"

Sarpi's setup will then pick up the source media correctly!

I'm going to give this a try this morning - fingers crossed! If all goes well, I'll start a new thread detailing how I've done it.
SARPi has no 'setup' - that would be the Slackware installer you're referring to, i.e the multitude of magic scripts that reside in the location I pointed you towards within the initrd. Sure it's going to work eventually but it's so far, and detracted, from Slackware philosophy that I'm kind of regretting the amount of mercenary modifications you're having to make. Now I'm half-expecting MoZes to give me a 'New Year's resolution' of banning me from using his software for assisting and advising you in this highly unconventional venture. Either that, or alienBOB will put two in the back of my head the next time I leave the confines of my lock-down abode. Maybe both could happen at this rate. That might be a blessing in disguise for my sins.

The reason I suggested looking at slarm64 source-tree and comparing it with official Slackware ARM is because I have on a few occasions created a 'USB-stick/slackwarearm/slackwarearm-current/slackware' source media dir and put my own pkgs in there to test-install with. It was penultimately successful without making any changes to the Slackware scripts, and that's exactly what I'd do with slarm64 source media (or any other unofficial source media when installing it with the Slackware installer) *IF* enough separate pkgs were available to make it worthwhile.

It's costing you a hell of a lot of time and effort (... for just VLC?) but the experience and knowledge gained from working with Slackware [ARM] is priceless, and timeless.
 
Old 12-30-2020, 07:47 AM   #35
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 697

Original Poster
Rep: Reputation: Disabled
Its still installing at the moment! My biggest worry is what it will do with kernels and /boot! I know my way around Slackware, lilo, elilo and grub, but I have no idea how the Pi works! I'm hoping that either the setup program will install suitably, or I can crib from sarpi32.

Will let you know in a while...!

--
Pete
 
Old 12-30-2020, 08:27 AM   #36
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 697

Original Poster
Rep: Reputation: Disabled
YAY! Its all working! Still some fine tuning to do (regional settings, etc) but its basically there!

I'll start a new thread shortly describing how I did it!

Its currently running with the 5.4.70 kernel from sarpi64. It would be nice to update it to 5.10.3 (hint! hint!), and I might need some guidance there...!

--
Pete
 
Old 12-30-2020, 08:36 AM   #37
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 639

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Quote:
Originally Posted by pchristy View Post
Its currently running with the 5.4.70 kernel from sarpi64. It would be nice to update it to 5.10.3 (hint! hint!), and I might need some guidance there...!
Building your own kernel(s) is as easy for the RPis as any other x86 system or ARM device. In fact it's easier than a lot of others because you can use a ready-made _defconfig or generate one from your own kernel .config file

https://www.raspberrypi.org/document...el/building.md
 
Old 12-30-2020, 09:51 AM   #38
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 697

Original Poster
Rep: Reputation: Disabled
OK, I have it working and a basic setup! KDE5 is up and running! YAY!

I've written up a (rather wordy!) how to, making quite a lot of references to your sarpi(32) web page. I found the instructions there more comprehensive and easier to follow than on the 64-bit web page or the readme.

Next, update the kernel, and then start seeing how many of my "goto" applications won't compile on ARM...!

--
Pete
 
Old 03-05-2021, 06:13 AM   #39
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 697

Original Poster
Rep: Reputation: Disabled
sndwvs: Something in the recent updates seems to have broken your vlc package. I've tried rebuilding it using the source package and scripts referred to in #2 of this thread, but I can't get either 3.0.11.1 or 3.0.12 to build!

Vlc is well know for being a pig to build, any chance you can have a look at this? I'm struggling to figure out what the issue is! (Something to do with mouse display (??) in 3.0.11.1 and multiple errors in 3.0.12)

Cheers,

--
Pete
 
Old 03-05-2021, 10:37 AM   #40
sndwvs
Member
 
Registered: Aug 2014
Posts: 892

Rep: Reputation: Disabled
Quote:
Originally Posted by pchristy View Post
sndwvs: Something in the recent updates seems to have broken your vlc package. I've tried rebuilding it using the source package and scripts referred to in #2 of this thread, but I can't get either 3.0.11.1 or 3.0.12 to build!

Vlc is well know for being a pig to build, any chance you can have a look at this? I'm struggling to figure out what the issue is! (Something to do with mouse display (??) in 3.0.11.1 and multiple errors in 3.0.12)

Cheers,

--
Pete
yes i will update
 
1 members found this post helpful.
Old 03-05-2021, 10:47 AM   #41
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 697

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sndwvs View Post
yes i will update
Thanks! I've got a bit further - 3.0.12 doesn't seem to need the qt_5_15 patch, and I've had to disable opencv (don't use vlc for streaming, anyway), but it still crashes out with the following error:

Code:
In file included from video_output/caca.c:35:
../include/vlc_vout_display.h:144:5: note: declared here
  144 |     VOUT_DISPLAY_HIDE_MOUSE VLC_DEPRECATED_ENUM,
No idea what is causing that!

Cheers,

--
Pete
 
Old 03-05-2021, 06:03 PM   #42
sndwvs
Member
 
Registered: Aug 2014
Posts: 892

Rep: Reputation: Disabled
vlc-3.0.12-aarch64-1mara.txz
 
1 members found this post helpful.
Old 03-06-2021, 03:31 AM   #43
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 697

Original Poster
Rep: Reputation: Disabled
Many thanks for this! I'll give it a whirl shortly...

--
Pete
 
Old 03-06-2021, 05:00 PM   #44
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 639

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Quote:
Originally Posted by pchristy View Post
I've written up a (rather wordy!) how to, making quite a lot of references to your sarpi(32) web page. I found the instructions there more comprehensive and easier to follow than on the 64-bit web page or the readme.
Err.. thanks? I'm not aware of anything you've been involved in/with. Perhaps some context and/or links would be prudent.
 
Old 03-07-2021, 02:18 AM   #45
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 697

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Exaga View Post
Err.. thanks? I'm not aware of anything you've been involved in/with. Perhaps some context and/or links would be prudent.
Er, that was actually posted last year! Things have moved on a bit since then, and that part of this thread had drifted a bit off-topic then. I'll drop you a PM so you can contact me directly if you want a chat.

--
Pete
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
vlc 2.7 mageia 3 no video only sound vlc win ok moshebagelfresser Mageia 5 07-21-2013 12:20 AM
Installing VLC using vlc-0.9.9a-4.el5.rf.i386.rpm--Error relating to Dependencies redhat5 Linux - Newbie 1 12-17-2009 04:23 PM
LXer: Create your own VLC skin with VLC media player Skin Editor LXer Syndicated Linux News 0 12-06-2009 12:30 PM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 10:48 PM
I'm Getting 6 VLC Windows At Once - Problem With VLC Player davidx Linux - Software 1 11-03-2008 11:45 AM

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

All times are GMT -5. The time now is 08:31 PM.

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