
Dear Estevam,
Thank you very much; With your helps managed to use u-boot 2018, gcc 7.2 and SPL, generated u-boot.img image and downloaded into board.
SD card and e-MMC working well. Ethernet Phy is also answering mii info as shown below:
=> mii info PHY 0x05: OUI = 0x0885, Model = 0x21, Rev = 0x01, 10baseT, HDX => setenv ipadr 10.0.0.10 => dhcp FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! Could not initialize PHY FEC BOOTP broadcast 1 BOOTP broadcast 2 . . . BOOTP broadcast 17
Retry time exceeded; starting again.
I would be grateful, if you Have any idea how can I test and solve the dhcp command?
With my best regards.
Mehmet Ali
-----Original Message----- From: Fabio Estevam [mailto:festevam@gmail.com] Sent: Tuesday, January 16, 2018 5:57 PM To: Mehmet Ali İPİN mehmet.ipin@pavotek.com.tr Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] FW: u-boot v2016 vs v2013
Hi Mehmet,
On Tue, Jan 16, 2018 at 11:40 AM, Mehmet Ali İPİN mehmet.ipin@pavotek.com.tr wrote:
Dear Estevam,
Thank you for your helps. I finally managed to build u-boot-2018. With these commands: export CROSS_COMPILE=/opt/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi
export ARCH=arm make distclean make mx6sabreauto_defconfig make
There are u-boot, u-boot.bin, u-boot.img, ... files, but I could not see u-boot.imx file, which we use it to download to the DDR via USB, with usb_loader program.
I used u-boot-2016 lately, which was generating .imx file; Do you know if we can generate it with 2018.1?
mx6sabreauto has been converted to SPL, so the generated binaries are SPL and u-boot.img.
You can flash them into the SD card like this:
- Flash the SPL binary into the SD card:
$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync
- Flash the u-boot.img binary into the SD card:
$ sudo dd if=u-boot.img of=/dev/sdX bs=1K seek=69 && sync
This is described in board/freescale/mx6sabreauto/README.
You can also load SPL and u-boot.img via imx_usb_loader tool. Make sure you use their latest code and follow doc/README.sdp.