Re: [U-Boot] [RFC/PATCH 1/2] Add menu Framework
On Saturday 13 June 2009 15:13:01 Jean-Christophe PLAGNIOL-VILLARD wrote: Introduce a menu framework that allow us to create list menu to simplify u-boot and make it more convivial for the end-user. This kind of menu is very usefull when you do not have a keyboard or a serial console attached to your board to allow you to interract with u-boot For the develloper part, The framework introduce two API 1) C that allow you to create menu, submenu, entry and complex menu action 2) Command that allow you as the C API to create menu, submenu, entry and complex menu action but this time the actions will be store in a env var and then be evaluated and excecuted. so you could create a multiple choice menu without writing a single line of C code ? that would certainly be preferred as writing C code seems error prone and silly for a static menu setup. could you give an example of using the menu command ? e.g. openmoko presents a menu with a few options: - boot - set console to usb - set console to serial - reset so using only the menu command, how could you achieve the same thing ? + INIT_LIST_HEAD((menus.list)); you use (...) in a lot of places where the parenthesis are unnecessary + if (m-name) + free(m-name); + if (m-display) + free(m-display); free(NULL) works fine, so the if() is unnecessary +int menu_add(struct menu *m) +{ + if (!m || !m-name) + return -1; would all of these sanity checks make more sense as debug-oly checks ? or does the code rely on these in the normal running of things ? + if(strcmp(m-name, name) == 0) should do a search to make sure you're using if () and not if() and similar + do { + ch = getc(); + switch(ch) { + case 0x1b: + escape = 1; + break; + case '[': + if (escape) + break; + case 'A': /* up */ + escape = 0; ... + case 'B': /* down */ + escape = 0; ... i'm guessing you're parsing arrow keys here (comment should say up key rather than just up). but if you get just a '[' or 'A' or 'B', then this doesnt work right. you probably want something like: switch (ch) { case 0x1b: escape = 1; break; case '[': if (escape == 1) escape = 2; break; case 'A': if (escape != 2) break; ... then again, this kind of key parsing is duplicated in quite a few places in u- boot. we really should have this centralized so people can say getkey() and have it return cooked values. +int menu_action_exit(struct menu *m, struct menu_entry *me) +{ + return 0; +} what's the point ? --- a/include/console.h +++ b/include/console.h +#define printf_reverse(fmt,args...) printf(\e[7m fmt \e[m,##args) +#define puts_reverse(fmt)puts(\e[7m fmt \e[m) +#define gotoXY(row, col) printf(\e[%d;%dH, row, col) +#define clear() puts(\e[2J) i'm guessing this works with serial consoles and linux terminals. how does this work with framebuffer consoles ? (the answer may be obvious as i'm not familiar with the framebuffer console layers that may exist in u-boot) -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH v4 2/3] net: Add Marvell Kirkwood gigabit ethernet driver
Prafulla Wadaskar wrote: This patch adds a egiga driver for the Marvell Kirkwood SoC's. Contributors: Yotam Admon yo...@marvell.com Michael Blostein michae...@marvell.com Reviewed-by: Ronen Shitrit rshit...@marvell.com Acked-by: Stefan Rose s...@denx.de Signed-off-by: Prafulla Wadaskar prafu...@marvell.com --- Applied to net repo. Thanks! Ben ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] A VLAN tagged DHCP request/discover is 4 bytes short
Norbert van Bolhuis wrote: The problem is that BOOTP_SIZE uses ETHER_HDR_SIZE which is 14 bytes. If sending a VLAN tagged frame (when env variable vlan is set) this should be VLAN_ETHER_HDR_SIZE=18 which is what NetSetEther returns. diff --git a/net/bootp.c b/net/bootp.c index 3dea70a..77057c6 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -687,7 +687,7 @@ BootpRequest (void) * Calculate proper packet lengths taking into account the * variable size of the options field */ - pktlen = BOOTP_SIZE - sizeof(bp-bp_vend) + ext_len; + pktlen = ((int)(pkt-NetTxPacket)) + BOOTP_HDR_SIZE - sizeof(bp-bp_vend) + ext_len; iplen = BOOTP_HDR_SIZE - sizeof(bp-bp_vend) + ext_len; NetSetIP(iphdr, 0xL, PORT_BOOTPS, PORT_BOOTPC, iplen); NetSetTimeout(SELECT_TIMEOUT, BootpTimeout); @@ -860,7 +860,7 @@ static void DhcpSendRequestPkt(Bootp_t *bp_offer) NetCopyIP(OfferedIP, bp_offer-bp_yiaddr); extlen = DhcpExtended((u8 *)bp-bp_vend, DHCP_REQUEST, NetDHCPServerIP, OfferedIP); - pktlen = BOOTP_SIZE - sizeof(bp-bp_vend) + extlen; + pktlen = ((int)(pkt-NetTxPacket)) + BOOTP_HDR_SIZE - sizeof(bp-bp_vend) + extlen; iplen = BOOTP_HDR_SIZE - sizeof(bp-bp_vend) + extlen; NetSetIP(iphdr, 0xL, PORT_BOOTPS, PORT_BOOTPC, iplen); Applied to net repo. thanks, Ben ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] Pull request - net
Wolfgang, The following changes since commit 31f30c9eb60d9ab0bd702e31f66345f99b34bdc6: Mike Frysinger (1): add %.c-%.i and %.c-%.s rules are available in the git repository at: git://git.denx.de/u-boot-net master Ben Warren (4): Moved Davinci Ethernet driver to drivers/net Initial cleanup of Davinci Ethernet driver Switched davinci_emac Ethernet driver to use newer API Remove support for non-CONFIG_NET_MULTI on PPC4xx EMAC Norbert van Bolhuis (1): A VLAN tagged DHCP request/discover is 4 bytes short Prafulla Wadaskar (2): Marvell MV88E61XX Switch Driver support net: Add Marvell Kirkwood gigabit ethernet driver Remy Bohmer (1): Convert DM9000 driver for CONFIG_NET_MULTI Richard Retanubun (1): Subject: [PATCH] [repost] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter. Zach LeRoy (1): tsec: Add support for BCM5482S PHY s-paul...@ti.com (1): DaVinci Network Driver Updates board/atmel/at91sam9261ek/at91sam9261ek.c |7 + board/davinci/common/misc.h|1 - board/davinci/dvevm/dvevm.c|3 - board/davinci/schmoogie/schmoogie.c|3 - board/davinci/sffsdr/sffsdr.c |3 - board/davinci/sonata/sonata.c |3 - board/freescale/m5253demo/m5253demo.c |9 + board/scb9328/scb9328.c|8 + board/trizepsiv/conxs.c|8 + cpu/arm926ejs/davinci/Makefile |2 +- cpu/arm926ejs/davinci/cpu.c| 12 + drivers/net/4xx_enet.c | 54 -- drivers/net/Makefile |2 + .../davinci/ether.c = drivers/net/davinci_emac.c | 214 +++ drivers/net/dm9000x.c | 44 +- drivers/net/kirkwood_egiga.c | 664 drivers/net/kirkwood_egiga.h | 503 +++ drivers/net/mcfmii.c |2 +- drivers/net/phy/Makefile |1 + drivers/net/phy/mv88e61xx.c| 413 drivers/net/phy/mv88e61xx.h| 62 ++ drivers/net/tsec.c | 41 ++ include/asm-arm/arch-davinci/emac_defs.h | 32 +- include/configs/M5253DEMO.h|1 + include/configs/at91sam9261ek.h|1 + include/configs/davinci_dvevm.h|1 + include/configs/davinci_schmoogie.h|1 + include/configs/davinci_sffsdr.h |1 + include/configs/davinci_sonata.h |1 + include/configs/scb9328.h |1 + include/configs/trizepsiv.h|1 + include/netdev.h | 50 ++ include/tsec.h |2 + net/bootp.c|4 +- net/eth.c |8 - 35 files changed, 1944 insertions(+), 219 deletions(-) rename cpu/arm926ejs/davinci/ether.c = drivers/net/davinci_emac.c (93%) create mode 100644 drivers/net/kirkwood_egiga.c create mode 100644 drivers/net/kirkwood_egiga.h create mode 100644 drivers/net/phy/mv88e61xx.c create mode 100644 drivers/net/phy/mv88e61xx.h ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 0/2] new video driver and board update
Dear Wolfgang, Wolfgang Denk wrote: In message gsna1g$2t...@ger.gmane.org Jens Scharsig wrote: the following patch set introduced a new common video driver (patch part 1) and update current boards (EB+MCF-EV123) to use it (patch part 2). this driver is also used for upcomming new boards with vcxk hardware. Is it correct to assume that these patches are on your list for this release? The merge window just openend :-) Yes, these patches are on my TODO list for this release. Best regards, Anatolij ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [RFC/PATCH 1/2] Add menu Framework
On 02:04 Mon 15 Jun , Mike Frysinger wrote: On Saturday 13 June 2009 15:13:01 Jean-Christophe PLAGNIOL-VILLARD wrote: Introduce a menu framework that allow us to create list menu to simplify u-boot and make it more convivial for the end-user. This kind of menu is very usefull when you do not have a keyboard or a serial console attached to your board to allow you to interract with u-boot For the develloper part, The framework introduce two API 1) C that allow you to create menu, submenu, entry and complex menu action 2) Command that allow you as the C API to create menu, submenu, entry and complex menu action but this time the actions will be store in a env var and then be evaluated and excecuted. so you could create a multiple choice menu without writing a single line of C code ? that would certainly be preferred as writing C code seems error prone and silly for a static menu setup. yes you can create menu without a C line this was mandatory for this framework when he was created I've also some generic menu implemented to manage board settings as example ethernet setting I'll finish to merge them mainline and I public them could you give an example of using the menu command ? e.g. openmoko presents a menu with a few options: - boot - set console to usb - set console to serial - reset so using only the menu command, how could you achieve the same thing ? yes and I'll post an example + INIT_LIST_HEAD((menus.list)); you use (...) in a lot of places where the parenthesis are unnecessary + if (m-name) + free(m-name); + if (m-display) + free(m-display); free(NULL) works fine, so the if() is unnecessary ok +int menu_add(struct menu *m) +{ + if (!m || !m-name) + return -1; would all of these sanity checks make more sense as debug-oly checks ? or does the code rely on these in the normal running of things ? it prevent that you add a menu when you do not have enough memmory reverse for the malloc + if(strcmp(m-name, name) == 0) should do a search to make sure you're using if () and not if() and similar I known I've not finish to clean it, the original version does not follow Linux coding style + do { + ch = getc(); + switch(ch) { + case 0x1b: + escape = 1; + break; + case '[': + if (escape) + break; + case 'A': /* up */ + escape = 0; ... + case 'B': /* down */ + escape = 0; ... i'm guessing you're parsing arrow keys here (comment should say up key rather than just up). but if you get just a '[' or 'A' or 'B', then this doesnt work right. you probably want something like: switch (ch) { case 0x1b: escape = 1; break; case '[': if (escape == 1) escape = 2; break; case 'A': if (escape != 2) break; ... then again, this kind of key parsing is duplicated in quite a few places in u- boot. we really should have this centralized so people can say getkey() and have it return cooked values. will take a look +int menu_action_exit(struct menu *m, struct menu_entry *me) +{ + return 0; +} what's the point ? just exit the menu with a prompt --- a/include/console.h +++ b/include/console.h +#define printf_reverse(fmt,args...)printf(\e[7m fmt \e[m,##args) +#define puts_reverse(fmt) puts(\e[7m fmt \e[m) +#define gotoXY(row, col) printf(\e[%d;%dH, row, col) +#define clear()puts(\e[2J) i'm guessing this works with serial consoles and linux terminals. how does this work with framebuffer consoles ? (the answer may be obvious as i'm not familiar with the framebuffer console layers that may exist in u-boot) I've not yet test the framebuffer but IIRC yes I've plan to test it ASAP Best Regards, J. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] ENV_IS_EMBEDDED vs CONFIG_ENV_IS_EMBEDDED
Dear Mike Frysinger, In message 200906142240.59607.vap...@gentoo.org you wrote: is there a reason to keep ENV_IS_EMBEDDED around ? i see a few places that use CONFIG_ENV_IS_EMBEDDED, but it seems to be largely useless at the moment as the define doesn't really do anything without ENV_IS_EMBEDDED. I'm not sure where CONFIG_ENV_IS_EMBEDDED (resp. CFG_ENV_IS_EMBEDDED) coming from. I guess from some comments (short-cut compile-time test) that it was intended to enable using something like COBJS-$(CONFIG_ENV_IS_EMBEDDED) += env_embedded.o Unfortunately it was not even documented in the README so we can only guess what it is supposed to mean :-( From original the software design point of view, CONFIG_ENV_IS_EMBEDDED is redundant at best, and usally just bogus, as the actual location of the environment sectors (as determined by CONFIG_ENV_OFFSET or CONFIG_ENV_ADDR combined with CONFIG_ENV_SECT_SIZE, plus eventually the definition of the corresponding *_REDUND settings) automatically determine if the environment is embedded or not - there is no need for such a variable. in other words, i'd like to just do a sed on the tree to convert all ENV_IS_EMBEDDED instances to CONFIG_ENV_IS_EMBEDDED. That whould IMHO be wrong. We should rather check if there was a way to get rid of CONFIG_ENV_IS_EMBEDDED (which is probably hard because of it's use in the Makefile). 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: w...@denx.de Children are natural mimics who act like their parents despite every effort to teach them good manners. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Pull request - net
Dear Ben Warren, In message 4a35f5a0.4030...@gmail.com you wrote: Wolfgang, The following changes since commit 31f30c9eb60d9ab0bd702e31f66345f99b34bdc6: Mike Frysinger (1): add %.c-%.i and %.c-%.s rules are available in the git repository at: git://git.denx.de/u-boot-net master Ben Warren (4): Moved Davinci Ethernet driver to drivers/net Initial cleanup of Davinci Ethernet driver Switched davinci_emac Ethernet driver to use newer API Remove support for non-CONFIG_NET_MULTI on PPC4xx EMAC Norbert van Bolhuis (1): A VLAN tagged DHCP request/discover is 4 bytes short Prafulla Wadaskar (2): Marvell MV88E61XX Switch Driver support net: Add Marvell Kirkwood gigabit ethernet driver Remy Bohmer (1): Convert DM9000 driver for CONFIG_NET_MULTI Richard Retanubun (1): Subject: [PATCH] [repost] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter. Zach LeRoy (1): tsec: Add support for BCM5482S PHY s-paul...@ti.com (1): DaVinci Network Driver Updates board/atmel/at91sam9261ek/at91sam9261ek.c |7 + board/davinci/common/misc.h|1 - board/davinci/dvevm/dvevm.c|3 - board/davinci/schmoogie/schmoogie.c|3 - board/davinci/sffsdr/sffsdr.c |3 - board/davinci/sonata/sonata.c |3 - board/freescale/m5253demo/m5253demo.c |9 + board/scb9328/scb9328.c|8 + board/trizepsiv/conxs.c|8 + cpu/arm926ejs/davinci/Makefile |2 +- cpu/arm926ejs/davinci/cpu.c| 12 + drivers/net/4xx_enet.c | 54 -- drivers/net/Makefile |2 + .../davinci/ether.c = drivers/net/davinci_emac.c | 214 +++ drivers/net/dm9000x.c | 44 +- drivers/net/kirkwood_egiga.c | 664 drivers/net/kirkwood_egiga.h | 503 +++ drivers/net/mcfmii.c |2 +- drivers/net/phy/Makefile |1 + drivers/net/phy/mv88e61xx.c| 413 drivers/net/phy/mv88e61xx.h| 62 ++ drivers/net/tsec.c | 41 ++ include/asm-arm/arch-davinci/emac_defs.h | 32 +- include/configs/M5253DEMO.h|1 + include/configs/at91sam9261ek.h|1 + include/configs/davinci_dvevm.h|1 + include/configs/davinci_schmoogie.h|1 + include/configs/davinci_sffsdr.h |1 + include/configs/davinci_sonata.h |1 + include/configs/scb9328.h |1 + include/configs/trizepsiv.h|1 + include/netdev.h | 50 ++ include/tsec.h |2 + net/bootp.c|4 +- net/eth.c |8 - 35 files changed, 1944 insertions(+), 219 deletions(-) rename cpu/arm926ejs/davinci/ether.c = drivers/net/davinci_emac.c (93%) create mode 100644 drivers/net/kirkwood_egiga.c create mode 100644 drivers/net/kirkwood_egiga.h create mode 100644 drivers/net/phy/mv88e61xx.c create mode 100644 drivers/net/phy/mv88e61xx.h Done, 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: w...@denx.de It takes all sorts of in out-door schooling to get adapted to my kind of fooling - R. Frost ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 2/2] at91sam9263ek: active watchdog support via at91sam9263ek_wdt_config
Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:52 Sat 13 Jun , Giulio Benetti wrote: In this way the linux driver won't work(the one by Renaud CERRATO). Because it expects MR register not to be set, or to be set enabled. it's work we have test it you need to enable it in the at91bootstrap or in your lowlevel board config After I don't agree refreshing watchdog inside atmel_usart.c you MUST do it otherwise you board will be not usable at all simple exammple you stop the boot and get a prompt if you do not type any command you reboot it's not what we expect If u-boot hangs there instead of execute bootcmd, then the machine lies there forever. In my opinion we should put WATCHDOG_RESET() inside main_loop and nand write and read. What do you think? NACK for the main_loop nand read write ok but if we excecute the bootcmd we have finished and jump to the os so it's over for u-boot the OS will have to care about the watchdog Best Regards, J. Agree with you. But you have to delete hw_watchdog_init(). If you set there MR then linux won't be able to do it. The patch needs only the WATCHDOG_RESET() and nothing more. -- Giulio Benetti RD Micronova srl ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 2/2] at91sam9263ek: active watchdog support via at91sam9263ek_wdt_config
On 12:38 Mon 15 Jun , Giulio Benetti wrote: Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:52 Sat 13 Jun , Giulio Benetti wrote: In this way the linux driver won't work(the one by Renaud CERRATO). Because it expects MR register not to be set, or to be set enabled. it's work we have test it you need to enable it in the at91bootstrap or in your lowlevel board config After I don't agree refreshing watchdog inside atmel_usart.c you MUST do it otherwise you board will be not usable at all simple exammple you stop the boot and get a prompt if you do not type any command you reboot it's not what we expect If u-boot hangs there instead of execute bootcmd, then the machine lies there forever. In my opinion we should put WATCHDOG_RESET() inside main_loop and nand write and read. What do you think? NACK for the main_loop nand read write ok but if we excecute the bootcmd we have finished and jump to the os so it's over for u-boot the OS will have to care about the watchdog Best Regards, J. Agree with you. But you have to delete hw_watchdog_init(). If you set there MR then linux won't be able to do it. The patch needs only the WATCHDOG_RESET() and nothing more. you need to update linux, the watchdog can be enable in u-boot but as it can only be disable once if u-boot or any other bootloader init we can not disable it so in this case linux will just have to buy time to the watchdog Best Regards, J. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [RFC/PATCH 1/2] r2dplus: add menu example support
On 01:15 Sun 14 Jun , Wolfgang Denk wrote: Dear Jean-Christophe PLAGNIOL-VILLARD, In message 1244920382-21434-2-git-send-email-plagn...@jcrosoft.com you wrote: this patch is just an example to show you how to create your own menu using the C API. It will not be a part of the final version Please do not add example code to a regular board. As I've said in the commit message it will not be present at the final version It's just to show example code as I've test it on my r2dplus too Best Regards, J. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [RFC/PATCH 1/2] Add menu Framework
+#if defined(CONFIG_CMD_MENU_MANAGEMENT) + if (!strncmp(argv[0], a, 1)) + return do_menu_add(cmdtp, flag, argc, argv); + if (!strncmp(argv[0], e, 1)) + return do_menu_entry(cmdtp, flag, argc, argv); +#endif + if (!strncmp(argv[0], l, 1)) + return do_menu_list(cmdtp, flag, argc, argv); + if (!strncmp(argv[0], s, 1)) + return do_menu_show(cmdtp, flag, argc, argv); + else + cmd_usage(cmdtp); Please use the existing command parser for such subcommands. ok which one? Best Regards, J. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] mcf5445x watchdog support in U-Boot
Hi TsiChung et al, I was wondering if there are plans to support and utilise the watchdog in the mcf5445x devices within U-Boot? I've ported a kernel driver from the bitshrine gpp (http://www.bitshrine.org/gpp/linux-2.6.25-mcfv4e-watchdog.patch) so that it hooks into my 54455 hw (Freescale EVB), however I'd like to configure and enable the watchdog in U-Boot with the intention that once Linux starts, the responsibility of kicking the watchdog resides with a user space app - driver. Thoughts? Much appreciated. -- Matt ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Out-of-tree build of API code fails
Dear Wolfgang, On 2009-06-14, at 21:29, Wolfgang Denk wrote: in message 63279ff4-75bf-44e5-914e-213c2bf41...@semihalf.com you wrote: it seems the api_examples/ code fails when building out of tree: ... Could you please have a look? Thanks in advance. Sure, I'll take a look. Did your 'having a look' result in any results, like a patch that fixes the problem? At the time I looked at this the main line build was broken due to other issues, so I need to see to it again. This is still broken (and I don'e see any related main line build that is broken), so could you *please* have a look again? I was actually working on this on Sat, but it seems like something obscure and I could not find the cause of the problem so far. I don't have much time right now to look into it any deeper though, so it has to wait, sorry (unless someone else can try to fix it). kind regards, Rafal ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 3/7] fec_imx27: driver for FEC ethernet controller on i.MX27
I have trouble using your patch together with our LogicPD iMX27 Litekit. Seems like the FEC driver does not work well. Here is some output from when I try to load files with tftp U-Boot 2009.06-rc1 (jun 15 2009 - 15:46:31) CPU: Freescale i.MX27 at 399 MHz DRAM: 128 MB Flash: 2 MB NAND: 64 MiB In:serial Out: serial Err: serial MMC: MXC MCI: 0 Hit any key to stop autoboot: 0 = tftp 0xa080 uImage FEC ETHERNET: Link is up - 100/Full TFTP from server 172.16.140.75; our IP address is 172.16.140.76 Filename 'uImage'. Load address: 0xa080 Loading: #T #T #T T# #T ##T T #T T # Retry count exceeded; starting again TFTP from server 172.16.140.75; our IP address is 172.16.140.76 Filename 'uImage'. Load address: 0xa080 Loading: I have downloaded the imx27lite head from the u-boot testing branch. I have also tried to patch the u-boot-2009.06-rc3 branch with your patches, but it does not seem to be any different. Do you have any ideas what might be wrong? /Johan 2009/5/20 Ilya Yanok ya...@emcraft.com: Signed-off-by: Ilya Yanok ya...@emcraft.com --- cpu/arm926ejs/mx27/generic.c | 10 + drivers/net/Makefile | 1 + drivers/net/fec_imx27.c | 705 ++ drivers/net/fec_imx27.h | 302 ++ include/netdev.h | 1 + 5 files changed, 1019 insertions(+), 0 deletions(-) create mode 100644 drivers/net/fec_imx27.c create mode 100644 drivers/net/fec_imx27.h diff --git a/cpu/arm926ejs/mx27/generic.c b/cpu/arm926ejs/mx27/generic.c index 850d5e6..e820d94 100644 --- a/cpu/arm926ejs/mx27/generic.c +++ b/cpu/arm926ejs/mx27/generic.c @@ -20,6 +20,7 @@ #include common.h #include div64.h +#include netdev.h #include asm/io.h #include asm/arch/imx-regs.h @@ -159,6 +160,15 @@ int print_cpuinfo (void) } #endif +int cpu_eth_init(bd_t *bis) +{ +#if defined(CONFIG_FEC_IMX27) + return fecimx27_initialize(bis); +#else + return 0; +#endif +} + void imx_gpio_mode(int gpio_mode) { struct gpio_regs *regs = (struct gpio_regs *)IMX_GPIO_BASE; diff --git a/drivers/net/Makefile b/drivers/net/Makefile index a360a50..ac68beb 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile @@ -34,6 +34,7 @@ COBJS-$(CONFIG_DRIVER_CS8900) += cs8900.o COBJS-$(CONFIG_TULIP) += dc2114x.o COBJS-$(CONFIG_DRIVER_DM9000) += dm9000x.o COBJS-$(CONFIG_DNET) += dnet.o +COBJS-$(CONFIG_FEC_IMX27) += fec_imx27.o COBJS-$(CONFIG_E1000) += e1000.o COBJS-$(CONFIG_EEPRO100) += eepro100.o COBJS-$(CONFIG_ENC28J60) += enc28j60.o diff --git a/drivers/net/fec_imx27.c b/drivers/net/fec_imx27.c new file mode 100644 index 000..4ade348 --- /dev/null +++ b/drivers/net/fec_imx27.c @@ -0,0 +1,705 @@ +/* + * (C) Copyright 2009 Ilya Yanok, Emcraft Systems Ltd ya...@emcraft.com + * (C) Copyright 2008,2009 Eric Jarrige eric.jarr...@armadeus.org + * (C) Copyright 2008 Armadeus Systems nc + * (C) Copyright 2007 Pengutronix, Sascha Hauer s.ha...@pengutronix.de + * (C) Copyright 2007 Pengutronix, Juergen Beisert j.beis...@pengutronix.de + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + */ + +#include common.h +#include malloc.h +#include net.h +#include miiphy.h +#include fec_imx27.h + +#include asm/arch/clock.h +#include asm/arch/imx-regs.h +#include asm/io.h + +DECLARE_GLOBAL_DATA_PTR; + +#ifndef CONFIG_MII +#error CONFIG_MII has to be defined! +#endif + +#undef DEBUG + +struct nbuf { + uint8_t data[1500]; /** actual data */ + int length; /** actual length */ + int used; /** buffer in use or not */ + uint8_t head[16]; /** MAC header(6 + 6 + 2) + 2(aligned) */ +}; + +struct fec_priv gfec = { + .eth = (struct ethernet_regs *)IMX_FEC_BASE, + .xcv_type = MII100, + .rbd_base = NULL, + .rbd_index = 0, + .tbd_base = NULL, + .tbd_index = 0, + .bd = NULL, +}; + +/* + * MII-interface related functions + */ +static int
[U-Boot] [PATCH] kallsyms: fix escaping of NUL char in strings
The current kallsyms code is using \\0 to escape the backslash in the awk code, but the shell too needs escaping. This way we make sure gcc is passed the \0. Then gcc itself will consume this as an octal, so we have to use 000 so gcc will create the final NUL. Signed-off-by: Mike Frysinger vap...@gentoo.org --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index d01cc48..8471828 100644 --- a/Makefile +++ b/Makefile @@ -312,7 +312,7 @@ GEN_UBOOT = \ $(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBBOARD) $(LIBS) $(LDSCRIPT) $(GEN_UBOOT) ifeq ($(CONFIG_KALLSYMS),y) - smap=`$(call SYSTEM_MAP,u-boot) | awk '$$2 ~ /[tTwW]/ {printf $$1 $$3 \\0}'` ; \ + smap=`$(call SYSTEM_MAP,u-boot) | awk '$$2 ~ /[tTwW]/ {printf $$1 $$3 000}'` ; \ $(CC) $(CFLAGS) -DSYSTEM_MAP=\$${smap}\ -c common/system_map.c -o $(obj)common/system_map.o $(GEN_UBOOT) $(obj)common/system_map.o endif -- 1.6.3.1 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] Flash Errors in Building u-boot.2009.03 for mx31ads
I ran into a bunch of errors related to Flash and Net (e.g. undefined reference to 'flash_init'), when building u-boot for mx31ads. lib_arm/libarm.a(board.o)(.text+0x1d8): In function `start_armboot': /home/yong/cross-compile/u-boot-2009.03/lib_arm/board.c:211: undefined reference to `flash_init' lib_arm/libarm.a(board.o)(.text+0x2c4):/home/yong/cross-compile/u-boot-2009.03/lib_arm/board.c:442: undefined reference to `cs8900_get_enetaddr' lib_arm/libarm.a(board.o)(.data+0xc): In function `sbrk': /home/yong/cross-compile/u-boot-2009.03/lib_arm/board.c:111: undefined reference to `env_init' net/libnet.a(net.o)(.text+0x1dc): In function `ArpRequest': /home/yong/cross-compile/u-boot-2009.03/net/net.c:254: undefined reference to `eth_send' I checked include/configs/mx31ads.h, and it does use CFI flash configuration. Does anyone have ideas what might go wrong? Thanks /*--- * CFI FLASH driver setup */ #define CONFIG_SYS_FLASH_CFI 1 /* Flash memory is CFI compliant */ #define CONFIG_FLASH_CFI_DRIVER 1 /* Use drivers/cfi_flash.c */ #define CONFIG_FLASH_SPANSION_S29WS_N 1 /* A non-standard buffered write algorithm */ #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE 1 /* Use buffered writes (~10x faster) */ #define CONFIG_SYS_FLASH_PROTECTION 1 /* Use hardware sector protection */ Settings: cross compiler arm-elf-gcc from http://www.gnuarm.org/ Configured with: ../gcc-3.4.3/configure --target=arm-elf --prefix=/srv/shared/gnuarm/gnuarm-3.4.3 --enable-interwork --enable-multilib --with-newlib --with-headers=../newlib-1.12.0/newlib/libc/include --enable-languages=c,c++,java --disable-libgcj Thread model: single gcc version 3.4.3 Thanks a lot Yong ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH] mpc83xx: set 64BIT_VSPRINTF for boards using nand_util
When enabling NAND support for a board, one must also define CONFIG_SYS_64BIT_VSPRINTF because this is needed in nand_util.c for correct output. Signed-off-by: Kim Phillips kim.phill...@freescale.com Cc: Dave Liu dave...@freescale.com Cc: Ron Madrid ron_mad...@sbcglobal.net Cc: Anton Vorontsov avoront...@ru.mvista.com --- include/configs/MPC8313ERDB.h |1 + include/configs/MPC8315ERDB.h |1 + include/configs/MPC8360ERDK.h |1 + include/configs/SIMPC8313.h |1 + 4 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/configs/MPC8313ERDB.h b/include/configs/MPC8313ERDB.h index 2308568..5149ce7 100644 --- a/include/configs/MPC8313ERDB.h +++ b/include/configs/MPC8313ERDB.h @@ -236,6 +236,7 @@ #define CONFIG_CMD_NAND 1 #define CONFIG_NAND_FSL_ELBC 1 #define CONFIG_SYS_NAND_BLOCK_SIZE 16384 +#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */ #define CONFIG_SYS_NAND_U_BOOT_SIZE (512 10) #define CONFIG_SYS_NAND_U_BOOT_DST 0x0010 diff --git a/include/configs/MPC8315ERDB.h b/include/configs/MPC8315ERDB.h index e03a107..4cf48f7 100644 --- a/include/configs/MPC8315ERDB.h +++ b/include/configs/MPC8315ERDB.h @@ -226,6 +226,7 @@ #define CONFIG_MTD_NAND_VERIFY_WRITE 1 #define CONFIG_CMD_NAND1 #define CONFIG_NAND_FSL_ELBC 1 +#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */ #define CONFIG_SYS_BR1_PRELIM ( CONFIG_SYS_NAND_BASE \ | (2BR_DECC_SHIFT)/* Use HW ECC */ \ diff --git a/include/configs/MPC8360ERDK.h b/include/configs/MPC8360ERDK.h index f584435..4fcca09 100644 --- a/include/configs/MPC8360ERDK.h +++ b/include/configs/MPC8360ERDK.h @@ -212,6 +212,7 @@ #define CONFIG_NAND_FSL_UPM1 #define CONFIG_SYS_MAX_NAND_DEVICE 1 #define CONFIG_MTD_NAND_VERIFY_WRITE +#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */ #define CONFIG_SYS_LBLAWBAR1_PRELIMCONFIG_SYS_NAND_BASE #define CONFIG_SYS_LBLAWAR1_PRELIM 0x801b /* Access window size 4K */ diff --git a/include/configs/SIMPC8313.h b/include/configs/SIMPC8313.h index 72fe115..08b401e 100644 --- a/include/configs/SIMPC8313.h +++ b/include/configs/SIMPC8313.h @@ -131,6 +131,7 @@ #define CONFIG_MTD_NAND_VERIFY_WRITE #define CONFIG_CMD_NAND1 #define CONFIG_NAND_FSL_ELBC 1 +#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */ #define CONFIG_SYS_NAND_U_BOOT_SIZE(512 10) #define CONFIG_SYS_NAND_U_BOOT_DST 0x0010 -- 1.6.3.2 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH] net: tsec - fix dereferencing type-punned pointer will break strict-aliasing rules warning
fix this gcc 4.4 warning: tsec.c: In function 'tsec_init': tsec.c:200: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Kim Phillips kim.phill...@freescale.com --- drivers/net/tsec.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 399116f..40b3be4 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -197,7 +197,10 @@ int tsec_init(struct eth_device *dev, bd_t * bd) for (i = 0; i MAC_ADDR_LEN; i++) { tmpbuf[MAC_ADDR_LEN - 1 - i] = dev-enetaddr[i]; } - regs-macstnaddr1 = *((uint *) (tmpbuf)); + tempval = (tmpbuf[3] 24) | (tmpbuf[2] 16) | (tmpbuf[1] 8) | + tmpbuf[0]; + + regs-macstnaddr1 = tempval; tempval = *((uint *) (tmpbuf + 4)); -- 1.6.3.2 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH] common: fix 'dummy' is used uninitialized in this function warning
fix this gcc 4.4 warning: xyzModem.c: In function 'xyzModem_stream_open': xyzModem.c:564: warning: 'dummy' is used uninitialized in this function Signed-off-by: Kim Phillips kim.phill...@freescale.com --- common/xyzModem.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/xyzModem.c b/common/xyzModem.c index a209dfa..7a46805 100644 --- a/common/xyzModem.c +++ b/common/xyzModem.c @@ -544,7 +544,7 @@ xyzModem_stream_open (connection_info_t * info, int *err) xyzModem_CHAR_TIMEOUT); #else /* TODO: CHECK ! */ - int dummy; + int dummy = 0; xyz.__chan = dummy; #endif xyz.len = 0; -- 1.6.3.2 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH] usb: fix CONFIG_SYS_MPC83xx_USB_ADDR not defined error
fix a stray CONFIG_MPC83XX that escaped commit 0f898604945af4543c1525fc33b6bae621a3b805. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- include/usb/ehci-fsl.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/usb/ehci-fsl.h b/include/usb/ehci-fsl.h index 1140561..3b99456 100644 --- a/include/usb/ehci-fsl.h +++ b/include/usb/ehci-fsl.h @@ -85,7 +85,7 @@ #define MPC83XX_SCCR_USB_DRCM_01 0x0010 #define MPC83XX_SCCR_USB_DRCM_10 0x0020 -#if defined(CONFIG_MPC83XX) +#if defined(CONFIG_MPC83xx) #define CONFIG_SYS_MPC8xxx_USB_ADDR CONFIG_SYS_MPC83xx_USB_ADDR #elif defined(CONFIG_MPC85xx) #define CONFIG_SYS_MPC8xxx_USB_ADDR CONFIG_SYS_MPC85xx_USB_ADDR -- 1.6.3.2 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH 3/6] Blackfin: bf548-ezkit: bump up monitor size
The latest version of U-Boot got a bit fatter in the BSS section which caused overflows in the RAM region, so increase the monitor size. Signed-off-by: Mike Frysinger vap...@gentoo.org --- include/configs/bf548-ezkit.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/bf548-ezkit.h b/include/configs/bf548-ezkit.h index 4e2ee62..fa90f91 100644 --- a/include/configs/bf548-ezkit.h +++ b/include/configs/bf548-ezkit.h @@ -61,7 +61,7 @@ #define CONFIG_EBIU_FCTL_VAL (BCLK_4) #define CONFIG_EBIU_MODE_VAL (B0MODE_FLASH) -#define CONFIG_SYS_MONITOR_LEN (768 * 1024) +#define CONFIG_SYS_MONITOR_LEN (1024 * 1024) #define CONFIG_SYS_MALLOC_LEN (768 * 1024) -- 1.6.3.1 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH 2/6] Blackfin: bf533-stamp/bf537-stamp: fix env settings for SPI flash
From: Vivi Li vivi...@analog.com The SPI flash layer is much stricter about sector usage than the eeprom layer we used to use, so update the env settings to better match the sector alignment of the flashes we use. Signed-off-by: Vivi Li vivi...@analog.com Signed-off-by: Mike Frysinger vap...@gentoo.org --- include/configs/bf533-stamp.h |4 ++-- include/configs/bf537-stamp.h |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/configs/bf533-stamp.h b/include/configs/bf533-stamp.h index 579540e..9b22f2d 100644 --- a/include/configs/bf533-stamp.h +++ b/include/configs/bf533-stamp.h @@ -102,9 +102,9 @@ */ #if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_SPI_MASTER) #define CONFIG_ENV_IS_IN_SPI_FLASH -#define CONFIG_ENV_OFFSET 0x4000 +#define CONFIG_ENV_OFFSET 0x1 #define CONFIG_ENV_SIZE0x2000 -#define CONFIG_ENV_SECT_SIZE 0x2000 +#define CONFIG_ENV_SECT_SIZE 0x1 #else #define CONFIG_ENV_IS_IN_FLASH #define CONFIG_ENV_OFFSET 0x4000 diff --git a/include/configs/bf537-stamp.h b/include/configs/bf537-stamp.h index e883f2e..8e06844 100644 --- a/include/configs/bf537-stamp.h +++ b/include/configs/bf537-stamp.h @@ -100,9 +100,9 @@ */ #if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_SPI_MASTER) #define CONFIG_ENV_IS_IN_SPI_FLASH -#define CONFIG_ENV_OFFSET 0x4000 +#define CONFIG_ENV_OFFSET 0x1 #define CONFIG_ENV_SIZE0x2000 -#define CONFIG_ENV_SECT_SIZE 0x2000 +#define CONFIG_ENV_SECT_SIZE 0x1 #else #define CONFIG_ENV_IS_IN_FLASH #define CONFIG_ENV_OFFSET 0x4000 -- 1.6.3.1 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH] kallsyms: fix escaping of NUL char in strings
The current kallsyms code is using \\0 to escape the backslash in the awk code, but the shell too needs escaping. This way we make sure gcc is passed the \0. Then gcc itself will consume this as an octal, so we have to use 000 so gcc will create the final NUL. Signed-off-by: Mike Frysinger vap...@gentoo.org --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index d01cc48..8471828 100644 --- a/Makefile +++ b/Makefile @@ -312,7 +312,7 @@ GEN_UBOOT = \ $(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBBOARD) $(LIBS) $(LDSCRIPT) $(GEN_UBOOT) ifeq ($(CONFIG_KALLSYMS),y) - smap=`$(call SYSTEM_MAP,u-boot) | awk '$$2 ~ /[tTwW]/ {printf $$1 $$3 \\0}'` ; \ + smap=`$(call SYSTEM_MAP,u-boot) | awk '$$2 ~ /[tTwW]/ {printf $$1 $$3 000}'` ; \ $(CC) $(CFLAGS) -DSYSTEM_MAP=\$${smap}\ -c common/system_map.c -o $(obj)common/system_map.o $(GEN_UBOOT) $(obj)common/system_map.o endif -- 1.6.3.1 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH 0/6] Blackfin fixes for 2009.08
A few fixes and tweaks to use latest code in master. Mike Frysinger (4): Blackfin: bf548-ezkit: bump up monitor size Blackfin: enable -O2 in lib_generic/ for ADI/Bluetechnix boards Blackfin: fix SPI flash speed define name Blackfin: move ALL += u-boot.ldr to blackfin_config.mk Vivi Li (2): Blackfin: bump up default JTAG console timeout Blackfin: bf533-stamp/bf537-stamp: fix env settings for SPI flash Makefile |4 +--- blackfin_config.mk |6 -- board/bf518f-ezbrd/config.mk |3 +++ board/bf526-ezbrd/config.mk |3 +++ board/bf527-ezkit/config.mk |3 +++ board/bf533-ezkit/config.mk |3 +++ board/bf533-stamp/config.mk |3 +++ board/bf537-stamp/config.mk |3 +++ board/bf538f-ezkit/config.mk |3 +++ board/bf548-ezkit/config.mk |3 +++ board/bf561-ezkit/config.mk |3 +++ board/cm-bf527/config.mk |3 +++ board/cm-bf533/config.mk |3 +++ board/cm-bf537e/config.mk|3 +++ board/cm-bf548/config.mk |3 +++ board/cm-bf561/config.mk |3 +++ board/tcm-bf537/config.mk|3 +++ cpu/blackfin/jtag-console.c |2 +- include/configs/bf518f-ezbrd.h |2 +- include/configs/bf526-ezbrd.h|2 +- include/configs/bf527-ezkit.h|2 +- include/configs/bf533-stamp.h|6 +++--- include/configs/bf537-minotaur.h |2 +- include/configs/bf537-pnav.h |2 +- include/configs/bf537-srv1.h |2 +- include/configs/bf537-stamp.h|6 +++--- include/configs/bf538f-ezkit.h |2 +- include/configs/bf548-ezkit.h|4 ++-- include/configs/blackstamp.h |2 +- 29 files changed, 67 insertions(+), 22 deletions(-) ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH 1/6] Blackfin: bump up default JTAG console timeout
From: Vivi Li vivi...@analog.com The debug tools that interface with the other side of the JTAG console got much slower when generalizing things, so bump up the default timeout value on the U-Boot side to cope. Hopefully at some point we can improve the debug tools to speed things back up. Signed-off-by: Vivi Li vivi...@analog.com Signed-off-by: Mike Frysinger vap...@gentoo.org --- cpu/blackfin/jtag-console.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpu/blackfin/jtag-console.c b/cpu/blackfin/jtag-console.c index d58582f..c995d96 100644 --- a/cpu/blackfin/jtag-console.c +++ b/cpu/blackfin/jtag-console.c @@ -11,7 +11,7 @@ #include asm/blackfin.h #ifndef CONFIG_JTAG_CONSOLE_TIMEOUT -# define CONFIG_JTAG_CONSOLE_TIMEOUT 100 +# define CONFIG_JTAG_CONSOLE_TIMEOUT 500 #endif /* The Blackfin tends to be much much faster than the JTAG hardware. */ -- 1.6.3.1 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH 6/6] Blackfin: move ALL += u-boot.ldr to blackfin_config.mk
The way the ALL variable is used allows for config.mk's to add more targets themselves without having to clutter up the top level Makefile. Signed-off-by: Mike Frysinger vap...@gentoo.org --- Makefile |4 +--- blackfin_config.mk |6 -- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index acec1a0..bcc81c9 100644 --- a/Makefile +++ b/Makefile @@ -306,10 +306,8 @@ __LIBS := $(subst $(obj),,$(LIBS)) $(subst $(obj),,$(LIBBOARD)) # # +# Always append ALL so that arch config.mk's can add custom ones ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND) $(U_BOOT_ONENAND) -ifeq ($(ARCH),blackfin) -ALL += $(obj)u-boot.ldr -endif all: $(ALL) diff --git a/blackfin_config.mk b/blackfin_config.mk index 989e976..821f082 100644 --- a/blackfin_config.mk +++ b/blackfin_config.mk @@ -36,6 +36,10 @@ ifneq (,$(CONFIG_BFIN_CPU)) PLATFORM_RELFLAGS += -mcpu=$(CONFIG_BFIN_CPU) endif +ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_BYPASS) +ALL += $(obj)u-boot.ldr +endif + SYM_PREFIX = _ LDR_FLAGS-y := @@ -43,14 +47,12 @@ LDR_FLAGS-$(CONFIG_BFIN_BOOTROM_USES_EVT1) += -J LDR_FLAGS += --bmode $(subst BFIN_BOOT_,,$(CONFIG_BFIN_BOOT_MODE)) LDR_FLAGS += --use-vmas -ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_BYPASS) LDR_FLAGS += --initcode $(obj)cpu/$(CPU)/initcode.o ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_UART) ifneq ($(ENV_IS_EMBEDDED_CUSTOM),ENV_IS_EMBEDDED_CUSTOM) LDR_FLAGS += --punchit $$(($(CONFIG_ENV_OFFSET))):$$(($(CONFIG_ENV_SIZE))):$(obj)env-ldr.o endif endif -endif ifneq (,$(findstring s,$(MAKEFLAGS))) LDR_FLAGS += --quiet endif -- 1.6.3.1 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH 4/6] Blackfin: enable -O2 in lib_generic/ for ADI/Bluetechnix boards
Building the compression code in lib_generic/ with -O2 rather than -Os gives a nice speed boost without too much code size increase. Signed-off-by: Mike Frysinger vap...@gentoo.org --- board/bf518f-ezbrd/config.mk |3 +++ board/bf526-ezbrd/config.mk |3 +++ board/bf527-ezkit/config.mk |3 +++ board/bf533-ezkit/config.mk |3 +++ board/bf533-stamp/config.mk |3 +++ board/bf537-stamp/config.mk |3 +++ board/bf538f-ezkit/config.mk |3 +++ board/bf548-ezkit/config.mk |3 +++ board/bf561-ezkit/config.mk |3 +++ board/cm-bf527/config.mk |3 +++ board/cm-bf533/config.mk |3 +++ board/cm-bf537e/config.mk|3 +++ board/cm-bf548/config.mk |3 +++ board/cm-bf561/config.mk |3 +++ board/tcm-bf537/config.mk|3 +++ 15 files changed, 45 insertions(+), 0 deletions(-) diff --git a/board/bf518f-ezbrd/config.mk b/board/bf518f-ezbrd/config.mk index eaa09ff..f85bef5 100644 --- a/board/bf518f-ezbrd/config.mk +++ b/board/bf518f-ezbrd/config.mk @@ -26,5 +26,8 @@ # This is not actually used for Blackfin boards so do not change it #TEXT_BASE = do-not-use-me +CFLAGS_lib_generic += -O2 +CFLAGS_lzma += -O2 + # Set some default LDR flags based on boot mode. LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE)) diff --git a/board/bf526-ezbrd/config.mk b/board/bf526-ezbrd/config.mk index eaa09ff..f85bef5 100644 --- a/board/bf526-ezbrd/config.mk +++ b/board/bf526-ezbrd/config.mk @@ -26,5 +26,8 @@ # This is not actually used for Blackfin boards so do not change it #TEXT_BASE = do-not-use-me +CFLAGS_lib_generic += -O2 +CFLAGS_lzma += -O2 + # Set some default LDR flags based on boot mode. LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE)) diff --git a/board/bf527-ezkit/config.mk b/board/bf527-ezkit/config.mk index eaa09ff..f85bef5 100644 --- a/board/bf527-ezkit/config.mk +++ b/board/bf527-ezkit/config.mk @@ -26,5 +26,8 @@ # This is not actually used for Blackfin boards so do not change it #TEXT_BASE = do-not-use-me +CFLAGS_lib_generic += -O2 +CFLAGS_lzma += -O2 + # Set some default LDR flags based on boot mode. LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE)) diff --git a/board/bf533-ezkit/config.mk b/board/bf533-ezkit/config.mk index 9847924..3c0b46f 100644 --- a/board/bf533-ezkit/config.mk +++ b/board/bf533-ezkit/config.mk @@ -26,6 +26,9 @@ # This is not actually used for Blackfin boards so do not change it #TEXT_BASE = do-not-use-me +CFLAGS_lib_generic += -O2 +CFLAGS_lzma += -O2 + # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE)) diff --git a/board/bf533-stamp/config.mk b/board/bf533-stamp/config.mk index 9847924..3c0b46f 100644 --- a/board/bf533-stamp/config.mk +++ b/board/bf533-stamp/config.mk @@ -26,6 +26,9 @@ # This is not actually used for Blackfin boards so do not change it #TEXT_BASE = do-not-use-me +CFLAGS_lib_generic += -O2 +CFLAGS_lzma += -O2 + # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE)) diff --git a/board/bf537-stamp/config.mk b/board/bf537-stamp/config.mk index d9e884e..bc14257 100644 --- a/board/bf537-stamp/config.mk +++ b/board/bf537-stamp/config.mk @@ -26,6 +26,9 @@ # This is not actually used for Blackfin boards so do not change it #TEXT_BASE = do-not-use-me +CFLAGS_lib_generic += -O2 +CFLAGS_lzma += -O2 + # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 LDR_FLAGS-BFIN_BOOT_UART := --port g --gpio 6 diff --git a/board/bf538f-ezkit/config.mk b/board/bf538f-ezkit/config.mk index 9847924..3c0b46f 100644 --- a/board/bf538f-ezkit/config.mk +++ b/board/bf538f-ezkit/config.mk @@ -26,6 +26,9 @@ # This is not actually used for Blackfin boards so do not change it #TEXT_BASE = do-not-use-me +CFLAGS_lib_generic += -O2 +CFLAGS_lzma += -O2 + # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE)) diff --git a/board/bf548-ezkit/config.mk b/board/bf548-ezkit/config.mk index 95ab6b3..42ff946 100644 --- a/board/bf548-ezkit/config.mk +++ b/board/bf548-ezkit/config.mk @@ -26,6 +26,9 @@ # This is not actually used for Blackfin boards so do not change it #TEXT_BASE = do-not-use-me +CFLAGS_lib_generic += -O2 +CFLAGS_lzma += -O2 + # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --dma 6 LDR_FLAGS-BFIN_BOOT_FIFO := --dma 1 diff --git a/board/bf561-ezkit/config.mk b/board/bf561-ezkit/config.mk index 77c888b..cfad21a 100644 --- a/board/bf561-ezkit/config.mk +++ b/board/bf561-ezkit/config.mk @@ -26,6 +26,9 @@ # This is not actually used for Blackfin boards so do not change it #TEXT_BASE = do-not-use-me +CFLAGS_lib_generic += -O2 +CFLAGS_lzma += -O2 + # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16
[U-Boot] [PATCH 5/6] Blackfin: fix SPI flash speed define name
The SPI flash define is named CONFIG_SF_DEFAULT_SPEED, not CONFIG_SF_DEFAULT_HZ, so fix the typos in the Blackfin boards. Signed-off-by: Mike Frysinger vap...@gentoo.org --- include/configs/bf518f-ezbrd.h |2 +- include/configs/bf526-ezbrd.h|2 +- include/configs/bf527-ezkit.h|2 +- include/configs/bf533-stamp.h|2 +- include/configs/bf537-minotaur.h |2 +- include/configs/bf537-pnav.h |2 +- include/configs/bf537-srv1.h |2 +- include/configs/bf537-stamp.h|2 +- include/configs/bf538f-ezkit.h |2 +- include/configs/bf548-ezkit.h|2 +- include/configs/blackstamp.h |2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/configs/bf518f-ezbrd.h b/include/configs/bf518f-ezbrd.h index bc7ac5d..3db8171 100644 --- a/include/configs/bf518f-ezbrd.h +++ b/include/configs/bf518f-ezbrd.h @@ -88,7 +88,7 @@ */ #define CONFIG_BFIN_SPI #define CONFIG_ENV_SPI_MAX_HZ 3000 -#define CONFIG_SF_DEFAULT_HZ 3000 +#define CONFIG_SF_DEFAULT_SPEED3000 #define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_SST #define CONFIG_SPI_FLASH_STMICRO diff --git a/include/configs/bf526-ezbrd.h b/include/configs/bf526-ezbrd.h index db68a7b..97853af 100644 --- a/include/configs/bf526-ezbrd.h +++ b/include/configs/bf526-ezbrd.h @@ -106,7 +106,7 @@ */ #define CONFIG_BFIN_SPI #define CONFIG_ENV_SPI_MAX_HZ 3000 -#define CONFIG_SF_DEFAULT_HZ 3000 +#define CONFIG_SF_DEFAULT_SPEED3000 #define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_SST diff --git a/include/configs/bf527-ezkit.h b/include/configs/bf527-ezkit.h index f481c79..0d02354 100644 --- a/include/configs/bf527-ezkit.h +++ b/include/configs/bf527-ezkit.h @@ -105,7 +105,7 @@ */ #define CONFIG_BFIN_SPI #define CONFIG_ENV_SPI_MAX_HZ 3000 -#define CONFIG_SF_DEFAULT_HZ 3000 +#define CONFIG_SF_DEFAULT_SPEED3000 #define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_STMICRO diff --git a/include/configs/bf533-stamp.h b/include/configs/bf533-stamp.h index 9b22f2d..c03561c 100644 --- a/include/configs/bf533-stamp.h +++ b/include/configs/bf533-stamp.h @@ -89,7 +89,7 @@ */ #define CONFIG_BFIN_SPI #define CONFIG_ENV_SPI_MAX_HZ 3000 -#define CONFIG_SF_DEFAULT_HZ 3000 +#define CONFIG_SF_DEFAULT_SPEED3000 #define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_ATMEL #define CONFIG_SPI_FLASH_SPANSION diff --git a/include/configs/bf537-minotaur.h b/include/configs/bf537-minotaur.h index b01197b..23c2d33 100644 --- a/include/configs/bf537-minotaur.h +++ b/include/configs/bf537-minotaur.h @@ -104,7 +104,7 @@ */ #define CONFIG_BFIN_SPI #define CONFIG_ENV_SPI_MAX_HZ 3000 -#define CONFIG_SF_DEFAULT_HZ 3000 +#define CONFIG_SF_DEFAULT_SPEED3000 #define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_STMICRO diff --git a/include/configs/bf537-pnav.h b/include/configs/bf537-pnav.h index 284c7fc..0f908ef 100644 --- a/include/configs/bf537-pnav.h +++ b/include/configs/bf537-pnav.h @@ -85,7 +85,7 @@ */ #define CONFIG_BFIN_SPI #define CONFIG_ENV_SPI_MAX_HZ 3000 -#define CONFIG_SF_DEFAULT_HZ 3000 +#define CONFIG_SF_DEFAULT_SPEED3000 #define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_STMICRO diff --git a/include/configs/bf537-srv1.h b/include/configs/bf537-srv1.h index c1bff3e..727b7e7 100644 --- a/include/configs/bf537-srv1.h +++ b/include/configs/bf537-srv1.h @@ -104,7 +104,7 @@ */ #define CONFIG_BFIN_SPI #define CONFIG_ENV_SPI_MAX_HZ 3000 -#define CONFIG_SF_DEFAULT_HZ 3000 +#define CONFIG_SF_DEFAULT_SPEED3000 #define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_STMICRO diff --git a/include/configs/bf537-stamp.h b/include/configs/bf537-stamp.h index 8e06844..0a86e83 100644 --- a/include/configs/bf537-stamp.h +++ b/include/configs/bf537-stamp.h @@ -87,7 +87,7 @@ */ #define CONFIG_BFIN_SPI #define CONFIG_ENV_SPI_MAX_HZ 3000 -#define CONFIG_SF_DEFAULT_HZ 3000 +#define CONFIG_SF_DEFAULT_SPEED3000 #define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_ATMEL #define CONFIG_SPI_FLASH_SPANSION diff --git a/include/configs/bf538f-ezkit.h b/include/configs/bf538f-ezkit.h index 91622e3..535687f 100644 --- a/include/configs/bf538f-ezkit.h +++ b/include/configs/bf538f-ezkit.h @@ -83,7 +83,7 @@ */ #define CONFIG_BFIN_SPI #define CONFIG_ENV_SPI_MAX_HZ 3000 -#define CONFIG_SF_DEFAULT_HZ 3000 +#define CONFIG_SF_DEFAULT_SPEED3000 #define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_ATMEL #define CONFIG_SPI_FLASH_SPANSION diff --git a/include/configs/bf548-ezkit.h b/include/configs/bf548-ezkit.h index fa90f91..dbcd2af 100644 --- a/include/configs/bf548-ezkit.h +++ b/include/configs/bf548-ezkit.h @@ -93,7 +93,7 @@ */ #define CONFIG_BFIN_SPI #define CONFIG_ENV_SPI_MAX_HZ 3000 -#define CONFIG_SF_DEFAULT_HZ 3000 +#define CONFIG_SF_DEFAULT_SPEED3000 #define CONFIG_SPI_FLASH
[U-Boot] [PATCH] compiler.h: unify system ifdef cruft here
Shove a lot of the HOSTCC and related #ifdef checking crap into the new compiler.h header so that we can keep all other headers nice and clean. Also introduce custom uswap functions so we don't have to rely on the non standard implementations that a host may (or may not in the case of OS X) provide. This allows mkimage to finally build cleanly on an OS X system. Signed-off-by: Mike Frysinger vap...@gentoo.org --- include/compiler.h| 118 + include/elf.h | 10 + include/environment.h |6 +-- include/image.h |9 +--- include/libfdt_env.h | 53 ++ tools/bmp_logo.c | 13 +- tools/img2srec.c |3 +- tools/mkimage.c | 14 ++ tools/mkimage.h | 33 -- tools/os_support.h|2 + tools/ubsha1.c| 13 - 11 files changed, 136 insertions(+), 138 deletions(-) create mode 100644 include/compiler.h diff --git a/include/compiler.h b/include/compiler.h new file mode 100644 index 000..b3ae875 --- /dev/null +++ b/include/compiler.h @@ -0,0 +1,118 @@ +/* + * Keep all the ugly #ifdef for system stuff here + */ + +#ifndef __COMPILER_H__ +#define __COMPILER_H__ + +#include stddef.h + +#ifdef USE_HOSTCC + +#if defined(__BEOS__) || \ +defined(__NetBSD__) || \ +defined(__FreeBSD__) || \ +defined(__sun__)|| \ +defined(__APPLE__) +# include inttypes.h +#elif defined(__linux__) || defined(__WIN32__) || defined(__MINGW32__) +# include stdint.h +#endif + +#include errno.h +#include stdlib.h +#include stdint.h +#include stdio.h +#include string.h + +extern int errno; + +#if !defined(__WIN32__) !defined(__MINGW32__) +# include sys/mman.h +#endif + +#ifndef MAP_FAILED +#define MAP_FAILED (-1) +#endif + +#include fcntl.h +#ifndef O_BINARY /* should be define'd on __WIN32__ */ +#define O_BINARY 0 +#endif + +#ifdef __linux__ +# include endian.h +# include byteswap.h +#elif defined(__MACH__) +# include machine/endian.h +typedef unsigned long ulong; +typedef unsigned int uint; +#endif + +#define uswap_16(x) \ + x) 0xff00) 8) | \ +(((x) 0x00ff) 8)) +#define uswap_32(x) \ + x) 0xff00) 24) | \ +(((x) 0x00ff) 8) | \ +(((x) 0xff00) 8) | \ +(((x) 0x00ff) 24)) +#define _uswap_64(x, sfx) \ + x) 0xff00##sfx) 56) | \ +(((x) 0x00ff##sfx) 40) | \ +(((x) 0xff00##sfx) 24) | \ +(((x) 0x00ff##sfx) 8) | \ +(((x) 0xff00##sfx) 8) | \ +(((x) 0x00ff##sfx) 24) | \ +(((x) 0xff00##sfx) 40) | \ +(((x) 0x00ff##sfx) 56)) +#if defined(__GNUC__) +# define uswap_64(x) _uswap_64(x, ull) +#else +# define uswap_64(x) _uswap_64(x, ) +#endif + +#if __BYTE_ORDER == __LITTLE_ENDIAN +# define cpu_to_le16(x)(x) +# define cpu_to_le32(x)(x) +# define cpu_to_le64(x)(x) +# define le16_to_cpu(x)(x) +# define le32_to_cpu(x)(x) +# define le64_to_cpu(x)(x) +# define cpu_to_be16(x)uswap_16(x) +# define cpu_to_be32(x)uswap_32(x) +# define cpu_to_be64(x)uswap_64(x) +# define be16_to_cpu(x)uswap_16(x) +# define be32_to_cpu(x)uswap_32(x) +# define be64_to_cpu(x)uswap_64(x) +#else +# define cpu_to_le16(x)uswap_16(x) +# define cpu_to_le32(x)uswap_32(x) +# define cpu_to_le64(x)uswap_64(x) +# define le16_to_cpu(x)uswap_16(x) +# define le32_to_cpu(x)uswap_32(x) +# define le64_to_cpu(x)uswap_64(x) +# define cpu_to_be16(x)(x) +# define cpu_to_be32(x)(x) +# define cpu_to_be64(x)(x) +# define be16_to_cpu(x)(x) +# define be32_to_cpu(x)(x) +# define be64_to_cpu(x)(x) +#endif + +#else /* !USE_HOSTCC */ + +#include linux/string.h +#include linux/types.h +#include asm/byteorder.h + +/* Types for `void *' pointers. */ +#if __WORDSIZE == 64 +typedef unsigned long int uintptr_t; +#else +typedef unsigned intuintptr_t; +#endif + +#endif + +#endif diff --git a/include/elf.h b/include/elf.h index f640388..29f276d 100644 --- a/include/elf.h +++ b/include/elf.h @@ -33,15 +33,7 @@ #ifndef _ELF_H #define _ELF_H -#if defined(__BEOS__) || \ -defined(__NetBSD__) || \ -defined(__FreeBSD__) || \ -defined(__sun__)|| \ -defined(__APPLE__) -#include inttypes.h -#elif (defined(__linux__) defined(USE_HOSTCC)) || defined(__WIN32__) -#include stdint.h -#endif +#include compiler.h /* * This version doesn't work for 64-bit ABIs - Erik. diff --git a/include/environment.h b/include/environment.h index 507e832..5bed32f 100644
Re: [U-Boot] [PATCH] usb: fix CONFIG_SYS_MPC83xx_USB_ADDR not defined error
Hello, 2009/6/15 Kim Phillips kim.phill...@freescale.com: fix a stray CONFIG_MPC83XX that escaped commit 0f898604945af4543c1525fc33b6bae621a3b805. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- include/usb/ehci-fsl.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/usb/ehci-fsl.h b/include/usb/ehci-fsl.h index 1140561..3b99456 100644 --- a/include/usb/ehci-fsl.h +++ b/include/usb/ehci-fsl.h Applied to u-boot-usb. Thanks. Remy ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] kallsyms: fix escaping of NUL char in strings
erp, globbed too many files when sending out -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] kallsyms: fix escaping of NUL char in strings
Dear Mike Frysinger, In message 200906151443.41007.vap...@gentoo.org you wrote: erp, globbed too many files when sending out What does that mean? 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: w...@denx.de He'd been wrong, there _was_ a light at the end of the tunnel, and it was a flamethrower. - Terry Pratchett, _Mort_ ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] Driver for SDHC controller on IMX27
Hi Ilya/Fabio, I followed your guidelines for trying to use the MX27 SDHC driver/MMC framework as the base code and make appropiate mods to make it work on the MX31 PDK board but i have been unsuccessful till this point. i had left this task off at a point because of higher priorities. Do you know if there is an existing driver to make SD cards work on uboot. Thanks, Alfred. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 3/7] fec_imx27: driver for FEC ethernet controller on i.MX27
On 06/15/09 10:01, Johan wrote: I have trouble using your patch together with our LogicPD iMX27 Litekit. Seems like the FEC driver does not work well. Here is some output from when I try to load files with tftp snip Loading: #T #T #T T# #T ##T T #T T # Retry count exceeded; starting again snip I have downloaded the imx27lite head from the u-boot testing branch. I have also tried to patch the u-boot-2009.06-rc3 branch with your patches, but it does not seem to be any different. Do you have any ideas what might be wrong? Did you have working ethernet before (with a different bootloader or in Linux)? Do you have the breakout board installed? I have the same board (but maybe an older revision; about a year old) and with the breakout board mounted my ethernet would behave the same way as yours. They routed the MII signals all the way to the headers on the breakout board, and that causes signal integrity problems. It could be that they fixed it on later revisions though (not sure). I'm using u-boot-v2, so I don't know anything about the u-boot fec driver. Eric ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Flash Errors in Building u-boot.2009.03 for mx31ads
Dear Yong Yang, In message 737b0be30906150750j28387c06u3a7ba7ffea736...@mail.gmail.com you wrote: I ran into a bunch of errors related to Flash and Net (e.g. undefined reference to 'flash_init'), when building u-boot for mx31ads. I cannot reproduce any such errors: - git checkout v2009.03 ... HEAD is now at e60beb1... Prepare 2009.03 - ./MAKEALL mx31ads Configuring for mx31ads board... textdata bss dec hex filename 1797204560 25228 209508 33264 ./u-boot Ditto for the current version: - git checkout v2009.06 ... HEAD is now at 6b1f78a... Prepare v2009.06 - ./MAKEALL mx31ads Configuring for mx31ads board... env_embedded.c:187: warning: string length '592' is greater than the length '509' ISO C90 compilers are required to support textdata bss dec hex filename 1804404584 25228 210252 3354c ./u-boot I checked include/configs/mx31ads.h, and it does use CFI flash configuration. Does anyone have ideas what might go wrong? Thanks Are you soure your source tree is OK, and your tool chain is working? 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: w...@denx.de An age is called Dark not because the light fails to shine, but because people refuse to see it. -- James Michener, Space ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH] fsl: remove _IO_BASE and KSEG1ADDR from board configuration files
The KSEG1ADDR macro used to be necessary for the RTL8139 Ethernet driver, but the code that used that macro was removed over a year ago, so board configuration files no longer need to define it. The _IO_BASE macro is also automatically defined to 0 if it isn't already set, so there's no need to define that macro either in the board configuration files. Signed-off-by: Timur Tabi ti...@freescale.com --- include/configs/MPC8349ITX.h |7 --- include/configs/MPC8536DS.h |6 -- include/configs/MPC8544DS.h |6 -- include/configs/MPC8572DS.h |6 -- include/configs/MPC8610HPCD.h |4 include/configs/MPC8641HPCN.h |4 include/configs/P2020DS.h |6 -- 7 files changed, 0 insertions(+), 39 deletions(-) diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h index f2e574b..d4d3256 100644 --- a/include/configs/MPC8349ITX.h +++ b/include/configs/MPC8349ITX.h @@ -360,16 +360,9 @@ boards, we say we have two, but don't display a message if we find only one. */ #define CONFIG_SYS_PCI2_IO_SIZE0x0100 /* 16M */ #endif -#define _IO_BASE 0x /* points to PCI I/O space */ - #define CONFIG_NET_MULTI #define CONFIG_PCI_PNP /* do pci plug-and-play */ -#ifdef CONFIG_RTL8139 -/* This macro is used by RTL8139 but not defined in PPC architecture */ -#define KSEG1ADDR(x) (x) -#endif - #ifndef CONFIG_PCI_PNP #define PCI_ENET0_IOADDR 0x #define PCI_ENET0_MEMADDR CONFIG_SYS_PCI2_MEM_BASE diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h index 9e00b89..7085d28 100644 --- a/include/configs/MPC8536DS.h +++ b/include/configs/MPC8536DS.h @@ -427,12 +427,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy); #undef CONFIG_TULIP #undef CONFIG_RTL8139 -#ifdef CONFIG_RTL8139 -/* This macro is used by RTL8139 but not defined in PPC architecture */ -#define KSEG1ADDR(x) ({u32 _x=le32_to_cpu(*(u32 *)(x)); (_x);}) -#define _IO_BASE 0x -#endif - #ifndef CONFIG_PCI_PNP #define PCI_ENET0_IOADDRCONFIG_SYS_PCI1_IO_BUS #define PCI_ENET0_MEMADDR CONFIG_SYS_PCI1_IO_BUS diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h index 59cfde6..1d8fecf 100644 --- a/include/configs/MPC8544DS.h +++ b/include/configs/MPC8544DS.h @@ -340,12 +340,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); #undef CONFIG_TULIP #define CONFIG_RTL8139 -#ifdef CONFIG_RTL8139 -/* This macro is used by RTL8139 but not defined in PPC architecture */ -#define KSEG1ADDR(x) (x) -#define _IO_BASE 0x -#endif - #ifndef CONFIG_PCI_PNP #define PCI_ENET0_IOADDRCONFIG_SYS_PCI1_IO_BUS #define PCI_ENET0_MEMADDR CONFIG_SYS_PCI1_IO_BUS diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h index 2aba689..c7385e4 100644 --- a/include/configs/MPC8572DS.h +++ b/include/configs/MPC8572DS.h @@ -484,12 +484,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy); #undef CONFIG_TULIP #undef CONFIG_RTL8139 -#ifdef CONFIG_RTL8139 -/* This macro is used by RTL8139 but not defined in PPC architecture */ -#define KSEG1ADDR(x) (x) -#define _IO_BASE 0x -#endif - #ifndef CONFIG_PCI_PNP #define PCI_ENET0_IOADDRCONFIG_SYS_PCIE3_IO_BUS #define PCI_ENET0_MEMADDR CONFIG_SYS_PCIE3_IO_BUS diff --git a/include/configs/MPC8610HPCD.h b/include/configs/MPC8610HPCD.h index 1091043..2f40ef4 100644 --- a/include/configs/MPC8610HPCD.h +++ b/include/configs/MPC8610HPCD.h @@ -280,10 +280,6 @@ #define CONFIG_SYS_PCI1_IO_VIRT0xe100 #define CONFIG_SYS_PCI1_IO_SIZE0x0010 /* 1M */ -/* For RTL8139 */ -#define KSEG1ADDR(x) ({u32 _x = le32_to_cpu(*(u32 *)(x)); (_x); }) -#define _IO_BASE 0x - /* controller 1, Base address 0xa000 */ #define CONFIG_SYS_PCIE1_MEM_BUS 0xa000 #define CONFIG_SYS_PCIE1_MEM_PHYS CONFIG_SYS_PCIE1_MEM_BUS diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h index d8042fb..de2cf1a 100644 --- a/include/configs/MPC8641HPCN.h +++ b/include/configs/MPC8641HPCN.h @@ -348,10 +348,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); | CONFIG_SYS_PHYS_ADDR_HIGH) #define CONFIG_SYS_PCI1_IO_SIZE0x0001 /* 64K */ -/* For RTL8139 */ -#define KSEG1ADDR(x) ({u32 _x=le32_to_cpu(*(u32 *)(x)); (_x);}) -#define _IO_BASE 0x - #ifdef CONFIG_PHYS_64BIT /* * Use the same PCI bus address on PCI1 and PCI2 if we have PHYS_64BIT. diff --git a/include/configs/P2020DS.h b/include/configs/P2020DS.h index a39ff26..443bc40 100644 --- a/include/configs/P2020DS.h +++ b/include/configs/P2020DS.h @@ -517,12 +517,6 @@ extern unsigned long calculate_board_ddr_clk(unsigned long dummy); #undef CONFIG_TULIP #define
Re: [U-Boot] Flash Errors in Building u-boot.2009.03 for mx31ads
I downloaded the source tar files from the FTP site, instead of from git. My cross-compiler is arm-elf-gcc from http://www.gnuarm.org/ It seems my tool chain works, since I maked images for omap5112osk successfully. :((( On Mon, Jun 15, 2009 at 4:16 PM, Wolfgang Denk w...@denx.de wrote: Dear Yong Yang, In message 737b0be30906150750j28387c06u3a7ba7ffea736...@mail.gmail.com you wrote: I ran into a bunch of errors related to Flash and Net (e.g. undefined reference to 'flash_init'), when building u-boot for mx31ads. I cannot reproduce any such errors: - git checkout v2009.03 ... HEAD is now at e60beb1... Prepare 2009.03 - ./MAKEALL mx31ads Configuring for mx31ads board... textdata bss dec hex filename 1797204560 25228 209508 33264 ./u-boot Ditto for the current version: - git checkout v2009.06 ... HEAD is now at 6b1f78a... Prepare v2009.06 - ./MAKEALL mx31ads Configuring for mx31ads board... env_embedded.c:187: warning: string length '592' is greater than the length '509' ISO C90 compilers are required to support textdata bss dec hex filename 1804404584 25228 210252 3354c ./u-boot I checked include/configs/mx31ads.h, and it does use CFI flash configuration. Does anyone have ideas what might go wrong? Thanks Are you soure your source tree is OK, and your tool chain is working? 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: w...@denx.de An age is called Dark not because the light fails to shine, but because people refuse to see it. -- James Michener, Space ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] newbie question about patch to fix 'fatal: cannot describe'
Hi All, This is my first posting to the list and I just joined the mailing list about a week ago. Plus I am pretty new to the open source world as well, so please send me pointers to where to look things up if the posting is not inappropriate or does not belong here. Any time I build U-Boot from my git checkout I receive the 'fatal: cannot describe' message. Googling quickly got me to the solution: A fix for similar behaviour in the kernel was fixed a while ago, basically it is a problem in setlocalversion. So I took the two relevant patches (instead of the full file because it looks like u-boot has it's own version of that file) and applied them to my repository. This is my patch: commit ec6609f492e41594715c4764ae7c0994e9e70270 Author: Rainer Keller rkel...@ubicom.com Date: Mon Jun 15 12:55:50 2009 -0700 combined two kernel patches to fix git describe errors in tools/setlocalversion: Commit f03b283f081f538ec71b9e87cb8411bb62e2abc9 and Commit 56b2f0706d82535fd8d85503f2dcc0be40c8e55d diff --git a/tools/setlocalversion b/tools/setlocalversion index b3f5f28..aca9d63 100755 --- a/tools/setlocalversion +++ b/tools/setlocalversion @@ -9,11 +9,15 @@ usage() { cd ${1:-.} || usage # Check for git and a git repo. -if head=`git rev-parse --verify HEAD 2/dev/null`; then +if head=`git rev-parse --verify --short HEAD 2/dev/null`; then # Do we have an untagged version? if git name-rev --tags HEAD | \ grep -E '^HEAD[[:space:]]+(.*~[0-9]*|undefined)$' /dev/null; then - git describe | awk -F- '{printf(-%05d-%s, $(NF-1),$(NF))}' + if tag=`git describe 2/dev/null`; then + echo $tag | awk -F- '{printf(-%05d-%s, $(NF-1),$(NF))}' + else + printf '%s%s' -g $head + fi fi # Are there uncommitted changes? So here are my questions: Obviously that is not my code, do I still add my `Signed-off-by'? Should I add the comments from the original commits to the kernel or it is ok to just refer to the commits? I don't have a publicly accessible git repository to ask a custodian to pull from and from checking the custodian list it looks like this is Wolfgang's area. Is it ok to just post it as is and expect him to apply it out of the email? If these seem to be slighly overly careful questions please consider that over time Ubicom would like to add a complete additional architecture with dozens of boards and we'll have a lot more newbie questions, so I want to start as polite as I can :) Best Regards, Rainer Keller ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 1/6] sh7785lcr: fix out of tree build
Hi, Jean-Christophe PLAGNIOL-VILLARD. 2009/6/4 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nobuhiro Iwamatsu iwamatsu.nobuh...@renesas.com --- Makefile | 5 +++-- board/renesas/sh7785lcr/Makefile | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) Applied, thanks. Best regards, Nobuhiro -- Nobuhiro Iwamatsu ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Flash Errors in Building u-boot.2009.03 for mx31ads
Error was fixed by using another tool chain. On Mon, Jun 15, 2009 at 4:51 PM, Yong Yang yangyon...@gmail.com wrote: I downloaded the source tar files from the FTP site, instead of from git. My cross-compiler is arm-elf-gcc from http://www.gnuarm.org/ It seems my tool chain works, since I maked images for omap5112osk successfully. :((( On Mon, Jun 15, 2009 at 4:16 PM, Wolfgang Denk w...@denx.de wrote: Dear Yong Yang, In message 737b0be30906150750j28387c06u3a7ba7ffea736...@mail.gmail.com you wrote: I ran into a bunch of errors related to Flash and Net (e.g. undefined reference to 'flash_init'), when building u-boot for mx31ads. I cannot reproduce any such errors: - git checkout v2009.03 ... HEAD is now at e60beb1... Prepare 2009.03 - ./MAKEALL mx31ads Configuring for mx31ads board... textdata bss dec hex filename 1797204560 25228 209508 33264 ./u-boot Ditto for the current version: - git checkout v2009.06 ... HEAD is now at 6b1f78a... Prepare v2009.06 - ./MAKEALL mx31ads Configuring for mx31ads board... env_embedded.c:187: warning: string length '592' is greater than the length '509' ISO C90 compilers are required to support textdata bss dec hex filename 1804404584 25228 210252 3354c ./u-boot I checked include/configs/mx31ads.h, and it does use CFI flash configuration. Does anyone have ideas what might go wrong? Thanks Are you soure your source tree is OK, and your tool chain is working? 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: w...@denx.de An age is called Dark not because the light fails to shine, but because people refuse to see it. -- James Michener, Space ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] fsl: remove _IO_BASE and KSEG1ADDR from board configuration files
On Jun 15, 2009, at 4:53 PM, Timur Tabi wrote: The KSEG1ADDR macro used to be necessary for the RTL8139 Ethernet driver, but the code that used that macro was removed over a year ago, so board configuration files no longer need to define it. The _IO_BASE macro is also automatically defined to 0 if it isn't already set, so there's no need to define that macro either in the board configuration files. Signed-off-by: Timur Tabi ti...@freescale.com --- include/configs/MPC8349ITX.h |7 --- include/configs/MPC8536DS.h |6 -- include/configs/MPC8544DS.h |6 -- include/configs/MPC8572DS.h |6 -- include/configs/MPC8610HPCD.h |4 include/configs/MPC8641HPCN.h |4 include/configs/P2020DS.h |6 -- 7 files changed, 0 insertions(+), 39 deletions(-) Kim, do you want to ack this 8349itx and I'll pick it up. - k ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] mpc83xx: set 64BIT_VSPRINTF for boards using nand_util
On Jun 15, 2009, at 11:50 AM, Kim Phillips wrote: When enabling NAND support for a board, one must also define CONFIG_SYS_64BIT_VSPRINTF because this is needed in nand_util.c for correct output. Signed-off-by: Kim Phillips kim.phill...@freescale.com Cc: Dave Liu dave...@freescale.com Cc: Ron Madrid ron_mad...@sbcglobal.net Cc: Anton Vorontsov avoront...@ru.mvista.com --- include/configs/MPC8313ERDB.h |1 + include/configs/MPC8315ERDB.h |1 + include/configs/MPC8360ERDK.h |1 + include/configs/SIMPC8313.h |1 + 4 files changed, 4 insertions(+), 0 deletions(-) what about putting this dependency in include/asm-*/config.h - k ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] kallsyms: fix escaping of NUL char in strings
On Monday 15 June 2009 15:08:10 Wolfgang Denk wrote: Dear Mike Frysinger, In message 200906151443.41007.vap...@gentoo.org you wrote: erp, globbed too many files when sending out What does that mean? it means this patch isnt part of this small series -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 3/6 V2] sh: unify linker script
Dear ,Jean-Christophe PLAGNIOL-VILLARD. 2009/6/4 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: all sh boards use the same cpu linker script so move it to cpu/$(CPU) that could be overwrite in following order SOC BOARD via the corresponding config.mk tested on r2dplus Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nobuhiro Iwamatsu iwamatsu.nobuh...@renesas.com --- board/ms7722se/u-boot.lds | 96 board/ms7750se/u-boot.lds | 96 board/renesas/MigoR/u-boot.lds | 96 board/renesas/ap325rxa/u-boot.lds | 96 board/renesas/r2dplus/u-boot.lds | 96 board/renesas/r7780mp/u-boot.lds | 96 board/renesas/sh7763rdp/u-boot.lds | 96 board/renesas/sh7785lcr/u-boot.lds | 97 - {board/renesas/rsk7203 = cpu/sh2}/u-boot.lds | 0 {board/mpr2 = cpu/sh3}/u-boot.lds | 0 {board/ms7720se = cpu/sh4}/u-boot.lds | 12 ++-- sh_config.mk | 2 + 12 files changed, 8 insertions(+), 775 deletions(-) delete mode 100644 board/ms7722se/u-boot.lds delete mode 100644 board/ms7750se/u-boot.lds delete mode 100644 board/renesas/MigoR/u-boot.lds delete mode 100644 board/renesas/ap325rxa/u-boot.lds delete mode 100644 board/renesas/r2dplus/u-boot.lds delete mode 100644 board/renesas/r7780mp/u-boot.lds delete mode 100644 board/renesas/sh7763rdp/u-boot.lds delete mode 100644 board/renesas/sh7785lcr/u-boot.lds rename {board/renesas/rsk7203 = cpu/sh2}/u-boot.lds (100%) rename {board/mpr2 = cpu/sh3}/u-boot.lds (100%) rename {board/ms7720se = cpu/sh4}/u-boot.lds (95%) Applied, thanks. Best regards. Nobuhiro -- Nobuhiro Iwamatsu ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 4/6] sh: introduce clock framework
Dear, Jean-Christophe PLAGNIOL-VILLARD 2009/6/4 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nobuhiro Iwamatsu iwamatsu.nobuh...@renesas.com --- include/asm-sh/clk.h | 35 +++ 1 files changed, 35 insertions(+), 0 deletions(-) create mode 100644 include/asm-sh/clk.h Applied, thanks. Best regards, Nobuhiro -- Nobuhiro Iwamatsu ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 5/6] sh3/sh4: fix CONFIG_SYS_HZ to 1000
Dear, Jean-Christophe PLAGNIOL-VILLARD. 2009/6/4 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nobuhiro Iwamatsu iwamatsu.nobuh...@renesas.com --- include/configs/MigoR.h | 2 +- include/configs/ap325rxa.h | 2 +- include/configs/mpr2.h | 2 +- include/configs/ms7720se.h | 2 +- include/configs/ms7722se.h | 2 +- include/configs/ms7750se.h | 2 +- include/configs/r2dplus.h | 2 +- include/configs/r7780mp.h | 2 +- include/configs/sh7763rdp.h | 2 +- include/configs/sh7785lcr.h | 2 +- lib_sh/time.c | 51 -- 11 files changed, 44 insertions(+), 27 deletions(-) Applied , thanks. Best regards, Nobuhiro -- Nobuhiro Iwamatsu ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 6/6] sh3/sh4: rename config option TMU_CLK_DIVIDER to CONFIG_SYS_TMU_CLK_DIV
Dear, Jean-Christophe PLAGNIOL-VILLARD. 2009/6/4 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nobuhiro Iwamatsu iwamatsu.nobuh...@renesas.com --- include/configs/MigoR.h | 2 +- include/configs/ap325rxa.h | 2 +- include/configs/mpr2.h | 2 +- include/configs/ms7720se.h | 2 +- include/configs/ms7722se.h | 2 +- include/configs/ms7750se.h | 2 +- include/configs/r2dplus.h | 2 +- include/configs/r7780mp.h | 2 +- include/configs/sh7763rdp.h | 2 +- include/configs/sh7785lcr.h | 2 +- lib_sh/time.c | 4 ++-- 11 files changed, 12 insertions(+), 12 deletions(-) I checked some board. Work file. Applied, thanks. Best regards. Nobuhiro -- Nobuhiro Iwamatsu ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 2/6 V2] sh: make the linker scripts more generic
Dear, Jean-Christophe PLAGNIOL-VILLARD. 2009/6/4 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: currently we need to sync the linker script enty and TEXT_BASE manualy and the reloc_dst is based on it instead provide it now from the ldflags tested on r2dplus Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nobuhiro Iwamatsu iwamatsu.nobuh...@renesas.com --- Makefile | 5 -- board/mpr2/u-boot.lds | 13 + board/ms7720se/u-boot.lds | 15 + board/ms7722se/u-boot.lds | 15 + board/ms7750se/u-boot.lds | 15 + board/renesas/MigoR/u-boot.lds | 15 + board/renesas/ap325rxa/u-boot.lds | 15 + board/renesas/r2dplus/u-boot.lds | 15 + board/renesas/r7780mp/u-boot.lds | 15 + board/renesas/rsk7203/u-boot.lds | 10 +--- board/renesas/sh7763rdp/u-boot.lds | 15 + board/renesas/sh7785lcr/u-boot.lds | 7 ++- board/renesas/sh7785lcr/u-boot_29bit | 96 -- board/renesas/sh7785lcr/u-boot_32bit | 96 -- sh_config.mk | 1 + 15 files changed, 34 insertions(+), 314 deletions(-) delete mode 100644 board/renesas/sh7785lcr/u-boot_29bit delete mode 100644 board/renesas/sh7785lcr/u-boot_32bit Applied, thanks. Best regards, Nobuhiro -- Nobuhiro Iwamatsu ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot