LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-06-2017, 07:52 PM   #1
danmartinj
Member
 
Registered: Oct 2009
Posts: 112

Rep: Reputation: 1
Problems Loading New U-boot


Hello,

I have been trying to load a new u-boot compiled for arm on a clearfog pro however my biggest problem is I do not understand the procedures I think. After downloading the source code they maintain on github and compiling the code it produced several files such as u-boot.mmc, u-boot, u-boot.bin, etc.

All I am trying to do is dd the files to an sd card and boot from it but no matter what files I dd the device does not boot. I have found little platform specific instructions online and this process is something I do not really understand. So my question is where online can I find good documentation that explains the process? Also, I was hoping someone might have general comments or advice as this problem is something that has been very difficult for me to solve.

Thanks in advance,
Joe
 
Old 04-07-2017, 04:30 PM   #2
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 3,340
Blog Entries: 1

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
What exactly does "does not boot" mean? Does anything ever show up on screen after the POST messaging is complete?
 
Old 04-26-2017, 06:55 PM   #3
danmartinj
Member
 
Registered: Oct 2009
Posts: 112

Original Poster
Rep: Reputation: 1
Hello mrmazda,

I have been battling the device for quit sometime and sorry I did not see your reply. Although, I have made some progress.

Basically, I have been following the instructions to build and load new uboot from here: https://wiki.solid-run.com/doku.php?...lopment:u-boot

My process so far is:
Code:
export CROSS_COMPILE=arm-linux-gnueabihf-
make armada_38x_clearfog_config
make u-boot.mmc
At this point I compile marvel solid run uboot. Then I have all these files which I really do not know what they all mean. However, the instructions from the link above saids to use u-boot.mcc. Then I do the below commands:
Code:
dd if=u-boot.mmc of=/dev/sdb bs=512 seek=1
and then boot the clearfog pro from it I FINALLY can get it to load but then for some reason it halts at DRAM:

Code:
otROM - 1.73

Booting from MMC


General initialization - Version: 1.0.0
Detected Device ID 6828
High speed PHY - Version: 2.0

Init Customer board board SerDes lanes topology details:
 | Lane # | Speed|    Type     |
 ------------------------------|
 |   0    |  3   |  SATA0      |
 |   1    |  0   |  SGMII1     |
 |   2    |  5   |  PCIe1      |
 |   3    |  5   |  USB3 HOST1 |
 |   4    |  5   |  PCIe2      |
 |   5    |  0   |  SGMII2     |
 -------------------------------
PCIe, Idx 1: detected no link
:** Link is Gen1, check the EP capability
PCIe, Idx 2: remains Gen1
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.39.0
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
DDR3 Training Sequence - Ended Successfully
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_
        | | | |___|  _ \ / _ \ / _ \| __|
        | |_| |___| |_) | (_) | (_) | |_
         \___/    |____/ \___/ \___/ \__|
 ** LOADER **


U-Boot 2013.01 (Aug 22 2016 - 18:42:11) Marvell version: 2015_T1.0p11

Board: A38x-Customer-Board-1
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 250 [MHz]
       DDR3    @ 800 [MHz]
       DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:
However, if I use their images I can get all the way to the uboot prompt:
Code:
otROM - 1.73

Booting from MMC


General initialization - Version: 1.0.0
Detected Device ID 6828
High speed PHY - Version: 2.0

Init Customer board board SerDes lanes topology details:
 | Lane # | Speed|    Type     |
 ------------------------------|
 |   0    |  3   |  SATA0      |
 |   1    |  0   |  SGMII1     |
 |   2    |  5   |  PCIe1      |
 |   3    |  5   |  USB3 HOST1 |
 |   4    |  5   |  PCIe2      |
 |   5    |  0   |  SGMII2     |
 -------------------------------
PCIe, Idx 1: detected no link
:** Link is Gen1, check the EP capability
PCIe, Idx 2: remains Gen1
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.39.0
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
DDR3 Training Sequence - Ended Successfully
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_
        | | | |___|  _ \ / _ \ / _ \| __|
        | |_| |___| |_) | (_) | (_) | |_
         \___/    |____/ \___/ \___/ \__|
 ** LOADER **


U-Boot 2013.01 (Aug 22 2016 - 18:42:11) Marvell version: 2015_T1.0p11

Board: A38x-Customer-Board-1
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 250 [MHz]
       DDR3    @ 800 [MHz]
       DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB
MMC:   mv_sdh: 0
*** Warning - bad CRC, using default environment

PCI-e 0: Detected No Link.
PCI-e 2 (IF 1 - bus 0) Root Complex Interface, Detected Link X1, GEN 1.1
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode

Map:   Code:                    0x3fed3000:0x3ff97cbc
       BSS:                     0x3ffef964
       Stack:                   0x3f9c2f20
       Heap:                    0x3f9c3000:0x3fed3000
       U-Boot Environment:      0x000f0000:0x00100000 (MMC)

Board configuration detected:
Net:
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |   In-Band    |
| egiga2 |   SGMII   |   In-Band    |
egiga0 [PRIME], egiga1, egiga2
Hit any key to stop autoboot:  0
Marvell>>

The only reason I am doing all of this is because for whatever reason I can only get my PCIe slots to both work together about 25% of the time. Typically only one PCIe slot works as I have two WiFI cards in both of them. Currently I am also trying different Operating Systems to see if the same problem is consistent on both of them.

Anyhow, any advice on anything would be great.

Thanks,
Joe
 
  


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
Grun Loading stage 1.5, Grub loading - Error 22, won't boot from bootdisk susancorless Linux - Newbie 7 12-06-2010 10:51 PM
Mepis, GRUB and XP boot loading problems eccentric4 MEPIS 9 09-25-2005 06:32 PM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 01:47 AM
Problems loading ivtv drivers at boot cdhgee Linux - Software 0 08-16-2005 05:26 AM
Problems loading etho upon boot wardialer Linux - Newbie 11 01-30-2005 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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