[U-Boot] [PATCH 1/1] MX5:MX53: support for Freescale MX53LOCO

Hi Stefano,
I have cloned yesterday http://git.denx.de/u-boot.git on to my local machine and from there selected the v2011.12-rc3 tag. Then I configured the mx53loco board and successfully build u-boot.imx, copied the image to a SD card and powered it up. What I then got on the serial port terminal was as follows:
U-Boot 2011.12-00201-g137703b (Feb 03 2012 - 11:12:00)
CPU: Freescale i.MX53 family rev2.1 at 800 MHz
Reset cause: POR
Board: MX53 LOCO
DRAM: 1 GiB
WARNING: Caches not enabled
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net:
At this point, having printed Net: the program hags.
I must say that I am a newbie here but I was able to successfully build and launch the same u-boot.imx image on my i.MX53 Quick Start Board, having obtained the source tree via:
wget ftp://ftp.denx.de/pub/u-boot/u-boot-2011.12.tar.bz2. As per instructions I also had to apply the following patches:
* 0001-mx53loco-enable-ext-support.patch
* 0002-mx53loco-use-part-1.patch
* 0001-net-eth.c-fix-eth_write_hwaddr-to-use-dev-enetaddr-a.patch
The patches were obtained via wget https://raw.github.com/RobertCNelson/Bootloader-Builder//aster/patches/ https://raw.github.com/RobertCNelson/Bootloader-Builder/aster/patches/ ...
I also, applied the same patches on the my v2011.12-rc3 tag but the resulting build .imx image gave the same output (as above)
Is it possible that I did not get the correct tag?
Any other ideas?
Cheers,
Bud Miljkovic

Bud,
2012/2/3 Bud Miljkovic Bud_Miljkovic@trimble.com:
Hi Stefano,
I have cloned yesterday http://git.denx.de/u-boot.git on to my local machine and from there selected the v2011.12-rc3 tag. Then I configured the mx53loco board and successfully build u-boot.imx, copied the image to a SD card and powered it up. What I then got on the serial port terminal was as follows:
U-Boot 2011.12-00201-g137703b (Feb 03 2012 - 11:12:00)
CPU: Freescale i.MX53 family rev2.1 at 800 MHz
Reset cause: POR
Board: MX53 LOCO
DRAM: 1 GiB
WARNING: Caches not enabled
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net:
At this point, having printed Net: the program hags.
I have fixed this issue by a recent commit which is queened in u-boot-imx and you can refer to the patch here: http://patchwork.ozlabs.org/patch/138761/
Jason
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

On 03/02/2012 06:58, Jason Liu wrote: Hi Bud,
I have cloned yesterday http://git.denx.de/u-boot.git on to my local machine and from there selected the v2011.12-rc3 tag. Then I configured the mx53loco board and successfully build u-boot.imx, copied the image to a SD card and powered it up. What I then got on the serial port terminal was as follows:
I have fixed this issue by a recent commit which is queened in u-boot-imx and you can refer to the patch here: http://patchwork.ozlabs.org/patch/138761/
You can also clone from http://git.denx.de/u-boot-imx.git, Jason's patch was already merged.
Best regards, Stefano Babic

Hi Stefano,
I cloned from http://git.denx.de/u-boot-imx.git into local directory "/home/budm/Mamaku-Boot/". Then configured for mx53loco_config without a problem but the make failed.
I am using the same tools as the previous case when I was successful in building but could not get it to run, etc.
The command line I use is: make ARCH=arm CROSS_COMPILE=arm-none-eabi- u-boot.imx
I am attaching two log files:
1. bould.log - containing all output just before the error 2. build_failure.log - containing the error output
Any suggestion is appreciated.
-bud
-----Original Message----- From: Stefano Babic [mailto:sbabic@denx.de] Sent: Friday, 3 February 2012 7:30 p.m. To: Bud Miljkovic Cc: Jason Liu; sbabic@denx.de; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH 1/1] MX5:MX53: support for Freescale MX53LOCO
On 03/02/2012 06:58, Jason Liu wrote: Hi Bud,
I have cloned yesterday http://git.denx.de/u-boot.git on to my local machine and from there selected the v2011.12-rc3 tag. Then I
configured
the mx53loco board and successfully build u-boot.imx, copied the
image
to a SD card and powered it up. What I then got on the serial port terminal was as follows:
I have fixed this issue by a recent commit which is queened in u-boot-imx and you can refer to the patch here: http://patchwork.ozlabs.org/patch/138761/
You can also clone from http://git.denx.de/u-boot-imx.git, Jason's patch was already merged.
Best regards, Stefano Babic

Hi Stefano,
I cloned from http://git.denx.de/u-boot-imx.git into local directory "/home/budm/Mamaku-Boot/". Then configured for mx53loco_config without a problem but the make failed.
I am using the same tools as the previous case when I was successful in building but could not get it to run, etc.
The command line I use is: make ARCH=arm CROSS_COMPILE=arm-none-eabi- u-boot.imx
I am attaching two log files:
- bould.log - containing all output just before the
error 2. build_failure.log - containing the error output
Any suggestion is appreciated.
-bud
-----Original Message----- From: Stefano Babic [mailto:sbabic@denx.de] Sent: Friday, 3 February 2012 7:30 p.m. To: Bud Miljkovic Cc: Jason Liu; sbabic@denx.de; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH 1/1] MX5:MX53: support for Freescale MX53LOCO
On 03/02/2012 06:58, Jason Liu wrote: Hi Bud,
I have cloned yesterday http://git.denx.de/u-boot.git on to my local machine and from there selected the v2011.12-rc3 tag. Then I
configured
the mx53loco board and successfully build u-boot.imx, copied the
image
to a SD card and powered it up. What I then got on the serial port
terminal was as follows:
I have fixed this issue by a recent commit which is queened in u-boot-imx and you can refer to the patch here: http://patchwork.ozlabs.org/patch/138761/
You can also clone from http://git.denx.de/u-boot-imx.git, Jason's patch was already merged.
Best regards, Stefano Babic
There was patch for that in the ml recently I think ... look for tbclk.
M

On 07/02/2012 02:38, Bud Miljkovic wrote:
Hi Stefano,
I cloned from http://git.denx.de/u-boot-imx.git into local directory "/home/budm/Mamaku-Boot/". Then configured for mx53loco_config without a problem but the make failed.
I am using the same tools as the previous case when I was successful in building but could not get it to run, etc.
The command line I use is: make ARCH=arm CROSS_COMPILE=arm-none-eabi- u-boot.imx
I am attaching two log files:
- bould.log - containing all output just before the
error 2. build_failure.log - containing the error output Any suggestion is appreciated.
commit f31a911fe (arm, post: add missing post_time_ms for arm) enables get_ticks and get_tbclk for all arm based boards, MX5/MX6 have not yet implemented.
I have sent a fix, you should apply this patch:
http://patchwork.ozlabs.org/patch/139720/
Best regards, Stefano Babic
participants (4)
-
Bud Miljkovic
-
Jason Liu
-
Marek Vasut
-
Stefano Babic