How to compile u-boot-2014.01 and Is there already ported done for imx6rex module ?

Answered
0
0

Hi folks

Actually I am confused to compile bootlaoder and kernel because new features is on new kernel over 3.10 over,
Maybe in kernel 3.17.XX

So My aim is to move higher version of bootloader and kernel
But there is a little clue on the this site.

Q’s
1. Is there already ported for u-boot-2014-01 high ?
2. I downloaded from your site called imx6rex-uboot-2014.01 but How do i compile ??
where is script files and something more about description ?
3. In order to boot kernel over having dts file
could you give me manual in detail because i have to compare between two kernel from 3.0.x to 3.1X.x
it makes me hard

Thank
Kevinpark.

  • You must to post comments
Best Answer
0
0

Hi Robert
I have a solution to see (https://github.com/voipac/imx6tinyrex_uboot_v2014_10)
IMPORTANT (u-boot-imx6q-rex.imx must be flashed into spi flash at offset 0×400.)

it came from the sdcard wrriteen and sdcard booting.
So i wrote u-boot.imx into spi, it works well.

Thank
Kevinpark

  • You must to post comments
0
0

Hi Robert

Q’s
1. As i understand SPI is always booting frist Right ? if so do i have to attach SPI all the time for booting ?
2. if not, Guide me the Solution

Thanks
Kevinpark.

  • You must to post comments
0
0

Hi Robert

I understand totally what you mean for eFUSEs

Thank
Kevinpark

  • You must to post comments
0
0

Hi Robert

I am testing booting from SDCARD.
the Image that compiled by u-boot-2009.8(default:u-boot.bin) is ok to boot, but the image that you guide me (https://github.com/voipac/imx6tinyrex_uboot_v2014_10) is not booting.

so I booted from USB, it is working, Confused.
How do i boot from V2014_10 ?

My Circumstance.
1. patched booting from SDcard.
2. The Original Image is working well.

Thanks.
Kevinpark.

  • You must to post comments
0
0

Hi Robert

i am trying to boot kernel 3.15(http://www.imx6rex.com/software/how-to-compile-imx6-linux-kernel-3-15-and-3-16/)
But u-boot (2014.10) is trying to boot from tftp. So confused.
Q,s 1: What do i modify to boot sdcard. ?

u-boot circumstance:
Rex U-Boot > print
baudrate=115200
boot_fdt=try
bootargs=console=ttymxc0,115200 root=/dev/nfs ip=dhcp nfsroot=192.168.0.1:,v3,tcp
bootcmd=mmc dev ${mmcdev};if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi
bootdelay=3
bootscript=echo Running bootscript from mmc …; source
console=ttymxc0
ethact=FEC
ethaddr=00:0D:15:00:D1:75
ethprime=FEC
fdt_addr=0×18000000
fdt_file=imx6q-rex.dtb
fdt_high=0xffffffff
gatewayip=192.168.0.1
image=3.15.9-rex5.zImage
initrd_high=0xffffffff
ipaddr=192.168.0.150
loadaddr=0×10800000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot}
mmcboot=echo Booting from mmc …; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} – ${fdt_addr}; else if test ${bo;
mmcdev=0
mmcpart=1
mmcroot=/dev/mmcblk2p2 rootwait rw
netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
netboot=echo Booting from net …; run set_ethernet; run netargs; tftp ${tftp_dir}/${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if tftp ${fdt_addr} ${tftp;
netmask=255.255.255.0
script=boot-imx6q-rex.scr
serverip=192.168.0.1
set_ethernet=if test ${ethaddr}; then; else setenv ethaddr 00:0D:15:00:D1:75; fi; if test ${ipaddr}; then; else setenv ipaddr 192.168.0.150; fi; if test ${serverip}; then; eli
spics=2
spidev=2
stderr=serial
stdin=serial
stdout=serial
uboot=u-boot-imx6q-rex.imx
update_fdt=run set_ethernet; run update_set_filename; if mmc dev ${mmcdev}; then if tftp ${tftp_dir}/${upd_fdt}; then fatwrite mmc ${mmcdev}:${mmcpart} ${loadaddr} ${fdt_file} $i
update_kernel=run set_ethernet; run update_set_filename; if mmc dev ${mmcdev}; then if tftp ${tftp_dir}/${upd_kernel}; then fatwrite mmc ${mmcdev}:${mmcpart} ${loadaddr} ${imagei
update_script=run set_ethernet; run update_set_filename; if mmc dev ${mmcdev}; then if tftp ${tftp_dir}/${upd_script}; then fatwrite mmc ${mmcdev}:${mmcpart} ${loadaddr} ${scripi
update_set_filename=if test ${upd_uboot}; then; else setenv upd_uboot u-boot-imx6q-rex.imx; fi; if test ${upd_kernel}; then; else setenv upd_kernel zImage-imx6q-rex; fi; if testi
update_uboot=run set_ethernet; run update_set_filename; if sf probe ${spidev}:${spics}; then if tftp ${tftp_dir}/${upd_uboot}; then setexpr align_sz ${filesize} + 0x7FFF; setexpi

Environment size: 3388/8188 bytes

  • You must to post comments
0
0

Hello Kevin, you can find some info here:

Hope it helps, Robert

  • You must to post comments
0
0

Thanks to Marek from VOIPAC, you can compile uBoot 2014 for iMX6 Rex. Use these commands:

git clone https://github.com/voipac/imx6tinyrex_uboot_v2014_10
cd imx6tinyrex_uboot_v2014_10

export PATH="/opt/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin:~/workdir/bin:$PATH"
export CROSS_COMPILE=arm-linux-gnueabihf-
export ARCH=arm

make distclean
make mx6qrex_config
make
cp u-boot.imx /srv/tftp/imx6/u-boot-imx6q-rex.imx

For more information see:

https://github.com/voipac/imx6tinyrex_uboot_v2014_10

and read:

https://github.com/voipac/imx6tinyrex_uboot_v2014_10/blob/master/README.md

  • You must to post comments
0
0

hi Rboert

Many thanks for helping me out to proceed
On help of supporting i am currently using U-boot 2004.10,
Nevertheless I am also stuck at booting in SDCARD
So your guide written is not working.

  1. So Could you please tell me in detail step by step how to boot from SDCARD.
  2. My aim is to boot from ubootloader to kernel in SDCARD not SPI.

On Writing at this time I am seeking to find it out how to boot from SDCARD.
Thanks
KevinPark.

  • You must to post comments
Showing 8 results
Your Answer

Please first to submit.