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 10-20-2022, 01:46 AM   #1
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
Pinebook Pro conundrum


Yeah ..... PinebookPro from most recent production run and received two days ago. the switch to turn off emmc has been changed and moved. I have attached a pic of the new configuration. With dip to the right the pro boots into manjaro. Logically setting to the left would disable emmc and I could boot with the sdcard spi image but I have no joy. I have new class 10 cards, have tried with emmc in and out, switch in both positions, etc. however, nothing shows up on the screen but led indicates power on. Booted manjaro and had 93% battery. Have been in and out with sd cards and it seems they seat correctly. Tried the reset and recover switches as well but not sure which is correct or maybe what order to use them. Any bright sparks out there?
Attached Thumbnails
Click image for larger version

Name:	pbpro.png
Views:	208
Size:	231.3 KB
ID:	39747  
 
Old 10-20-2022, 03:26 AM   #2
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 180

Rep: Reputation: 148Reputation: 148
The SPI Image doesn't boot/work on the new pbp's. At least I couldn't get it to do anything but show me a blank screen, no matter what I did. I assume you are wanting to install to the SPI for an eventual Slackware install, and there is another way.

What I did is wrote this ArchLinuxARM image to a sd and booted it. You don't need to remove or disable the emmc, it will boot. Read that entire page, and you'll find instructions on writing tow-boot to the SPI from that Arch image you booted. After flashing it,you will be able to choose your boot device upon booting the pbp. If you're going nvme for slackware, keep in mind, you will have to write the bootloader to sd in order to boot the nvme, it will not directly boot AFAIK.

After you have access to the SPI you can continue the rk3399 installation doc and the rest should be smooth sailing. I didn't need to disable the emmc at all, and I just left it alone and occasionally boot manjaro anyway, as the boot time is much lower than slackware's. Be careful on the nvme you purchase, many use too much power (like mine) and constantly kernel panic, freezing the pbp. You can disable features with a nvme application included in slackware, but depending on your drive, it won't fix everything. Mine will panic if I let the battery drain to 54%, but other than that, it works great, I just have to watch the battery! (don't buy a samsung nvme!)

Good luck and have fun!
 
Old 10-20-2022, 04:12 AM   #3
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
Thanks for that, I'm a bit tired and will have a cognizant squiz tommorrw
 
Old 10-20-2022, 09:42 AM   #4
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
Did you follow?: https://docs.slackware.com/slackware...r_to_spi_flash

The recovery image is used to overwrite the SPI flash prior to booting the installer. Leave your emmc disabled. Here is the recovery image: https://slackware.uk/slackwarearm/pl...covery/rk3399/

Here is a list of the hardware tested on the Pbpro: https://docs.slackware.com/slackware...o#requirements

Here is a list of additional hardware tested on the PinebookPro, but not necessarily for Slackware Aarch64: https://wiki.pine64.org/wiki/Pineboo..._Compatibility

Last edited by mralk3; 10-20-2022 at 09:45 AM.
 
Old 10-20-2022, 11:14 AM   #5
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
@ mralk3 ... Yes, everything was as per instructions.

@ jloco ...
Quote:
The SPI Image doesn't boot/work on the new pbp's
My pbp was purchased last month.presumably from the most recent production run. How recent is your pbp?

Last edited by justwantin; 10-20-2022 at 11:18 AM.
 
Old 10-20-2022, 02:26 PM   #6
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 180

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by justwantin View Post
My pbp was purchased last month.presumably from the most recent production run. How recent is your pbp?
It's from the same run, I ordered it the day they started sales again, and it came in around aug/sept sometime.
 
Old 10-20-2022, 03:34 PM   #7
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
@jloco
Did you build the tow bootlader? using Nix?
 
Old 10-20-2022, 03:57 PM   #8
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 180

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by justwantin View Post
@jloco
Did you build the tow bootlader? using Nix?
No, I downloaded the latest release from their github and used the instructions on the arch INSTALL document linked above to flash it to SPI from within my arch SD card.

This could likely be done just as well on the manjaro emmc installation but you may have to separately download the flasher software package (and I’m unsure of it’s actual name to find it with pacman).
 
Old 10-20-2022, 04:57 PM   #9
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
Thanks ... first go a no go. I'll have another go later that's enough for now
 
Old 10-20-2022, 09:35 PM   #10
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
It seems the sd card is not recognized or perhaps the sd card port is stuffed. I have tried different class 10 cards. One was even purchased from pine. Two have had u-boot on board before and were used to boot slackware systems on bananapros using u-boot.
 
Old 10-21-2022, 01:12 AM   #11
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 180

Rep: Reputation: 148Reputation: 148
I had many issues getting any sd image to boot on the new pbp, I can’t say why that is but that arch image did boot for me, which I thought was unexpected seeing as all others failed to boot. I’ve had luck with the manjaro images and that arch iso, before flashing tow-boot. The software is in the arch repos, I just don’t know the actual name of the package currently. You should be able to flash the spi from the pre-installed manjaro as well.
 
Old 10-21-2022, 08:28 AM   #12
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,543

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Manjaro applies an additional patch to U-Boot (which is the same version as we have in Slackware) to handle some MMC issues on the PbPro. I've just rebuild the SPI flash images and I'll test them next week and push it all out. If it doesn't fix it, I'm not sure what else it would be if Manjaro works (which it ought to since it comes shipped with it).

I'll reply to this thread when the new SPI flash images are available.
 
1 members found this post helpful.
Old 10-21-2022, 11:26 AM   #13
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,911

Rep: Reputation: Disabled
Quote:
Originally Posted by justwantin View Post
It seems the sd card is not recognized or perhaps the sd card port is stuffed. I have tried different class 10 cards. One was even purchased from pine. Two have had u-boot on board before and were used to boot slackware systems on bananapros using u-boot.
just erase SPI and boot from sdcard.
 
Old 10-21-2022, 01:06 PM   #14
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
Quote:
Originally Posted by sndwvs View Post
just erase SPI and boot from sdcard.
That is exactly what the spi flash recovery image already does in Slackware. All that is required is to boot the recovery image and u-boot is flashed on to the SPI flash.
 
Old 10-21-2022, 05:42 PM   #15
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
@jloco: I'm thinking I may need to zero out my spi now before anything else as this is what I've been told on the pine forum.

@drmozes: Mamjaro doesn't boot. My understanding of the rk3399 is that it will first boot emmc, if no u-boot in spi, of there is u-boot in spi it will boot from spi. The sdcard is the last in line to get the baton and I don't think it is currently next in line. That being said I'll take one of your new testing images and test it if you like. At present I have nothing to lose.

@sndwvs: Indeed I'm trying to sort out a way to do that without access to either manjaro or an sd card.

@mralk3: just to be sure I once again downladed a fresh spi flash recovery image zcated to an sd card but no joy ... nada.

The maskrom mode using the recovery and reset buttons has not done the trick and I am not inclined to pry the shield off my pcb board using a pry bar or screw driver with the rk3399 housing as the fulcrum if I don't have to. I have been told on the pine forum that there are couple images out there that don't require u-boot to boot, one being diet pi that offers a pinebook pro image, and it was suggested to try and boot one those and see if I could zero spi .
 
2 members found this post helpful.
  


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
LXer: Destination Linux 131 - Endeavour OS, Deepin, OnlyOffice, Silverblue, Pinebook Pro, Ubuntu Mate, GPD LXer Syndicated Linux News 0 07-25-2019 06:41 AM
LXer: Linux 5.2, Debian 10, Pinebook Pro, Mageia, Whonix, GRUB, Valve, Zorin, Mint | This Week in Linux 73 LXer Syndicated Linux News 0 07-10-2019 06:43 AM
Video : New PINE64 Products. PineBook Pro, PinePhone, PineCam, PineH64 NicoD SBC Linux - Embedded & Single-board computer 2 02-06-2019 04:37 PM

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

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