Re: [U-Boot-Users] [PATCH] Remove $(VERSION_FILE) from PHONY Target List
On 4/12/08 12:29 PM, Mike Frysinger wrote: On Friday 11 April 2008, Grant Erickson wrote: When building against non-local, non-disk-backed file systems (e.g. NFS, tmpfs), the u-boot build can iterate forever, attempting to re-generate include/autoconf.mk. This occurs because $(VERSION_FILE) (aka ${ROOT}/u-boot/build/include/version_autogenerated.h) is always regarded as out-of-date because it is in the .PHONY target list, even though it's a real file and seems to need to be only created once and only once. This patch removes $(VERSION_FILE) from the .PHONY target list and has been verified to work with various flavors and builds of make-3.81 against NFS, ext2fs, ext3fs and tmpfs file systems. that statement is incorrect. the version file is supposed to be checked everytime you run make as it depends on a whole lot of information which cannot be expressed in the makefile. thus it needs to be a PHONY. the latest git tree does the right thing: it doesnt actually replace the file unless it has changed which means nothing else will get regenerated unless the file actually changes. -mike Mike, Thanks for following up. The hypothesis (i.e. the version file is supposed to be checked) is well supported by the code; however, the latest git code as it stands neither seems to support the conclusion--namely $(VERSION_FILE) should be in the PHONY target list--nor that it depends on a whole lot of information. The contents of the file are simply: % cat include/version_autogenerated.h #define U_BOOT_VERSION U-Boot 1.3.2 and the only thing $(VERSION_FILE) depends on, implicitly, is the Makefile itself. At this point, the discussion is academic since, happily, the patch has been implicitly accepted by token of already being in git and, presumably, 1.3.3 when it emerges. Best, Grant - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH] Remove $(VERSION_FILE) from PHONY Target List
On Sunday 13 April 2008, Grant Erickson wrote: On 4/12/08 12:29 PM, Mike Frysinger wrote: On Friday 11 April 2008, Grant Erickson wrote: When building against non-local, non-disk-backed file systems (e.g. NFS, tmpfs), the u-boot build can iterate forever, attempting to re-generate include/autoconf.mk. This occurs because $(VERSION_FILE) (aka ${ROOT}/u-boot/build/include/version_autogenerated.h) is always regarded as out-of-date because it is in the .PHONY target list, even though it's a real file and seems to need to be only created once and only once. This patch removes $(VERSION_FILE) from the .PHONY target list and has been verified to work with various flavors and builds of make-3.81 against NFS, ext2fs, ext3fs and tmpfs file systems. that statement is incorrect. the version file is supposed to be checked everytime you run make as it depends on a whole lot of information which cannot be expressed in the makefile. thus it needs to be a PHONY. the latest git tree does the right thing: it doesnt actually replace the file unless it has changed which means nothing else will get regenerated unless the file actually changes. Thanks for following up. The hypothesis (i.e. the version file is supposed to be checked) is well supported by the code; however, the latest git code as it stands neither seems to support the conclusion--namely $(VERSION_FILE) should be in the PHONY target list--nor that it depends on a whole lot of information. The contents of the file are simply: % cat include/version_autogenerated.h #define U_BOOT_VERSION U-Boot 1.3.2 and the only thing $(VERSION_FILE) depends on, implicitly, is the Makefile itself. reading only the output leads to false conclusions such as this. read the actual source code and you'll see that the version string can contain dynamic information via shell scripts which cannot be expressed in make syntax. -mike signature.asc Description: This is a digitally signed message part. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
[U-Boot-Users] PCI express NIC for testing?
Hello, I'm looking for a PCIe card, preferably a NIC, to test PCIe under U-Boot. I have realized, that the E1000 driver of U-Boot does not have support for PCIe cards. It actually lags behind the Linux driver a lot and porting seems to require substantial effort (different SPD EEPROM, PCIe, etc.). Are there other choices? TIA. Wolfgang. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH] Add support for AT91RM9200EK board
Le samedi 12 avril 2008 à 22:06 +0200, Ulf Samuelsson a écrit : Add support for the AT91RM9200EK Board. Hi Ulf, I do have a few issues with your patch. As you have seen, I started adapting the Atmel changes for the AT91SAM boards, and in doing so I tried to implement (well, quite a lot was borrowed from Linux) a common infrastructure for the SAM9 and CAP9 CPUs/boards. I think that the AT91RM9200 could integrate quite well in the existing framework. I haven't done the job myself yet because I have quite limited ressources at the moment (and this is why I chose 'arch-at91sam9' instead of 'arch-at91'...) but since you're contributing a new port it may be the right time to do it. This means for example: - using at91 gpio macros: at91_set_A_periph(), etc. - using the standard CFI flash driver instead of the custom one - maybe others... Ah, and it would be much easier to quote and comment on your patches if they were inlined in your mails. Thanks, Stelian. -- Stelian Pop [EMAIL PROTECTED] - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH] Add support for Atmel flash
Le samedi 12 avril 2008 à 21:03 +0200, Ulf Samuelsson a écrit : Add ID codes for most recent Atmel NOR flashes Is there any added value on using the atmel flash driver instead of the standard CFI driver ? It surely doesn't have any on the SAM9/CAP9 boards, but I'm not sure of the older AT91RM9200. Thanks, -- Stelian Pop [EMAIL PROTECTED] - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH] LM73 bug fix for negative temperatures and cleanup
In message [EMAIL PROTECTED] you wrote: When the LM73 temperature sensor measures a temperature below 0 C, the current driver does not perform sign extension, so the result returned is 512 C too high. This patch fixes the problem, and does general cleanup of the code. Signed-off-by: Larry Johnson [EMAIL PROTECTED] --- drivers/hwmon/lm73.c | 60 +- 1 files changed, 30 insertions(+), 30 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Even if you aren't in doubt, consider the mental welfare of the per- son who has to maintain the code after you, and who will probably put parens in the wrong place. - Larry Wall in the perl man page - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] Pull request u-boot-microblaze.git
In message [EMAIL PROTECTED] you wrote: The following changes since commit aeff6d503b6006573d5c6b04fc658a64bebee5fa: Wolfgang Denk (1): Merge branch 'master' of git://www.denx.de/git/u-boot-fdt are available in the git repository at: . master Michal Simek (13): microblaze: Clean Makefile from ancient emac driver microblaze: remove old setting for emac driver microblaze: ML401 and XUPV2P remove emac and emaclite reference microblaze: add Emaclite ethernet driver microblaze: add Emac ethernet driver microblaze: Add Emac driver to Makefile microblaze: Add Emaclite driver to Makefile microblaze: clean uart16550 and uartlite handling microblaze: ml401 - add ifdef for GPIO microblaze: ml401 fix config file for supporting FDT microblaze: xupv2p fix config file for supporting FDT microblaze: clean microblaze_config.mk microblaze: Sort microblaze boards in MAKEALL script Applied. Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] That unit is a woman. A mass of conflicting impulses. -- Spock and Nomad, The Changeling, stardate 3541.9 - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] Pull request: u-boot-sparc
In message [EMAIL PROTECTED] [EMAIL PROTECTED] you wrote: Please pull from the master branch at git://www.denx.de/git/u-boot-sparc.git I have rebased it agains the mainline this morning. Best regards, Daniel Hellstrom The following changes since commit aeff6d503b6006573d5c6b04fc658a64bebee5fa: Wolfgang Denk (1): Merge branch 'master' of git://www.denx.de/git/u-boot-fdt are available in the git repository at: git://www.denx.de/git/u-boot-sparc.git master Daniel Hellstrom (11): SPARC: Added generic support for SPARC architecture. SPARC: added SPARC board information to the command bdinfo. SPARC: added SPARC support for new uimage in common code. SPARC: Added support for SPARC LEON3 SOC processor. SPARC/LEON3: Added AMBA Bus PlugPlay information print command (ambapp). It can print available cores (type: AHB Master, AHB Slave, APB Slave), their address ranges, IRQ number and version. SPARC: Added support for SPARC LEON2 SOC Processor. SPARC/LEON3: added support for GR-XC3S-1500 board with GRLIB template design. See www.gaisler.com for board information. SPARC/LEON3: added support for Gaisler GRSIM/TSIM2 SPARC/LEON3 simulatorn. See www.gaisler.com for information. SPARC/LEON3: added support for Altera NIOS Development kit (STRATIX II Edition) with GRLIB template design. See www.gaisler.com for information. SPARC/LEON3: added support for GR-CPCI-AX2000 FPGA AX board. The FPGA is exchangeable but a standard LEON3 design is assumed. See www.gaisler.com for information. SPARC/LEON2: added support for Gaisler simulator GRSIM/TSIM for SPARC/LEON2 targets. See www.gaisler.com for information. Applied, thanks. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] Release status - open patches, pull requests etc.
In message [EMAIL PROTECTED] you wrote: I little while ago I submitted patches for two temperature sensors drivers: a bug fix for the LM75 driver, and a bug fix and clean-up for the LM73 driver. The LM75 changes are in the master branch, but the last time I checked the LM73 changes were not there. Thanks for the reminder. Applied now. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Unix is like a toll road on which you have to stop every 50 feet to pay another nickel. But hey! You only feel 5 cents poorer each time. - Larry Wall in [EMAIL PROTECTED] - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [ppc4xx] Please pull git://www.denx.de/git/u-boot-ppc4xx.git
In message [EMAIL PROTECTED] you wrote: git://www.denx.de/git/u-boot-ppc4xx.git master Eugene O'Brien (1): ppc4xx: Fix power mgt definitions for PPC440 Stefan Roese (3): ppc: Revert patch 70431e8a that used _start instead of CFG_MONITOR_BASE ppc4xx: Fix Canyonlands default environment to work with new image support ppc4xx: Update Kilauea defconfig to use device-tree booting as default Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Anarchy may not be the best form of government, but it's better than no government at all. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [ppc4xx] Please pull git://www.denx.de/git/u-boot-ppc4xx.git
In message [EMAIL PROTECTED] you wrote: are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Stefan Roese (2): ppc: Revert patch 70431e8a that used _start instead of CFG_MONITOR_BASE ppc4xx: Fix Canyonlands default environment to work with new image support Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Small is beautiful. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [cfi-flash] Please pull git://www.denx.de/git/u-boot-cfi-flash.git
In message [EMAIL PROTECTED] you wrote: git://www.denx.de/git/u-boot-cfi-flash.git master Guennadi Liakhovetski (1): cfi_flash: Support buffered writes on non-standard Spansion NOR flash Applied. Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] There are no data that cannot be plotted on a straight line if the axis are chosen correctly. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] Pull request u-boot-microblaze.git
In message [EMAIL PROTECTED] you wrote: Could you look at it? Sure. Done. Sorry for the delay. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Romulan women are not like Vulcan females. We are not dedicated to pure logic and the sterility of non-emotion. -- Romulan Commander, The Enterprise Incident, stardate 5027.3 - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] Please pull u-boot-mpc85xx.git
In message [EMAIL PROTECTED] you wrote: git://www.denx.de/git/u-boot-mpc85xx.git master Kumar Gala (2): 85xx: Use SVR_SOC_VER instead of SVR_VER 85xx: Fix detection of MP cpu spin up Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Never worry about theory as long as the machinery does what it's supposed to do. - R. A. Heinlein - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] Please pull u-boot-mpc83xx.git - small fixes
In message [EMAIL PROTECTED] you wrote: git://www.denx.de/git/u-boot-mpc83xx.git Dave Liu (2): mpc83xx: Fix the SATA clock setting of 837x targets mpc83xx: Fix the bug of serdes initialization Jean-Christophe PLAGNIOL-VILLARD (1): mpc837xerdb: Fix warning: implicit declaration of function 'fdt_fixup_dr_usb' Lee Nipper (1): mpc83xx: Update DIMM data bus width test to support 40-bit width Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Every time history repeats itself the price goes up. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] Pull request u-boot-microblaze.git
Could you look at it? Sure. Done. Sorry for the delay. Best regards, Wolfgang Denk No worries. Thanks, Michal Simek www.monstr.eu - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] Loading a kernel on MX31ADS using U-boot
Hi Guennadi, Now I generated uImage correctly and it boots fine. Have you ever tried to boot U-boot from NAND (K9K1G08U0B) on the i.MX31ADS? Thanks, Fabio Estevam --- Guennadi Liakhovetski [EMAIL PROTECTED] wrote: On Sat, 12 Apr 2008, Fabio Estevam wrote: I tried to load the kernel at 0x8080, but this is what I get: Hit any key to stop autoboot: 0 = run bootargs_base bootargs_nfs = tftp 8080 uImage TFTP from server 10.29.244.101; our IP address is 10.29.244.102 Filename 'uImage'. Load address: 0x8080 Loading: # ### done Bytes transferred = 1339152 (146f10 hex) = bootm ## Booting image at 8080 ... Image Name: Linux-2.6.22 Image Type: ARM Linux Kernel Image (uncompressed) Data Size:1339088 Bytes = 1.3 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux. ... done, booting the kernel. (then it freezes) I generated uImage manually by doing: ./mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n 'Linux-2.6.22' -d zImage uImage Used 0x80008000 to match the value of ZRELADDR in /arch/arm/mach-mx3/Makefile.boot from Freescale Linux BSP. I'll just assume your uImage is correct - although I don't understand why you don't just do make uImage. Apart from that, verify that your console= command line parameter is correct, your machine ID matches, and that you don't have a jtag debugger like bdi2000 connected when you're trying to boot. Thanks Guennadi --- Guennadi Liakhovetski - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] Loading a kernel on MX31ADS using U-boot
On Sun, 13 Apr 2008, Fabio Estevam wrote: Now I generated uImage correctly and it boots fine. Good Have you ever tried to boot U-boot from NAND (K9K1G08U0B) on the i.MX31ADS? No, I have not. Thanks Guennadi --- Guennadi Liakhovetski - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [patch] disable caches before booting an app for Blackfin apps
In message [EMAIL PROTECTED] you wrote: It isn't generally save to execute applications outside of U-Boot with caches enabled due to the way the Blackfin processor handles caches (requires software assistance). This patch disables caches before booting an ELF or just booting raw code. The previous discussion on the patch was that we wanted to use weaks instead, but that proved to not be feasible when multiple symbols are involved, which puts us back at the ifdef solution. I've minimized the ugliness by moving the setup step outside of the main function. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] Applied. Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] One does not thank logic. -- Sarek, Journey to Babel, stardate 3842.4 - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [patch] allow ports to override bootelf behavior
In message [EMAIL PROTECTED] you wrote: This splits the dcache logic out of do_bootelf into a dedicated weak function called do_bootelf_exec. This way ports can control the behavior before executing an ELF image however they like. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- diff --git a/common/cmd_elf.c b/common/cmd_elf.c This doesn't fit current code any moe. Please rebase and resubmit. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Even if you aren't in doubt, consider the mental welfare of the per- son who has to maintain the code after you, and who will probably put parens in the wrong place. - Larry Wall in the perl man page - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [patch] allow ports to override go behavior
In message [EMAIL PROTECTED] you wrote: This splits the arch-specific logic out of do_go() and into a dedicated weak function called do_go_exec() that lives in cpu directories. This will need review from i386/nios people to make sure i didnt break them. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] This doesn't fit current code any more. Please rebase and resubmit. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Even if you aren't in doubt, consider the mental welfare of the per- son who has to maintain the code after you, and who will probably put parens in the wrong place. - Larry Wall in the perl man page - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH] add support for Toradex Colibri module
In message [EMAIL PROTECTED] you wrote: Ok, done. New, refurbished patch is attached. Please don't attach, but include inline. Ideally, use git-send-email to send the patch. Signed-off-by line missing. Please rebase and resubmit. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] The night sky over the planet Krikkit is the least interesting sight in the entire Universe. - Douglas Adams _Life, the Universe, and Everything_ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH 1/2] Don't panic if a controller driver does ecc its own way.
In message [EMAIL PROTECTED] you wrote: Some hardware, such as the enhanced local bus controller used on some mpc83xx chips, does ecc transparently when reading and writing data, rather than providing a generic calculate/correct mechanism that can be exported to the nand subsystem. The subsystem should not BUG() when calculate, correct, or hwctl are missing, if the methods that call them have been overridden. Signed-off-by: Scott Wood [EMAIL PROTECTED] This should go through the 83xx custodian, but I haven't seen this yet? Anyway, it does not apply any more: Applying Don't panic if a controller driver does ecc its own way. error: patch failed: drivers/mtd/nand/nand_base.c:2593 error: drivers/mtd/nand/nand_base.c: patch does not apply fatal: sha1 information is lacking or useless (drivers/mtd/nand/nand_base.c). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] When all is said and done, more is said than done. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [patch] allow ports to override go behavior
In message [EMAIL PROTECTED] you wrote: blah, and without fail, i swapped nios/i386 --- This splits the arch-specific logic out of do_go() and into a dedicated weak function called do_go_exec() that lives in cpu directories. This will need review from i386/nios people to make sure i didnt break them. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- diff --git a/common/cmd_boot.c b/common/cmd_boot.c This doesn't fit current code any more. Please rebase and resubmit. Please make sure to use only ONE --- line, and place comments that are supposed NOT to go into the commit message BELOW that line; you got this swapped here. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] A supercomputer is a machine that runs an endless loop in 2 seconds. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH v2 1/7] Separate omap24xx specific code from arm1136
In message [EMAIL PROTECTED] you wrote: From: Sascha Hauer [EMAIL PROTECTED] Move omap24xx code to cpu/arm1136/omap24xx, rename include/asm-arm/arch-arm= 1136 to cpu/arm1136/omap24xx. Signed-off-by: Sascha Hauer [EMAIL PROTECTED] Signed-off-by: Guennadi Liakhovetski [EMAIL PROTECTED] Pulled in directly. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] A wise person makes his own decisions, a weak one obeys public opinion. -- Chinese proverb - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH v2 6/7] Phytec Phycore-i.MX31 support
In message [EMAIL PROTECTED] you wrote: From: Sascha Hauer [EMAIL PROTECTED] This patch adds support for the Phytec Phycore-i.MX31 board Signed-off-by: Sascha Hauer [EMAIL PROTECTED] Signed-off-by: Guennadi Liakhovetski [EMAIL PROTECTED] Pulled in directly, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Of all possible committee reactions to any given agenda item, the reaction that will occur is the one which will liberate the greatest amount of hot air.-- Thomas L. Martin - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH] Fix warnings introduced by I2C bus speed setting patch
In message [EMAIL PROTECTED] you wrote: Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- drivers/i2c/fsl_i2c.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] It is practically impossible to teach good programming style to stu- dents that have had prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. - Dijkstra - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH 1/3] doc: english polishing for README.sata
In message [EMAIL PROTECTED] you wrote: according to gvb's suggestion, polishing for the doc. Signed-off-by: Jerry Van Baren [EMAIL PROTECTED] Signed-off-by: Dave Liu [EMAIL PROTECTED] --- doc/README.sata | 24 1 files changed, 12 insertions(+), 12 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] As the system comes up, the component builders will from time to time appear, bearing hot new versions of their pieces -- faster, smaller, more complete, or putatively less buggy. The replacement of a working component by a new version requires the same systematic testing pro- cedure that adding a new component does, although it should require less time, for more complete and efficient test cases will usually be available. - Frederick Brooks Jr., The Mythical Man Month - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH v2 4/7] add SMSC LAN9x1x Network driver
In message [EMAIL PROTECTED] you wrote: On Thu, Mar 27, 2008 at 02:23:44PM -0400, Nick Droogh wrote: Hi Everyone, Would this driver work with the LAN9218 chip as well? The chips in this family differ in that some of them have an integrated phy and others not. Some have a 16bit bus interface and others have a 32bit bus interface. So yes, the driver should work with the 9218. Ben, it seems discussion stopped here without a decision or so. What's the state of this driver, then? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] If A equals success, then the formula is A = X + Y + Z. X is work. Y is play. Z is keep your mouth shut. - Albert Einstein - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH v2 5/7] mx31 litekit support
In message [EMAIL PROTECTED] you wrote: From: Sascha Hauer [EMAIL PROTECTED] This patch adds support for the mx31 litekit board Signed-off-by: Sascha Hauer [EMAIL PROTECTED] Signed-off-by: Guennadi Liakhovetski [EMAIL PROTECTED] Pulled in directly, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] They weren't that important. They were merely at the top. The people who really run organizations are usually found several levels down, where it's still possible to get things done. - Terry Pratchett, _Small Gods_ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH] Altera Stratix II support
In message [EMAIL PROTECTED] you wrote: From: eran liberty [EMAIL PROTECTED] Adds Support for Altera's Stratix II. Within your board specific init file you will have to call 1. fpga_init (/* relocated code offset. usually = */ gd-reloc_off); 2. fpga_add (fpga_altera, (Altera_desc*)altera_desc); Altera_desc* contines (for example): { Altera_StratixII, /* part type */ passive_serial,/* interface type */ 1, /* bytes of data part can accept */ (void *)(funcs), /* interface function table */ 0L,/* base interface address */ 0 /* implementation specific cookie */ } funcs is the interface. It is of type altera_board_specific_func. It looks like this: altera_board_specific_func func = { pre_fn, config_fn, status_fn, done_fn, clk_fn, data_fn, abort_fn, post_fn, }; you will have to implement these functions, which is usually bit banging some gpio. Signed-off-by: Eran Liberty [EMAIL PROTECTED] Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] While money can't buy happiness, it certainly lets you choose your own form of misery. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH v2 2/7] core support for Freescale mx31
In message [EMAIL PROTECTED] you wrote: From: Sascha Hauer [EMAIL PROTECTED] This patch adds the core support for Freescale mx31 Signed-off-by: Sascha Hauer [EMAIL PROTECTED] Signed-off-by: Guennadi Liakhovetski [EMAIL PROTECTED] Pulled in directly, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Bureaucracy is the enemy of innovation. - Mark Shepherd, former President and CEO of Texas Instruments - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH v2 3/7] add an i2c driver for mx31
In message [EMAIL PROTECTED] you wrote: From: Sascha Hauer [EMAIL PROTECTED] This patch adds an i2c driver for Freescale i.MX processors Signed-off-by: Sascha Hauer [EMAIL PROTECTED] Signed-off-by: Guennadi Liakhovetski [EMAIL PROTECTED] Pulled in directly, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] We Americans, we're a simple people... but piss us off, and we'll bomb your cities. - Robin Williams, _Good Morning Vietnam_ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH 2/3] drivers: clean up the ata_piix.h
In message [EMAIL PROTECTED] you wrote: Signed-off-by: Dave Liu [EMAIL PROTECTED] --- drivers/block/ata_piix.h | 26 +++--- 1 files changed, 15 insertions(+), 11 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] The only person who always got his work done by Friday was Robinson Crusoe. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
[U-Boot-Users] u-boot wiki and arch-specific details
we maintain a Blackfin-specific u-boot wiki that goes into quite a bit of detail, some of which is duplicated with the main u-boot wiki. how do people feel about extending the u-boot wiki to allow for arch-specific details ? -mike signature.asc Description: This is a digitally signed message part. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
[U-Boot-Users] [PATCH] allow ports to override go behavior
Split the arch-specific logic out of the common go code and into a dedicated weak function called do_go_exec() that lives in cpu directories. This will need review from i386/nios people to make sure I didn't break them. --- common/cmd_boot.c | 33 + lib_i386/board.c |8 lib_nios/board.c | 10 ++ 3 files changed, 23 insertions(+), 28 deletions(-) diff --git a/common/cmd_boot.c b/common/cmd_boot.c index 9d4f026..d83f5af 100644 --- a/common/cmd_boot.c +++ b/common/cmd_boot.c @@ -28,25 +28,11 @@ #include command.h #include net.h -#if defined(CONFIG_I386) -DECLARE_GLOBAL_DATA_PTR; -#endif - -static inline void go_setup(int argc, char *argv[]) +/* Allow ports to override the default behavior */ +__attribute__((weak)) +unsigned long do_go_exec (ulong (*entry)(int, char *[]), int argc, char *argv[]) { -#if defined(CONFIG_I386) - /* -* x86 does not use a dedicated register to pass the pointer -* to the global_data -*/ - argv[0] = (char *)gd; - -#elif defined(CONFIG_BLACKFIN) - if (dcache_status ()) - dcache_disable (); - if (icache_status ()) - icache_disable (); -#endif + return entry (argc, argv); } int do_go (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) @@ -63,20 +49,11 @@ int do_go (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) printf (## Starting application at 0x%08lX ...\n, addr); - go_setup(argc, argv); - -#if defined(CONFIG_NIOS) - /* -* Nios function pointers are address 1 -*/ - addr = 1; -#endif - /* * pass address parameter as argv[0] (aka command name), * and all remaining args */ - rc = ((ulong (*)(int, char *[]))addr) (--argc, argv[1]); + rc = do_go_exec ((void *)addr, argc - 1, argv + 1); if (rc != 0) rcode = 1; printf (## Application terminated, rc = 0x%lX\n, rc); diff --git a/lib_i386/board.c b/lib_i386/board.c index 47fbab4..22191e6 100644 --- a/lib_i386/board.c +++ b/lib_i386/board.c @@ -421,3 +421,11 @@ void hang (void) puts (### ERROR ### Please RESET the board ###\n); for (;;); } + +unsigned long do_go_exec (ulong (*entry)(int, char *[]), int argc, char *argv[]) +{ + /* +* Nios function pointers are address 1 +*/ + return (entry 1) (argc, argv); +} diff --git a/lib_nios/board.c b/lib_nios/board.c index 0a0d2e3..cdaf753 100644 --- a/lib_nios/board.c +++ b/lib_nios/board.c @@ -190,3 +190,13 @@ void hang (void) puts(### ERROR ### Please reset board ###\n); for (;;); } + +unsigned long do_go_exec (ulong (*entry)(int, char *[]), int argc, char *argv[]) +{ + /* +* x86 does not use a dedicated register to pass the pointer +* to the global_data +*/ + argv[-1] = (char *)gd; + return entry (argc, argv); +} -- 1.5.5 - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
[U-Boot-Users] [PATCH] allow ports to override bootelf behavior
Change the bootelf setup function into a dedicated weak function called do_bootelf_exec. This way ports can control the behavior however they like before/after calling the ELF entry point. --- common/cmd_elf.c | 33 + 1 files changed, 21 insertions(+), 12 deletions(-) diff --git a/common/cmd_elf.c b/common/cmd_elf.c index 4683554..62e5e76 100644 --- a/common/cmd_elf.c +++ b/common/cmd_elf.c @@ -27,23 +27,34 @@ DECLARE_GLOBAL_DATA_PTR; #define MAX(a,b) ((a) (b) ? (a) : (b)) #endif -static inline void bootelf_setup(int argc, char *argv[]) +int valid_elf_image (unsigned long addr); +unsigned long load_elf_image (unsigned long addr); + +/* Allow ports to override the default behavior */ +__attribute__((weak)) +unsigned long do_bootelf_exec (ulong (*entry)(int, char *[]), int argc, char *argv[]) { + unsigned long ret; + /* * QNX images require the data cache is disabled. * Data cache is already flushed, so just turn it off. */ - if (dcache_status ()) + int dcache = dcache_status (); + if (dcache) dcache_disable (); -#ifdef CONFIG_BLACKFIN - if (icache_status ()) - icache_disable (); -#endif -} + /* +* pass address parameter as argv[0] (aka command name), +* and all remaining args +*/ + ret = entry (argc, argv); -int valid_elf_image (unsigned long addr); -unsigned long load_elf_image (unsigned long addr); + if (dcache) + dcache_enable (); + + return ret; +} /* == * Interpreter command to boot an arbitrary ELF image from memory. @@ -68,13 +79,11 @@ int do_bootelf (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) printf (## Starting application at 0x%08lx ...\n, addr); - bootelf_setup(argc, argv); - /* * pass address parameter as argv[0] (aka command name), * and all remaining args */ - rc = ((ulong (*)(int, char *[])) addr) (--argc, argv[1]); + rc = do_bootelf_exec ((void *)addr, argc - 1, argv + 1); if (rc != 0) rcode = 1; -- 1.5.5 - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
[U-Boot-Users] s3c2410 no success (my fault)
I just don't know enough about how u-boot and C work to get u-boot 1.3.x working on my s3c2410 board. I managed to get 1.2.0 going with the nand commands added (not mtdpart though) which should be enough to get linux booted (though I'm not entirely sure the nand commands are actually working - experimenting with jffs2 now). If anyone is working on s3c stuff and wants me to try running their versions I'd be happy to help. Machine config is: AM29LV800 (1mb) K9F1208 (64mb total) 64MB ram SD Card Ethernet (cs8900) USB 800x480 LCD (driven by s3c2410) touchscreen (driven by s3c2410) I have no way to switch between NOR and NAND boot though so u-boot has to start in NOR unfortunately (might be why I can't get 1.3.x to work?). I have a wiggler clone but I'm still trying to figure out how use openocd to debug with. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH v2 4/7] add SMSC LAN9x1x Network driver
On Sun, Apr 13, 2008 at 6:01 PM, Wolfgang Denk [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED] you wrote: On Thu, Mar 27, 2008 at 02:23:44PM -0400, Nick Droogh wrote: Hi Everyone, Would this driver work with the LAN9218 chip as well? The chips in this family differ in that some of them have an integrated phy and others not. Some have a 16bit bus interface and others have a 32bit bus interface. So yes, the driver should work with the 9218. Ben, it seems discussion stopped here without a decision or so. What's the state of this driver, then? I'm so sorry for non-responsiveness on this. I hate to make excuses but I'm in the midst of moving my family across the country and um, some things have slipped through the cracks. I've pulled Guennadi's latest submission for this driver into my local copy, but haven't pushed it to the net repo yet. I have a few hours available tomorrow where I'll finish this up and also look more closely into JCPV's regression fix for the ne2000-related build failure. regards, Ben - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH] Add support for setting the I2C bus speed in fsl_i2c.c
In message [EMAIL PROTECTED] you wrote: This patch should resolve the compilation issues on 547x/548x cpus. Unfortunately it's missing your Signed-off-by: line. Also, please post patches inline rather than attachments. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] How come everyone's going so slow if it's called rush hour? - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [RFC] Rename include/md5.h to u-boot-md5.h
In message [EMAIL PROTECTED] you wrote: Some systems have md5.h installed in /usr/include/. This isn't the desired file (we want the one in include/md5.h). This will avoid the conflict. This fixes the host tools building problem Signed-off-by: Andy Fleming [EMAIL PROTECTED] --- This fixes the problem for me, at least... common/image.c |4 ++-- include/u-boot-md5.h | 23 +++ lib_generic/md5.c|2 +- 3 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 include/u-boot-md5.h Applied with slight modification: I decided to use a separate directory, i. e. include/u-boot/md5.h Thanks a lot! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] The rule on staying alive as a program manager is to give 'em a num- ber or give 'em a date, but never give 'em both at once. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH] Add support for setting the I2C bus speed in fsl_i2c.c
In message [EMAIL PROTECTED] you wrote: Yes. Thanks. ... Then how about doing this: --- a/include/asm-m68k/global_data.h +++ b/include/asm-m68k/global_data.h @@ -47,6 +47,9 @@ typedef struct global_data { unsigned long vco_clk; unsigned long flb_clk; #endif +#ifdef CONFIG_FSL_I2C + u32 i2c1_clk; +#endif unsigned long ram_size; /* RAM size */ unsigned long reloc_off; /* Relocation Offset */ unsigned long reset_status; /* reset status register at boot -- Timur Tabi So will somebody submit a proper patch with usable commit message and proper Signed-off-by: line, please? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] The connection between the language in which we think/program and the problems and solutions we can imagine is very close. For this reason restricting language features with the intent of eliminating pro- grammer errors is at best dangerous. - Bjarne Stroustrup in The C++ Programming Language - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH 04/13] microblaze: add Emaclite ethernet driver
In message [EMAIL PROTECTED] you wrote: From: Michal Simek [EMAIL PROTECTED] Signed-off-by: Michal Simek [EMAIL PROTECTED] I see you sneaked this in via your microblaze custodian repo. This was a Bad Thing, and I ask you not to do such things. You were supposed to run this through the Net custodian. Ditto for [PATCH 05/13] microblaze: add Emac ethernet driver Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] You Don't Have To Be 'Damned' To Work Here, But It Helps!!! - Terry Pratchett, _Eric_ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH] Move init_sequence table into code.
In message [EMAIL PROTECTED] you wrote: Global variables are not ideal before relocation to RAM. Byt they don't cause any real problem either, or am I missing something? I tend to reject the patch. -init_fnc_t *init_sequence[] = { The original idea of having such a list of funtion pointers which just get executed one after another was to be able to wrap this into some #ifndef CONFIG_INIT_SEQUENCE and use this to allow for board- specific init sequences by just adding a #define with the needed list of functions to the board config files. Even though this feature never was used so far, I still hesitate to throw it away - at least as long as I don't see benefits for the new solution. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Never worry about theory as long as the machinery does what it's supposed to do. - R. A. Heinlein - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH] Fix 8xx build to conditionally compile fdt.o
In message [EMAIL PROTECTED] you wrote: Change to COBJS-y method so that the fdt.o library can be properly conditionally compiled. Without this change, the mpc8xx boards that don't use CONFIG_OF_LIBFDT still build the fdt.o, causing code bloat and compile warnings. Signed-off-by: Gerald Van Baren [EMAIL PROTECTED] Unfortunately this doesn't apply any more. Could you please rebase and resubmit? Thanks in advance. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Thought for the day: What if there were no hypothetical situations? - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH] Change env_get_char from a global function ptr to a function.
In message [EMAIL PROTECTED]@transmode.se you wrote: Did you try this one or did du skip it this release? Unfortunately this doesn't apply any more: Applying Change env_get_char from a global function ptr to a function. error: patch failed: common/cmd_bootm.c:1150 error: common/cmd_bootm.c: patch does not apply error: patch failed: common/fdt_support.c:225 error: common/fdt_support.c: patch does not apply error: patch failed: common/ft_build.c:396 error: common/ft_build.c: patch does not apply Using index info to reconstruct a base tree... Falling back to patching base and 3-way merge... Auto-merged common/cmd_bootm.c CONFLICT (content): Merge conflict in common/cmd_bootm.c Auto-merged common/cmd_nvedit.c Auto-merged common/fdt_support.c CONFLICT (content): Merge conflict in common/fdt_support.c Auto-merged common/ft_build.c CONFLICT (content): Merge conflict in common/ft_build.c Auto-merged include/common.h Failed to merge in the changes. Patch failed at 0001. Could you please update and resubmit? Thanks in advance. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] You don't have to worry about me. I might have been born yesterday... but I stayed up all night. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH v2 4/7] add SMSC LAN9x1x Network driver
On Sunday 13 April 2008, Ben Warren wrote: On Sun, Apr 13, 2008 at 6:01 PM, Wolfgang Denk [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED] you wrote: On Thu, Mar 27, 2008 at 02:23:44PM -0400, Nick Droogh wrote: Hi Everyone, Would this driver work with the LAN9218 chip as well? The chips in this family differ in that some of them have an integrated phy and others not. Some have a 16bit bus interface and others have a 32bit bus interface. So yes, the driver should work with the 9218. Ben, it seems discussion stopped here without a decision or so. What's the state of this driver, then? I'm so sorry for non-responsiveness on this. I hate to make excuses but I'm in the midst of moving my family across the country and um, some things have slipped through the cracks. I've pulled Guennadi's latest submission for this driver into my local copy, but haven't pushed it to the net repo yet. I have a few hours available tomorrow where I'll finish this up and also look more closely into JCPV's regression fix for the ne2000-related build failure. i'm guessing the eeprom programmer i posted wont be part of this. should i just wait for everything to hit mainline and then post a patch to add it then ? -mike signature.asc Description: This is a digitally signed message part. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH v2 4/7] add SMSC LAN9x1x Network driver
On Sun, Apr 13, 2008 at 9:22 PM, Mike Frysinger [EMAIL PROTECTED] wrote: On Sunday 13 April 2008, Ben Warren wrote: On Sun, Apr 13, 2008 at 6:01 PM, Wolfgang Denk [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED] you wrote: On Thu, Mar 27, 2008 at 02:23:44PM -0400, Nick Droogh wrote: Hi Everyone, Would this driver work with the LAN9218 chip as well? The chips in this family differ in that some of them have an integrated phy and others not. Some have a 16bit bus interface and others have a 32bit bus interface. So yes, the driver should work with the 9218. Ben, it seems discussion stopped here without a decision or so. What's the state of this driver, then? I'm so sorry for non-responsiveness on this. I hate to make excuses but I'm in the midst of moving my family across the country and um, some things have slipped through the cracks. I've pulled Guennadi's latest submission for this driver into my local copy, but haven't pushed it to the net repo yet. I have a few hours available tomorrow where I'll finish this up and also look more closely into JCPV's regression fix for the ne2000-related build failure. i'm guessing the eeprom programmer i posted wont be part of this. should i just wait for everything to hit mainline and then post a patch to add it then ? -mike Right - this particular one has been given the OK as a bug fix for 1.3.3. The EEPROM programmer will make it into the next release. regards, Ben - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] [PATCH] Fix 8xx build to conditionally compile fdt.o
Wolfgang Denk wrote: In message [EMAIL PROTECTED] you wrote: Change to COBJS-y method so that the fdt.o library can be properly conditionally compiled. Without this change, the mpc8xx boards that don't use CONFIG_OF_LIBFDT still build the fdt.o, causing code bloat and compile warnings. Signed-off-by: Gerald Van Baren [EMAIL PROTECTED] Unfortunately this doesn't apply any more. Could you please rebase and resubmit? Thanks in advance. Best regards, Wolfgang Denk Hi Wolfgang, I abandoned this patch, Jean-Christoph wrote a better version that I picked up and *has been already applied* to u-boot master repo by way of the u-boot-fdt repo. Reference: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/39324 Thanks, gvb - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users