U-Boot-Users Digest, Vol 10, Issue 18
A message that is not in the archive (sent off-list or not yet received): mailman.147872.1173186736.16820.u-boot-users@lists.sourceforge.net
hello frank,
could you please specify the link where you got how-to for customizing u-boot for my own board.
thanks in advance
regards
vibi sreenivasan
Quoted 452 lines · u-boot-users-request at lists.sourceforge.net
Send U-Boot-Users mailing list submissions to
u-boot-users at lists.sourceforge.netTo subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/u-boot-users
or, via email, send a message with subject or body 'help' to
u-boot-users-request at lists.sourceforge.netYou can reach the person managing the list at
u-boot-users-owner at lists.sourceforge.netWhen replying, please edit your Subject line so it is more specific than "Re: Contents of U-Boot-Users digest..."
Today's Topics:
1. Re: Changes to U-Boot Development Process (Rodolfo Giometti)
2. Re: Changes to U-Boot Development Process (Wolfgang Denk)
3. Re: Changes to U-Boot Development Process (Aubrey Li)
4. Re: [PATCH] Delays for crappy USB keys (Wolfgang Denk)
5. Re: [PATCH] Delays for crappy USB keys (Rodolfo Giometti)
6. Re: U-Boot Configuration file for mpc8343m board (Frank Prepelica)
7. Re: Changes to U-Boot Development Process (Wolfgang Denk)
8. FW: mpc8343 could not boot on u-boot-1.2.0
(Fowley, Douglas G (GE Infra, Energy))----------------------------------------------------------------------
Message: 1
Date: Tue, 6 Mar 2007 11:28:47 +0100
From: Rodolfo Giometti <[email protected]>
Subject: Re: [U-Boot-Users] Changes to U-Boot Development Process
To: Wolfgang Denk <[email protected]>
Cc: u-boot-users at lists.sourceforge.net
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-asciiQuoted 2 lines · Wolfgang Denk
Let's see what Robert and Hans say...
Ok.
Quoted 3 lines
Good idea, but let's use a more general name and not restrict it to LCD; I'll set up a u-boot-video repo. Please send me your public SSH key.
I'll send it privately. :)
Thanks,
Rodolfo
Signature · 17 lines
GNU/Linux Solutions e-mail: giometti at enneenne.com Linux Device Driver giometti at gnudd.com Embedded Systems giometti at linux.it UNIX programming phone: +39 349 2432127 ------------------------------ Message: 2 Date: Tue, 06 Mar 2007 11:47:44 +0100 From: Wolfgang Denk <[email protected]> Subject: Re: [U-Boot-Users] Changes to U-Boot Development Process To: "Aubrey Li" <[email protected]> Cc: u-boot-users at lists.sourceforge.net Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1Quoted 8 lines · In message <[email protected]> you…
Quoted 4 lines
For cloning you can use http (or even rsync) as well. But to push your changes back, you need SSH (+ git).
Sorry, it doesn't work on my side.
aubrey at ubuntu-feisty:/tmp$ git-clone http://www.denx.de/git/u-boot-blackfin u-boot-blackfin Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?You must append ".git" to the repo name. Please try again with
git-clone http://www.denx.de/git/u-boot-blackfin.git u-boot-blackfin
Best regards,
Wolfgang Denk
Signature · 19 lines
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Wait! You have not been prepared! -- Mr. Atoz, "Tomorrow is Yesterday", stardate 3113.2 ------------------------------ Message: 3 Date: Tue, 6 Mar 2007 18:52:13 +0800 From: "Aubrey Li" <[email protected]> Subject: Re: [U-Boot-Users] Changes to U-Boot Development Process To: "Wolfgang Denk" <[email protected]> Cc: u-boot-users at lists.sourceforge.net Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowedQuoted 5 lines · Wolfgang Denk
Quoted 4 lines · In message <[email protected]> you…
Quoted 4 lines
For cloning you can use http (or even rsync) as well. But to push your changes back, you need SSH (+ git).
Quoted 9 lines
Quoted 4 lines
Sorry, it doesn't work on my side.
aubrey at ubuntu-feisty:/tmp$ git-clone http://www.denx.de/git/u-boot-blackfin u-boot-blackfin Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?You must append ".git" to the repo name. Please try again with
git-clone http://www.denx.de/git/u-boot-blackfin.git u-boot-blackfin
Oh, It works.
Thanks,
-Aubrey------------------------------
Message: 4
Date: Tue, 06 Mar 2007 11:56:55 +0100
From: Wolfgang Denk <[email protected]>
Subject: Re: [U-Boot-Users] [PATCH] Delays for crappy USB keys
To: Rodolfo Giometti <[email protected]>
Cc: u-boot-users at lists.sourceforge.net, mk at denx.de
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1Quoted 8 lines · In message <[email protected]> you wrote:
I noticed that using this patch:
common/usb.c +0
-0common/usb.c #undef USB_DEBUG · line 67
Quoted 8 lines
common/usb.c +1
-1@@ -61,7 +61,7 @@ #undef USB_DEBUG#ifdef USB_DEBUG #define USB_PRINTF(fmt,args...) printf (fmt ,##args)#else -#define USB_PRINTF(fmt,args...) +#define USB_PRINTF(fmt,args...) wait_ms(1) /* for crappy USB keys... */#endif allows crappy USB keys to work well. :)Ummm.. I guess I don't have to tell you that this is just a pretty dirty hack; can you please try to find out where exactly the delay should be added to the code?
Best regards,
Wolfgang Denk
Signature · 18 lines
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A door is what a dog is perpetually on the wrong side of. - Ogden Nash ------------------------------ Message: 5 Date: Tue, 6 Mar 2007 12:02:21 +0100 From: Rodolfo Giometti <[email protected]> Subject: Re: [U-Boot-Users] [PATCH] Delays for crappy USB keys To: Wolfgang Denk <[email protected]> Cc: u-boot-users at lists.sourceforge.net, mk at denx.de Message-ID: <[email protected]> Content-Type: text/plain; charset=iso-8859-1Quoted 16 lines · Wolfgang Denk
Quoted 15 lines · In message <[email protected]> you wrote:
I noticed that using this patch:
common/usb.c +1
-1@@ -61,7 +61,7 @@ #undef USB_DEBUG#ifdef USB_DEBUG #define USB_PRINTF(fmt,args...) printf (fmt ,##args)#else -#define USB_PRINTF(fmt,args...) +#define USB_PRINTF(fmt,args...) wait_ms(1) /* for crappy USB keys... */#endif Quoted 5 lines
common/usb.c #undef USB_DEBUG · line 67
Quoted 1 line
common/usb.c +0
-0allows crappy USB keys to work well. :)Ummm.. I guess I don't have to tell you that this is just a pretty dirty hack; can you please try to find out where exactly the delay should be added to the code?
You are right but after putting some delays around the code I preferred to use this ??dirty hack! :)
However as soon as I have more free time I'll try to find out where exactly I should add the delay.
Ciao,
Rodolfo
Signature · 39 lines
GNU/Linux Solutions e-mail: giometti at enneenne.com Linux Device Driver giometti at gnudd.com Embedded Systems giometti at linux.it UNIX programming phone: +39 349 2432127 ------------------------------ Message: 6 Date: Tue, 6 Mar 2007 12:03:43 +0100 From: "Frank Prepelica" <[email protected]> Subject: Re: [U-Boot-Users] U-Boot Configuration file for mpc8343m board To: <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" Hi Wolfgang, Of course, you are right. But I have to admit that I'm a little bit overburdened in that. I found a how-to for customizing u-boot for my own board. I followed the Steps and "only" the configuration file is missing. If its don't working, I can at least exclude that point. Is there maybe a patch or something else to get the necessary files? Thanks for advance Best regards, Frank -----Urspr?ngliche Nachricht----- Von: wd at denx.de [mailto:wd at denx.de] Gesendet: Dienstag, 6. M?rz 2007 11:14 An: Frank Prepelica Cc: u-boot-users at lists.sourceforge.net Betreff: Re: [U-Boot-Users] U-Boot Configuration file for mpc8343m boardQuoted 5 lines · In message <[email protected]> you…
Could anybody send me a working <
board.h> configuration file for our MPC8343m board. I tried to modify some similar configs in the U-Boot 1.2.0
package but no one works. I spent meanwhile 2 days to get this working.Porting U-Boot to new hardware requires more (much more!) than just copying a board config file.
Best regards,
Wolfgang Denk
Signature · 169 lines
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I think that all right-thinking people in this country are sick and tired of being told that ordinary decent people are fed up in this country with being sick and tired. I'm certainly not. But I'm sick and tired of being told that I am. - Monty Python ------------------------------ Message: 7 Date: Tue, 06 Mar 2007 13:47:02 +0100 From: Wolfgang Denk <[email protected]> Subject: Re: [U-Boot-Users] Changes to U-Boot Development Process To: u-boot-users at lists.sourceforge.net Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Hello, based on earlier input from Peter Pearse (thanks, Peter!) I added some initial draft for a descritpion of the U-Boot development process. You can find it at http://www.denx.de/wiki/UBoot/CustodianGitTrees Please review and comment. [Note: this is a wiki. Instead of sending your comments by e-mail, you also edit this document yourself.] Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The optimum committee has no members. - Norman Augustine ------------------------------ Message: 8 Date: Tue, 6 Mar 2007 08:11:26 -0500 From: "Fowley, Douglas G \(GE Infra, Energy\)" <[email protected]> Subject: [U-Boot-Users] FW: mpc8343 could not boot on u-boot-1.2.0 To: <[email protected]> Message-ID: <DC371AFF4D18C743BA0669222B13D0200296884B@CINMLVEM24.e2k.ad.ge.com> Content-Type: text/plain; charset="us-ascii" ________________________________ From: Dongying_Xu at us.alphanetworks.com [mailto:Dongying_Xu at us.alphanetworks.com] Sent: Monday, March 05, 2007 3:08 PM To: Fowley, Douglas G (GE Infra, Energy) Cc: u-boot-users at lists.sourceforge.net Subject: Re: [U-Boot-Users] mpc8343 could not boot on u-boot-1.2.0 Hi Doug, Are you using linux kernel? When you comment out 'enable address translation', can you successfully boot with linux kernel? When I comment out those line, it did help to boot until u-boot console shows up, but it failed to continue boot up with linux kernel. To make linux kernel working, I have to keep following old 1.1.3 version code in, which will cause another problem. Did you have similar problem? Thank you and best regards dongy un_setup_stack_in_data_cache: blr mr r14, r4 mr r15, r5 lis r4, (CFG_INIT_RAM_ADDR & 0xFFFE0000)@h mtspr DBAT0U, r4 ori r4, r4, 0x0002 mtspr DBAT0L, r4 isync /* un lock all the D-cache */ mfspr r4, HID0 lis r5, (~(HID0_DLOCK))@h ori r5, r5, (~(HID0_DLOCK))@l and r4, r4, r5 sync mtspr HID0 , r4 /* Re - Allocate Initial RAM in data cache.*/ li r0, 0 lis r4, (CFG_INIT_RAM_ADDR)@h ori r4, r4, (CFG_INIT_RAM_ADDR)@l li r5, 128*8 /* 128*8*32=32Kb */ mtctr r5 1: dcbz r0, r4 addi r4, r4, 32 bdnz 1b isync mflr r16 bl dcache_disable mtlr r16 blr Hi Dongy, I do not use Linux; I run QNX Neutrino. But I did have a similar problem running QNX when I switched to U-Boot 1.1.4 and beyond. U-Boot began leaving the data cache enabled with that version. Note that the last part of 1.1.3 snippet that you still use (above) disables the data cache. I fixed it for QNX by adding "CFG_COMMAND_CACHE" to "CONFIG_COMMANDS" in my board header file in include/configs, and adding "dcache off; " to the appropriate spot in the bootcmd environment variable. In my case, #define CONFIG_BOOTCOMMAND "tftp ${loadaddr} ${ifsfile}; " \ "dcache off; " \ "go ${loadaddr}" Since my disable address translation trick got your U-Boot up and running, I suggest trying my data cache hack for Linux and reporting back. Regards, Doug -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ------------------------------ _______________________________________________ U-Boot-Users mailing list U-Boot-Users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users End of U-Boot-Users Digest, Vol 10, Issue 18 ********************************************