Skip to contentSkip to conversation

MX5:MX53: support for Freescale MX53LOCO

PATCH New Bud Miljkovic 4 participants 6 messages Feb 3, 2012 – Feb 7, 2012

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

PATCH 1/1 MX5:MX53: support for Freescale MX53LOCO

Bud,

2012/2/3 Bud Miljkovic <[email protected]>:

Quoted 36 lines

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

Quoted 8 lines

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

Quoted 6 lines

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

#2 lore raw

PATCH 1/1 MX5:MX53: support for Freescale MX53LOCO

On 03/02/2012 06:58, Jason Liu wrote:
Hi Bud,

Quoted 10 lines
Quoted 5 lines

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

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================
#3 lore raw

PATCH 1/1 MX5:MX53: support for Freescale MX53LOCO

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 at denx.de]
Sent: Friday, 3 February 2012 7:30 p.m.
To: Bud Miljkovic
Cc: Jason Liu; sbabic at denx.de; u-boot at 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,

Quoted 2 lines
Quoted 2 lines

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

Quoted 1 line
Quoted 1 line

the mx53loco board and successfully build u-boot.imx, copied the

image

Quoted 7 lines
Quoted 2 lines

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

Signature · 19 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 62104 bytes
Desc: build.log
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120207/fdd4086b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_failure.log
Type: application/octet-stream
Size: 2353 bytes
Desc: build_failure.log
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120207/fdd4086b/attachment-0001.obj>
#4 lore raw

PATCH 1/1 MX5:MX53: support for Freescale MX53LOCO

Quoted 49 lines

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 at denx.de]
Sent: Friday, 3 February 2012 7:30 p.m.
To: Bud Miljkovic
Cc: Jason Liu; sbabic at denx.de; u-boot at 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,

Quoted 2 lines
Quoted 2 lines

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

Quoted 1 line
Quoted 1 line

the mx53loco board and successfully build u-boot.imx, copied the

image

Quoted 6 lines
Quoted 3 lines

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/

Quoted 5 lines

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

#5 lore raw

PATCH 1/1 MX5:MX53: support for Freescale MX53LOCO

In reply to Bud Miljkovic
Quoted 12 lines · Bud Miljkovic

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

Quoted 6 lines

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.

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

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================