AnsweredAssumed Answered

SD image Linux

Question asked by Lopes on Sep 25, 2017
Latest reply on Jan 17, 2018 by Yuri Muhin
Branched from an earlier discussion

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>

 

Outcomes