LinuxQuestions.org
Help answer threads with 0 replies.
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 08-05-2019, 10:15 AM   #1
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 14.2 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 360

Rep: Reputation: 31
A question about burning uboot image to sd card


In the installation instructions for the Orange Pi PC is the following for burning uboot to sd card:

Code:
xzcat *sdcard_latest.img.xz > /dev/sdXXX  ## Replace XXX with the correct value (often 'b', 'c' or 'd')
My question is should I use

Code:
xzcat *sdcard_latest.img.xz > /dev/sdg
or
Code:
 xzcat *sdcard_latest.img.xz > /dev/sdg1
sdg is what the sd card appears in my card reader. I ask because I was trying a new install with the latest changes. (using -current) I first tried the second version of the command assuming it should go into the first (only) partition and got an error of not enough space. Then I tried without the partition number which appeared to work, but won't boot the system. Before I do perverted things to another sd card I need clarification on which command to use.

Thanks for bearing with my poor ossified mind.
 
Old 08-05-2019, 03:46 PM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 838

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
Quote:
Originally Posted by interndan View Post
In the installation instructions for the Orange Pi PC is the following for burning uboot to sd card:

Code:
xzcat *sdcard_latest.img.xz > /dev/sdXXX  ## Replace XXX with the correct value (often 'b', 'c' or 'd')
My question is should I use

Code:
xzcat *sdcard_latest.img.xz > /dev/sdg


It's /dev/sdg in your example, because the 'image' file contains its own partition table, so once you write it to the target device, you'll be able to do fdisk -l and see the new partition table.

I was reluctant to include a specific device name in case people copied it without reading, and wiped out their storage!
I'll update the instructions to use sdz as an example, as it's unlikely that unless you've got a huge storage array, you won't have so many devices attached!

Last edited by drmozes; 08-05-2019 at 03:48 PM.
 
2 members found this post helpful.
Old 08-05-2019, 05:13 PM   #3
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 14.2 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 360

Original Poster
Rep: Reputation: 31
Thank you. I wasn't sure about leaving out the partition number.
 
  


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
UBOOT porting to Blackfin (bf537-ezkit) IND Linux - Kernel 0 03-18-2009 05:45 AM
Where to find vivi, uBoot, kernel source? waqasdanish Linux - Laptop and Netbook 0 11-02-2007 08:49 AM
uboot unable to start arm embedded kernal kandhala Linux - Software 0 09-26-2007 04:12 AM
Is uboot generated by the bootloader of omap 2430 is specific to linux neenu19 Linux - General 3 03-30-2007 12:43 AM

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

All times are GMT -5. The time now is 12:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration