LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-28-2020, 09:23 AM   #1
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Rep: Reputation: Disabled
Pi 400 slarm64-current not booting


Long time slacker, but new to ARM! For Xmas, my family bought me a Pi 400. I managed to get sarpi / slackwarearm-current running on it, and while xfce worked OK, kde4 seemed buggy. After querying the availablity of VLC, I was pointed towards slarm64-current, which seems to most closely resemble the slackware64-current that I am familiar with.

I've downloaded the latest base-rootfs image for the Pi4 and installed it on a uSD card, but I can't get it to boot. The black level on the monitor dips up and down a bit, and the power light flashes, but otherwise, no sign of life.

Clearly I've missed something!I've tried creating the boot card using both zstdcat and dd methods described in the readme, to no avail. It looks as if it is failing to find the kernel, or whatever precedes the kernel loading. No error messages, just nothing!

Raspbian loads OK, as does sarpi (32-bit). I'm about to try sarpi64, but not being familiar with the ARM boot process, I've no idea how to update the (rather old) kernels that come with sarpi64.

Any advice gratefully received!

--
Pete
 
Old 12-28-2020, 09:32 AM   #2
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,919

Rep: Reputation: Disabled
u-boot is used for loading, with sdcard there was no such problem yet, it was when transferring to usb-hdd, for a quick fix mount /dev/mmcblk0p1 sdcard and comment out kernel=u-boot.bin in the config.txt file and uncomment kernel=Image.

yeah you have a different dtb, on sdcard /dev/mmcblk0p1 in the uEnv.txt file replace the file name fdtfile=bcm2711-rpi-4-b.dtb with fdtfile=bcm2711-rpi-400.dtb

Last edited by sndwvs; 12-28-2020 at 09:41 AM.
 
1 members found this post helpful.
Old 12-28-2020, 11:19 AM   #3
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
No, still the same!

--
Pete
 
Old 12-28-2020, 11:24 AM   #4
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,919

Rep: Reputation: Disabled
good and the crossed out version
 
1 members found this post helpful.
Old 12-28-2020, 11:35 AM   #5
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
YES!

That has got me to a root login! I've now got something I can work with!

Thanks for your help!



--
Pete
 
Old 12-28-2020, 11:41 AM   #6
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,919

Rep: Reputation: Disabled
everything is correct the bootloader is assembled for raspberry pi 4.
 
Old 12-28-2020, 12:08 PM   #7
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,919

Rep: Reputation: Disabled
to test the bootloader, please check.
you need to return everything back and replace the file with /dev/mmcblk0p1 u-boot.bin
 
Old 12-28-2020, 12:10 PM   #8
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
Yes, I understand! If I had more experience with the ARM version of Slackware, I might have been able to figure it out. However, the boot process and configuration is completely new to me, and sarpi and Raspbian seem to each do it differently again!

As I say - a learning experience!



--
Pete
 
Old 12-28-2020, 12:17 PM   #9
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sndwvs View Post
to test the bootloader, please check.
you need to return everything back and replace the file with /dev/mmcblk0p1 u-boot.bin
OK, dinner is in the oven at the moment and about to be served! Also my eyes are going funny - I've been staring at the monitor too long!

If I don't get another look tonight, I'll pick it up first thing in the morning!

Cheers,

--
Pete
 
Old 12-28-2020, 12:54 PM   #10
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
No, that put it back to failing to boot - just a blank screen again.

--
Pete
 
Old 12-28-2020, 11:05 PM   #11
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,919

Rep: Reputation: Disabled
i fixed booting for 400
 
Old 12-29-2020, 03:47 AM   #12
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
Still not working!

What I've done:

1) Download new base image and copy to SD card.

2) Edit uEnv.txt to point to the correct (400) fdt file.

3) Boot. (fails)

4) Edit config.txt to point to Image rather than u-boot.bin

5) Boot. Works!

When the boot fails, I get the impression that the system is trying to load something, failing and going round in circles (stuck in a loop). The power light flashes and the black level on the monitor flashes slightly over a period of a few seconds. There is no output to the screen other than black level, making it difficult to diagnose.

I'm going to put it back into boot-fail mode and then remove the sd card and see if it has logged anything in dmesg or syslog...

Update: No, it never gets far enough to write anything to the logs!

--
Pete

Last edited by pchristy; 12-29-2020 at 03:52 AM. Reason: Update
 
1 members found this post helpful.
Old 12-29-2020, 09:18 AM   #13
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,919

Rep: Reputation: Disabled
loading is done from sdcard from card slot or as usb stick?
 
Old 12-29-2020, 09:38 AM   #14
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
I've only tried it from sd card, but I can certainly put on a USB stick and try it. I have to go out for half-an-hour, but will try when I get back.

--
Pete
 
Old 12-29-2020, 09:40 AM   #15
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,919

Rep: Reputation: Disabled
Quote:
Originally Posted by pchristy View Post
I've only tried it from sd card, but I can certainly put on a USB stick and try it. I have to go out for half-an-hour, but will try when I get back.

--
Pete
not worth it, these are clarifications for me, I found one problem in the kernel configuration affecting booting from usb.
 
  


Reply



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
[SOLVED] Slarm64 on the Pinebook 1080 - help with kernel? shelldweller Slackware - ARM 229 12-07-2021 09:00 AM
[SOLVED] Slarm64 / Xfce / Blueman / PyGObject - GUI seems broken? shelldweller Slackware - ARM 9 02-20-2020 10:25 AM
Installing slarm64 on a Raspberry PI 4 akschu Slackware - ARM 0 01-04-2020 09:44 PM
slarm64 no wifi kermitdafrog8 Slackware - ARM 45 09-27-2019 10:33 AM
[VPS] 4 load page = 100 MB RAM loaded? do i need 100x 400 mb ram for next 400 page? vaporizel Linux - Server 1 03-14-2011 08:40 PM

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

All times are GMT -5. The time now is 01:19 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