Re: [U-Boot] [PATCH 1/1] MX5:MX53: support for freescale MX53LOCO board

2011-02-22 Thread Jason Liu
Hi, Wolfgang, 2011/2/22 Wolfgang Denk w...@denx.de: Dear Liu Hui-R64343, In message 2cf7613b9822a943bef13ef7acec5bd114a...@039-sn1mpn1-003.039d.mgd.msft.net you wrote: As I discovered myself, usage of config.mk is discouraged and it should be removed and it is not accepted anymore for

Re: [U-Boot] [PATCH 1/1] MX5:MX53: support for freescale MX53LOCO board

2011-02-22 Thread Jason Liu
Hi, Wolfgang, 2011/2/22 Wolfgang Denk w...@denx.de: Dear Liu Hui-R64343, In message 2cf7613b9822a943bef13ef7acec5bd114a...@039-sn1mpn1-003.039d.mgd.msft.net you wrote: +# (C Copyright 2011 +# Jason Liu Freescale Software Engineering r64...@freescale.com Why don´t you use the

Re: [U-Boot] [PATCH] Fix variable flavor in examples/standalone/Makefile

2011-02-22 Thread Che-liang Chiou
Dear Wolfgang Denk, On Tue, Feb 22, 2011 at 3:33 PM, Wolfgang Denk w...@denx.de wrote: In message aanlktimw1vlc8gm_xsdgqgkluyyzkqofyfb8-bjvb...@mail.gmail.com you wrote: The bug is caused by using recursively expanded flavor for BIN and SREC. You wrote The bug.  How does this bug manifest in

[U-Boot] arm writel in v2010.03-rc1 generate wrong code

2011-02-22 Thread zzs213
My board is very similar to at91rm9200ek. I have a function to init nor flash bus, like this : void gfd3000cdb_nor_hw_init(void) { at91_mc_t *mc = (at91_mc_t *)AT91_MC_BASE; writel(CONFIG_SYS_EBI_CFGR_VAL, (mc-ebi.cfgr)); writel(CONFIG_SYS_SMC_CSR0_VAL, mc-smc.csr[0]); }

Re: [U-Boot] [PATCH 1/2] env_mmc: Allow board code to override the environment address

2011-02-22 Thread Kumar Gala
On Feb 10, 2011, at 12:15 AM, Kumar Gala wrote: On Jan 29, 2011, at 5:29 PM, Kumar Gala wrote: From: Mingkai Hu mingkai...@freescale.com On some boards the environment may not be located at a fixed address in the MMC/SDHC card. This allows those boards to implement their own means to

Re: [U-Boot] arm writel in v2010.03-rc1 generate wrong code

2011-02-22 Thread Jens Scharsig
Am 2011-02-22 09:06, schrieb zzs213: My board is very similar to at91rm9200ek. I have a function to init nor flash bus, like this : void gfd3000cdb_nor_hw_init(void) { at91_mc_t *mc = (at91_mc_t *)AT91_MC_BASE; writel(CONFIG_SYS_EBI_CFGR_VAL, (mc-ebi.cfgr));

Re: [U-Boot] [PATCH 18/18] Make the at91sam9263ek compile again.

2011-02-22 Thread Uli Raich
Dear Reinhard, Yes, the problems were mainly due to my ignorance with respect to git: I thought that rework110218 was just a later version of rework110202, which is clearly not the case. I probably also did not create a new branch, which had the effect that you see 17 patches, which were not

[U-Boot] Porting TPM support (from Linux) to U-Boot

2011-02-22 Thread Huewe.external
Hi, we at Infineon would like to port TPM support to U-Boot, especially in regard to our new I2C TPM chips. TPM in u-boot would be a key element to verified/trusted booting. As we already have a working linux device driver for this device we thought it might be a good starting point to port

Re: [U-Boot] Porting TPM support (from Linux) to U-Boot

2011-02-22 Thread Wolfgang Denk
Dear huewe.exter...@infineon.com, In message b2e5851d0f254d45b5019f4dd73497573d00647...@mucse405.eu.infineon.com you wrote: This setup works quite fine. But I'm almost sure that this is not the correct way to port a linux driver to u-boot. ;) There is no general, one-size-fits-all

Re: [U-Boot] Porting TPM support (from Linux) to U-Boot

2011-02-22 Thread Huewe.external
Hi, Thank you very much for your answer. This cannot be answered without seeing the code. Submit your code as patches, so it can be reviewed. Please use the U-Boot timer functions (udelay(), get_timer()). Ok, I'll clean up the code and then submit it. Please omit such crap when posting to

Re: [U-Boot] [PATCH 1/1] MX5:MX53: support for freescale MX53LOCO board

2011-02-22 Thread Stefano Babic
On 02/22/2011 02:44 AM, Liu Hui-R64343 wrote: As I discovered myself, usage of config.mk is discouraged and it should be removed and it is not accepted anymore for new boards. Instead of that, it is possible to add CONFIG_ options in boards.cfg. OK, do you know why config.mk is discouraged?

Re: [U-Boot] arm writel in v2010.03-rc1 generate wrong code

2011-02-22 Thread zzs213
anybody help me!! I think you need this patch http://lists.denx.de/pipermail/u-boot/2010-December/084133.html Is there any other smoothly solution? This patch makes my code differ from the main line,So I think it's not good enough. regards zzs213

Re: [U-Boot] arm writel in v2010.03-rc1 generate wrong code

2011-02-22 Thread Wolfgang Denk
Dear zzs213, In message 747caca3.ef8a.12e4d18b2cb.coremail.zzs...@126.com you wrote: I think you need this patch http://lists.denx.de/pipermail/u-boot/2010-December/084133.html Is there any other smoothly solution? This patch makes my code differ from the main line,So I think it's not

Re: [U-Boot] arm writel in v2010.03-rc1 generate wrong code

2011-02-22 Thread Albert ARIBAUD
Le 22/02/2011 13:42, Wolfgang Denk a écrit : Dear zzs213, In message747caca3.ef8a.12e4d18b2cb.coremail.zzs...@126.com you wrote: I think you need this patch http://lists.denx.de/pipermail/u-boot/2010-December/084133.html Is there any other smoothly solution? This patch makes my code

Re: [U-Boot] building enc28j60 for omap3: SILICON ERRATA

2011-02-22 Thread jacopo mondi
On Wed, 16 Feb 2011 18:31:23 +0100 Reinhard Meyer u-b...@emk-elektronik.de wrote: Not sure, the driver builds fine with ARM boards. Maybe you need to have CONFIG_NET_MULTI set? Best Regards, Reinhard I've continued working on enc28j60 in those days, trying to make it finally work with my

Re: [U-Boot] [PATCH] Introduce a new linker flag LDFLAGS_FINAL

2011-02-22 Thread Wolfgang Denk
Dear Haiying Wang, In message 1297975097.1973.20.camel@haiying-laptop you wrote: Your scripts works fine. Now I only get one pair of diff which are System.map.mpc7448hpc2.diff u-boot.map.mpc7448hpc2.diff, because mpc7448hpc2 failed to build: Configuring for mpc7448hpc2 board...

[U-Boot] [PATCH v2] Introduce a new linker flag LDFLAGS_FINAL

2011-02-22 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com commit 8aba9dceebb14144e07d19593111ee3a999c37fc Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS breaks the usage of --gc-section to build nand_spl. We still need linker option --gc-section for every uboot image, not only the main one.

Re: [U-Boot] [PATCH v2] Introduce a new linker flag LDFLAGS_FINAL

2011-02-22 Thread Scott Wood
On Tue, 22 Feb 2011 15:17:37 -0500 haiying.w...@freescale.com wrote: diff --git a/config.mk b/config.mk index 5147c35..caa6221 100644 --- a/config.mk +++ b/config.mk @@ -205,8 +205,9 @@ endif AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS) LDFLAGS += $(PLATFORM_LDFLAGS)

[U-Boot] [PATCH v3] Introduce a new linker flag LDFLAGS_FINAL

2011-02-22 Thread Haiying.Wang
From: Haiying Wang haiying.w...@freescale.com commit 8aba9dceebb14144e07d19593111ee3a999c37fc Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS breaks the usage of --gc-section to build nand_spl. We still need linker option --gc-section for every uboot image, not only the main one.

Re: [U-Boot] [PATCH] arm: Tegra2: add support for A9 CPU init

2011-02-22 Thread Tom Warren
Anyone willing to review this? I'd like to get it pulled in to Albert's arm repo ASAP. Thanks, Tom On Wed, Feb 16, 2011 at 1:26 PM, Tom Warren twarren.nvi...@gmail.com wrote: Signed-off-by: Tom Warren twar...@nvidia.com ---  arch/arm/cpu/armv7/start.S                 |    6 +  

Re: [U-Boot] [PATCH] arm: Tegra2: add support for A9 CPU init

2011-02-22 Thread Albert ARIBAUD
Hi Tom, Le 23/02/2011 00:41, Tom Warren a écrit : Anyone willing to review this? I'd like to get it pulled in to Albert's arm repo ASAP. I should be able to review it during the week-end--not before, sorry. Note however that since this is not a bugfix and it came after the merge window

Re: [U-Boot] Uboot - USB to Ethernet patch

2011-02-22 Thread Simon Glass
Yes, will do - Simon On Sat, Feb 19, 2011 at 1:05 AM, Remy Bohmer li...@bohmer.net wrote: Hi Simon, 2011/2/18 Simon Glass s...@chromium.org: +UBML Hi Anders, You will need at least: /* Enable USB Ethernet dongles */ #define CONFIG_USB_HOST_ETHER #define CONFIG_USB_ETHER_ASIX (and

[U-Boot] organizing doc/ dir?

2011-02-22 Thread Kumar Gala
Wolfgang, Any issue that added a little hierarchy to the doc/ dir? maybe something mimic board/ for example: doc/README.mpc8313erdb - doc/freescale/README.mpc8313erdb doc/README.mpc8315erdb - doc/freescale/README.mpc8315erdb doc/README.mpc8323erdb -

Re: [U-Boot] organizing doc/ dir?

2011-02-22 Thread Wolfgang Denk
Dear Kumar Gala, In message 78b99acf-ec73-4dbc-b4ee-49f1b33b9...@kernel.crashing.org you wrote: Any issue that added a little hierarchy to the doc/ dir? Excellent idea - thanks! maybe something mimic board/ for example: doc/README.mpc8313erdb - doc/freescale/README.mpc8313erdb

Re: [U-Boot] organizing doc/ dir?

2011-02-22 Thread Peter Tyser
On Wed, 2011-02-23 at 00:02 -0600, Kumar Gala wrote: Wolfgang, Any issue that added a little hierarchy to the doc/ dir? maybe something mimic board/ for example: doc/README.mpc8313erdb - doc/freescale/README.mpc8313erdb doc/README.mpc8315erdb -

Re: [U-Boot] organizing doc/ dir?

2011-02-22 Thread Albert ARIBAUD
Hi Kumar and others, Le 23/02/2011 07:02, Kumar Gala a écrit : Wolfgang, Any issue that added a little hierarchy to the doc/ dir? maybe something mimic board/ I would tend to agree wholeheartedly to the idea, if only because /doc currently contains 154 files, which meakes it not that easy

[U-Boot] [PATCH V2 1/1] MX53: support for freescale MX53LOCO board

2011-02-22 Thread Jason Liu
This patch add initial support for freescale MX53LOCO board. Network(FEC),SD/MMC, UART have been supported by this patch. Signed-off-by: Jason Liu r64...@freescale.com --- Changes for v2: - remove config.mk, instead add CONFIG_ options in boards.cfg - fix copyright issue, use freescale