public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot]  [PATCH 1/1] MX5:MX53: support for Freescale MX53LOCO
@ 2012-02-03  3:54 Bud Miljkovic
  2012-02-03  5:58 ` Jason Liu
  0 siblings, 1 reply; 6+ messages in thread
From: Bud Miljkovic @ 2012-02-03  3:54 UTC (permalink / raw)
  To: u-boot

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

 

 

 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH 1/1] MX5:MX53: support for Freescale MX53LOCO
  2012-02-03  3:54 [U-Boot] [PATCH 1/1] MX5:MX53: support for Freescale MX53LOCO Bud Miljkovic
@ 2012-02-03  5:58 ` Jason Liu
  2012-02-03  6:29   ` Stefano Babic
  0 siblings, 1 reply; 6+ messages in thread
From: Jason Liu @ 2012-02-03  5:58 UTC (permalink / raw)
  To: u-boot

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 at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH 1/1] MX5:MX53: support for Freescale MX53LOCO
  2012-02-03  5:58 ` Jason Liu
@ 2012-02-03  6:29   ` Stefano Babic
  2012-02-07  1:38     ` Bud Miljkovic
  0 siblings, 1 reply; 6+ messages in thread
From: Stefano Babic @ 2012-02-03  6:29 UTC (permalink / raw)
  To: 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

-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH 1/1] MX5:MX53: support for Freescale MX53LOCO
  2012-02-03  6:29   ` Stefano Babic
@ 2012-02-07  1:38     ` Bud Miljkovic
  2012-02-07  2:08       ` Marek Vasut
  2012-02-07  8:11       ` Stefano Babic
  0 siblings, 2 replies; 6+ messages in thread
From: Bud Miljkovic @ 2012-02-07  1:38 UTC (permalink / raw)
  To: u-boot

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,

>> 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

-- 
=====================================================================
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>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH 1/1] MX5:MX53: support for Freescale MX53LOCO
  2012-02-07  1:38     ` Bud Miljkovic
@ 2012-02-07  2:08       ` Marek Vasut
  2012-02-07  8:11       ` Stefano Babic
  1 sibling, 0 replies; 6+ messages in thread
From: Marek Vasut @ 2012-02-07  2:08 UTC (permalink / raw)
  To: u-boot

> 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,
> 
> >> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [PATCH 1/1] MX5:MX53: support for Freescale MX53LOCO
  2012-02-07  1:38     ` Bud Miljkovic
  2012-02-07  2:08       ` Marek Vasut
@ 2012-02-07  8:11       ` Stefano Babic
  1 sibling, 0 replies; 6+ messages in thread
From: Stefano Babic @ 2012-02-07  8:11 UTC (permalink / raw)
  To: u-boot

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: 
> 
> 	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

-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-02-07  8:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-03  3:54 [U-Boot] [PATCH 1/1] MX5:MX53: support for Freescale MX53LOCO Bud Miljkovic
2012-02-03  5:58 ` Jason Liu
2012-02-03  6:29   ` Stefano Babic
2012-02-07  1:38     ` Bud Miljkovic
2012-02-07  2:08       ` Marek Vasut
2012-02-07  8:11       ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox