View unanswered posts | View active topics It is currently Thu Mar 21, 2019 12:38 pm



Reply to topic  [ 4 posts ] 
 Uboot error 
Author Message

Joined: Mon Aug 20, 2012 9:56 am
Posts: 6
Post Uboot error
Hi,
I compile a new u-boot downloaded with git(trimslice-u-boot-dts.git) as the instruction of the web:
http://www.trimslice.com/wiki/index.php ... evelopment

After downloaded the U-boot from tftp and reset, the U-boot complainted that:
U-boot 2012.04.01-gf935f03 (Oct 29 2012 – 23:46:19)
Tegra2
Board:Compulab Trimslice
No valid FDT found – please append one to U-boot binary,use u-boot-dtb.bin or define CONFIG_OF_EMBED
**CONFIG_OF_CONTROL defined but no FDT – please see doc/README.fdt-control
resetting…


I found the function which print that messages, it is the fdtdec_prepare_fdt called by board_init_f , I have no idea about the FDT.

What confused me is whether I forget some steps when compiling the U-boot or I need to modify the source code of the Uboot?

Thanks in advance.
Best regards.

Heron.


Thu Nov 01, 2012 2:52 am
Profile

Joined: Mon Jul 25, 2011 2:35 pm
Posts: 445
Post Re: Uboot error
Did you do this step:

# with DTS
export U_BOOT_BIN "/home/development/trimslice/trimslice-u-boot/Debug/u-boot-dtb.bin"
cd /home/development/cbootimage-scripts
./sliceboot.scr $U_BOOT_BIN /home/development/trimslice/trimslice-u-boot/Debug/u-boot.firmware spi


Thu Nov 01, 2012 9:36 am
Profile

Joined: Mon Aug 20, 2012 9:56 am
Posts: 6
Post Re: Uboot error
Thanks for your reply

I did that but an error emerge:
root@ubuntu:/home/development/trimslice/trimslice-u-boot# export U_BOOT_BIN "/home/development/trimslice/trimslice-u-boot/Debug/u-boot-dtb.bin"
bash: export: `/home/development/trimslice/trimslice-u-boot/Debug/u-boot-dtb.bin': not a valid identifier


then I used export U_BOOT_BIN="/home/development/trimslice/trimslice-u-boot/Debug/u-boot-dtb.bin"

But the uboot still not work.
So confused.


valentin wrote:
Did you do this step:

# with DTS
export U_BOOT_BIN "/home/development/trimslice/trimslice-u-boot/Debug/u-boot-dtb.bin"
cd /home/development/cbootimage-scripts
./sliceboot.scr $U_BOOT_BIN /home/development/trimslice/trimslice-u-boot/Debug/u-boot.firmware spi


Fri Nov 02, 2012 3:18 am
Profile

Joined: Mon Jul 25, 2011 2:35 pm
Posts: 445
Post Re: Uboot error
Hi,

Can you please follow the instructions and post the outputs:
1) Run the "sliceboot.scr" with debugger:
bash -xv ./sliceboot.scr $U_BOOT_BIN /home/development/trimslice/trimslice-u-boot/Debug/u-boot.firmware spi
2) ls -al /home/development/trimslice/trimslice-u-boot/Debug/
3) ls -al <your tftp directory>

Regards,
Valentin.


Sun Nov 04, 2012 8:57 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.