LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-27-2022, 07:57 AM   #1
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635
Blog Entries: 20

Rep: Reputation: 81
NanoPi R1S H3


Hi guys. I got myself a NanoPI R1S H3:
What are the chances that the uboot for Orange Pi H3 be usable for the NanoPi R1S H3 ?
or do I need to borrow uboot from some other distro ?
 
Old 04-27-2022, 11:37 AM   #2
VicFer
Member
 
Registered: Sep 2012
Location: Italy
Distribution: Slackware
Posts: 52

Rep: Reputation: 13
Hi,
did you already checked there ?
 
Old 04-27-2022, 01:25 PM   #3
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,543

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
Originally Posted by louigi600 View Post
Hi guys. I got myself a NanoPI R1S H3:
What are the chances that the uboot for Orange Pi H3 be usable for the NanoPi R1S H3 ?
or do I need to borrow uboot from some other distro ?
I'd say no chance -each boot loader is built for a specific target Hardware Model (the only exception I've personally seen being the RPi, where a single U-Boot can support both the v3 and v4).

Building U-Boot is easy.
http://ftp.arm.slackware.com/slackwa.../bootware/src/

Have a look there at uboot.build for ARM32 - you can see it's basically make boardname_defconfig, make
Then if you look at sdcards.build, basically all it does is dd the u-boot binary to an SD card (but the script is more complicated because it creates an image that you the user dd to your SD card, but the only thing on that card is the U-Boot SPL.
What you could do for example is to download the U-Boot SD card image for the Orange Pi:
http://ftp.arm.slackware.com/slackwa..._sdcard.img.xz
Write it to an SD card, then dd your new U-Boot binary to the SD card using the same dd command as in sdcards.build

The reason why there's a fat partition on those sd cards is to save the u-boot environment to.
 
Old 04-28-2022, 02:12 PM   #4
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635

Original Poster
Blog Entries: 20

Rep: Reputation: 81
Quote:
Originally Posted by VicFer View Post
Hi,
did you already checked there ?
Yes I did that's why I'm trying to get something sane on the device


Quote:
Originally Posted by drmozes View Post
I'd say no chance -each boot loader is built for a specific target Hardware Model (the only exception I've personally seen being the RPi, where a single U-Boot can support both the v3 and v4).

Building U-Boot is easy.
http://ftp.arm.slackware.com/slackwa.../bootware/src/
Interesting but I don't have the time to chase down the gory details to set it up for this device

Quote:
Have a look there at uboot.build for ARM32 - you can see it's basically make boardname_defconfig, make
Then if you look at sdcards.build, basically all it does is dd the u-boot binary to an SD card (but the script is more complicated because it creates an image that you the user dd to your SD card, but the only thing on that card is the U-Boot SPL.
What you could do for example is to download the U-Boot SD card image for the Orange Pi:
http://ftp.arm.slackware.com/slackwa..._sdcard.img.xz
Write it to an SD card, then dd your new U-Boot binary to the SD card using the same dd command as in sdcards.build

The reason why there's a fat partition on those sd cards is to save the u-boot environment to.
The NanoPi R1s H3 only has uSD card slot as storage ... it will have to live there with the other stuff.

I think the quickest solution would be to borrow stuff from something functional.
 
  


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: Open-spec, octa-core “NanoPi M3” SBC sells for $35 LXer Syndicated Linux News 2 07-20-2016 07:24 AM
[SOLVED] Smaller & Faster than Raspberry Pi Zero: Meet NanoPi NEO ARM Linux Development Board jiatang Linux - Hardware 1 07-12-2016 06:48 AM
Meet NanoPi NEO ARM Linux Development Board jiatang Linux - Hardware 1 07-12-2016 03:52 AM
LXer: Watch: Ubuntu MATE Linux Operating System Running on NanoPi 2 SBC LXer Syndicated Linux News 0 02-01-2016 08:41 AM

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

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