LinuxQuestions.org
Visit Jeremy's Blog.
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 04-10-2021, 02:13 AM   #316
sndwvs
Member
 
Registered: Aug 2014
Posts: 920

Original Poster
Rep: Reputation: Disabled

added clause to README.TXT rock64, rockpro64 loading on broken SPI and then cleaning.
 
1 members found this post helpful.
Old 04-10-2021, 10:46 AM   #317
KarlF
LQ Newbie
 
Registered: Jul 2019
Posts: 11

Rep: Reputation: Disabled
Quote:
Originally Posted by mralk3 View Post
Once you get your sustem running again, copy over the latest u-boot from ayufan ( i think that is the spelling). Put it on the SPI flash mtd0, I think. It is basically the same thing as erasing the flash, except you are flashing it instead with a new image. From what you posted it looks like Right now your sd card has u-boot on it and that is why the sbc still boots. Just be careful not to put the wrong image, file or /dev/random onto SPI flash. You will have to jump the SPI flash again and erase it, rinse, repeat the SPI flash write.
I flashed the SPI following this guide https://github.com/ayufan-rock64/lin...s/flash-spi.md
And booted again. It seems to have worked, but the guide says that during the flashin process the white light should blick at a rate of one per second. I did not see any blinking. I works now, I just hope I'll be able to transfer the system to the eMMC module once it arrives...

Thank you for your help!

Karl
 
1 members found this post helpful.
Old 04-10-2021, 11:38 AM   #318
sndwvs
Member
 
Registered: Aug 2014
Posts: 920

Original Poster
Rep: Reputation: Disabled
it is not necessary to have a bootloader in SPI (since there may be nuances with loading a more recent kernel). transferring slarm64 is just enough to perform transfer-to-disk
 
1 members found this post helpful.
Old 04-11-2021, 09:38 PM   #319
KarlF
LQ Newbie
 
Registered: Jul 2019
Posts: 11

Rep: Reputation: Disabled
Quote:
Originally Posted by shelldweller View Post
I am not sure if anyone here is interested in this, but I uploaded my slightly old Rock64 base image, with a 5.6.19 kernel. I am pretty sure this one boots without needing the eMMC attached, and is one of the most stable images I ever produced for the Rock64 board. The kernel is a bit outdated, but otherwise it might be worth playing around with if you are still having trouble booting the other images:

slarm64-current-aarch64-base-rootfs-20201023-5.6.19-rock64-build-20201031.img.zst
slarm64-current-aarch64-base-rootfs-20201023-5.6.19-rock64-build-20201031.img.zst.sha256
Hi, It could be my hardware, but my experience with slackware on my rock64 has been rocky during the last few days. I tried your image, too, with no success. https://nextcloud.krasso.com/index.p...5TkjnxHFWcdfCo

I started with having to erase the SPI, then I tried slarm64-current-aarch64-base-rock64-5.11.11-build-20210402.img.zst This would not start up reliably. Maybe once in 3 tries. Then I switched to slarm64-current-aarch64-base-rock64-5.10.10-build-20210126.img.zst. That was much better, but still not reliable. And I noticed quite a few flaws. For instance iptables wouldn not install corretcly, with some libraries with md5 errors. Also bind would not work.

Now I am trying slarm64-current-aarch64-base-rock64-4.4.254-build-20210130.img.zst. So far it looks promising...I'll see.
 
Old 04-12-2021, 12:50 AM   #320
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint,Manjaro...
Posts: 865

Rep: Reputation: 459Reputation: 459Reputation: 459Reputation: 459Reputation: 459
One noob question, I would like to test that version on a RPi3, what's the default passwd to log in?
 
Old 04-12-2021, 09:13 AM   #321
sndwvs
Member
 
Registered: Aug 2014
Posts: 920

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nobodino View Post
One noob question, I would like to test that version on a RPi3, what's the default passwd to log in?
README.TXT
Quote:
Default Login
------------------
login: root
password: password
 
Old 04-12-2021, 11:19 AM   #322
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint,Manjaro...
Posts: 865

Rep: Reputation: 459Reputation: 459Reputation: 459Reputation: 459Reputation: 459
thanks.
 
Old 04-12-2021, 11:32 PM   #323
shelldweller
Member
 
Registered: Mar 2019
Distribution: Freenix & Slarm64
Posts: 188

Rep: Reputation: Disabled
Quote:
Originally Posted by KarlF View Post
Hi, It could be my hardware, but my experience with slackware on my rock64 has been rocky during the last few days. I tried your image, too, with no success. https://nextcloud.krasso.com/index.p...5TkjnxHFWcdfCo
Oh, right, if I recall correctly that image assumes you are using eMMC only. If you are using SD card, try changing two files:

1) edit /boot/uEnv.txt and add the following line:

Code:
rootdev=/dev/mmcblk0p1
or, if you see

Code:
rootdev=/dev/mmcblk1p1
change that line to the line above.

2) edit /etc/fstab, and change the line that starts with

Code:
/dev/mmcblk1p1    /          ext4    ......
so that it starts like

Code:
/dev/mmcblk0p1    /          ext4    ......
and then that image should boot from the SD card.

Sorry, I forgot about that bit.
 
  


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
AArch64 kernel and modules to install Slackware ARM current on the RPi3 Exaga Slackware - ARM 27 02-07-2017 10:45 AM
LXer: ARM64/AArch64 Support Going Into Linux 3.7 Kernel LXer Syndicated Linux News 0 10-02-2012 06:20 AM

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

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