From mboxrd@z Thu Jan 1 00:00:00 1970 From: vibi Date: Wed, 07 Mar 2007 09:36:18 +0530 Subject: [U-Boot-Users] U-Boot-Users Digest, Vol 10, Issue 18 In-Reply-To: References: Message-ID: <1173240378.3554.1.camel@cms> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 On Tue, 2007-03-06 at 05:12 -0800, u-boot-users-request at lists.sourceforge.net wrote: > Send U-Boot-Users mailing list submissions to > u-boot-users at lists.sourceforge.net > > To 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.net > > You can reach the person managing the list at > u-boot-users-owner at lists.sourceforge.net > > When 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 > Subject: Re: [U-Boot-Users] Changes to U-Boot Development Process > To: Wolfgang Denk > Cc: u-boot-users at lists.sourceforge.net > Message-ID: <20070306102847.GD6726@gundam.enneenne.com> > Content-Type: text/plain; charset=us-ascii > > On Tue, Mar 06, 2007 at 11:08:18AM +0100, Wolfgang Denk wrote: > > > > Let's see what Robert and Hans say... > > Ok. > > > 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 > > -- > > 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 > Subject: Re: [U-Boot-Users] Changes to U-Boot Development Process > To: "Aubrey Li" > Cc: u-boot-users at lists.sourceforge.net > Message-ID: <20070306104744.31E0F352604@atlas.denx.de> > Content-Type: text/plain; charset=ISO-8859-1 > > In message <27d85ee10703060129u26582066kc55912a9424cafe0@mail.gmail.com> you wrote: > > > > > 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 > > -- > 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" > Subject: Re: [U-Boot-Users] Changes to U-Boot Development Process > To: "Wolfgang Denk" > Cc: u-boot-users at lists.sourceforge.net > Message-ID: > <27d85ee10703060252k17563729y3310058562083ecf@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 3/6/07, Wolfgang Denk wrote: > > In message <27d85ee10703060129u26582066kc55912a9424cafe0@mail.gmail.com> you wrote: > > > > > > > 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 > > > Oh, It works. > Thanks, > -Aubrey > > > > ------------------------------ > > Message: 4 > Date: Tue, 06 Mar 2007 11:56:55 +0100 > From: Wolfgang Denk > Subject: Re: [U-Boot-Users] [PATCH] Delays for crappy USB keys > To: Rodolfo Giometti > Cc: u-boot-users at lists.sourceforge.net, mk at denx.de > Message-ID: <20070306105655.97895352B84@atlas.denx.de> > Content-Type: text/plain; charset=ISO-8859-1 > > In message <20070306101800.GA7521@gundam.enneenne.com> you wrote: > > > > I noticed that using this patch: > > > > diff --git a/common/usb.c b/common/usb.c > > index 0857494..087a65f 100644 > > --- a/common/usb.c > > +++ b/common/usb.c > > @@ -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 > > -- > 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 > Subject: Re: [U-Boot-Users] [PATCH] Delays for crappy USB keys > To: Wolfgang Denk > Cc: u-boot-users at lists.sourceforge.net, mk at denx.de > Message-ID: <20070306110220.GF6726@gundam.enneenne.com> > Content-Type: text/plain; charset=iso-8859-1 > > On Tue, Mar 06, 2007 at 11:56:55AM +0100, Wolfgang Denk wrote: > > In message <20070306101800.GA7521@gundam.enneenne.com> you wrote: > > > > > > I noticed that using this patch: > > > > > > diff --git a/common/usb.c b/common/usb.c > > > index 0857494..087a65f 100644 > > > --- a/common/usb.c > > > +++ b/common/usb.c > > > @@ -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? > > 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 > > -- > > 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" > Subject: Re: [U-Boot-Users] U-Boot Configuration file for mpc8343m > board > To: > Message-ID: > <29DC34A6B43468409F5A371CFE34E8490B65A2@ex01.ads.ubidyne.de> > 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 board > > In message <29DC34A6B43468409F5A371CFE34E8490B657F@ex01.ads.ubidyne.de> you wrote: > > > > Could anybody send me a working 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 > > -- > 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 > Subject: Re: [U-Boot-Users] Changes to U-Boot Development Process > To: u-boot-users at lists.sourceforge.net > Message-ID: <20070306124702.7F6BF352604@atlas.denx.de> > 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\)" > Subject: [U-Boot-Users] FW: mpc8343 could not boot on u-boot-1.2.0 > To: > Message-ID: > > 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 > ******************************************** >