SD image Linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SD image Linux

657 Views
ailtonlopes
Contributor III

Hi Yuri,

Thank you for the help, specially with the Miro Samek tutorial, i was able

to fix the problem but now i have a new question, didnt post it in the

thread because i assume this is something basic.

So far i've been using the u-boot to create the image.imx and the DD

command to load it to the SD card:

kernel.img : gcc.ld $(OBJS)

$(LD) $(OBJS) -T gcc.ld -o kernel.elf $(LDFLAGS)

$(OBJDUMP) -D kernel.elf > kernel.asm

$(MKIMAGE) -n imximage.cfg -T imximage -e 0x17800000 -d kernel.img

kernel.imx

But using this new project with a more complete linker and startup code

when using those methods the image doesn't run.

So i wanted to ask how can a load the image on the board without the u-boot.

i manage to create the .axf file (the format i found in the arm's examples)

and i wanted to ask how can i program the SD using this image.

I use this command to create the file and i made the debug using the DS5

and it works fine.

$(LD) $(OBJS) -T gcc.ld -o kernel.axf $(LDFLAGS)

By the Way i'm using linux.

Kind Regards,

Ailton Lopes

2017-09-25 10:12 GMT+01:00 Yuri <admin@community.nxp.com>:

NXP Community

<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>

Re: SGI not working i.MX6QSD

reply from Yuri Muhin

<https://community.nxp.com/people/Yuri?et=watches.email.thread> in *i.MX

Community* - View the full discussion

<https://community.nxp.com/message/946229?commentID=946229&et=watches.email.thread#comment-946229>

0 Kudos
1 Reply

415 Views
Yuri
NXP Employee
NXP Employee

Hello,

  please look at the following https://community.nxp.com/docs/DOC-334664 


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos