[U-Boot] (no subject)
http://harolapi.com/oldtemp/kvkknn.htm";>http://harolapi.com/oldtemp/kvkknn.htm___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] (no subject)
http://www.locksplususa.com/images/vfst.htm";>http://www.locksplususa.com/images/vfst.htm___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] (no subject)
http://knihyprodospele.gax.cz/oldtemp/thtwohrr.htm";>http://knihyprodospele.gax.cz/oldtemp/thtwohrr.htm___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] (no subject)
http://likvidacestromu.cz/oldtemp/htcgrw.htm";>http://likvidacestromu.cz/oldtemp/htcgrw.htm___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] (no subject)
http://tjtintas.com.br/google.php___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Ramdisk - allocation error
I am using u-boot 2009.08 version. Issue has been resolved. Problem: I am using Dma to initialize DDR and minidma required cache bit enable for DDR, because of cache enabled I was getting lmb->memory.region[i].size = 0 and end-up with an error "ramdisk - allocation error" Solution: I have disabled the DDR cache just after DDR initialization by DMA. --- On Thu, 23/9/10, Wolfgang Denk wrote: From: Wolfgang Denk Subject: Re: Ramdisk - allocation error To: "Ronny D" Cc: "Stefan Roese" , "U-boot" Date: Thursday, 23 September, 2010, 9:41 AM Dear Ronny D, In message <799862.6988...@web46115.mail.sp1.yahoo.com> you wrote: > > I am using ppc440 based customised board. Which exact version of U-Boot are you running? And which board configuration is this? Is this mainline code, or some out-of-tree port? > While running the u-boot linux kernel uncompressed successfully but ramdisk > end-up with following error: > ERROR: Failed to allocate 0x80 bytes below 0x. > ramdisk - allocation error Please provide the complete boot log with all commands you entered, full, information about Linux kernel and ramdisk image (Output of the respective "iminfo" commands), and all U-Boot messages. 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 Carelessly planned projects take three times longer to complete than expected. Carefully planned projects take four times longer to complete than expected, mostly because the planners expect their planning to reduce the time it takes. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] Ramdisk - allocation error
Hi, I am using ppc440 based customised board. While running the u-boot linux kernel uncompressed successfully but ramdisk end-up with following error: ERROR: Failed to allocate 0x80 bytes below 0x. ramdisk - allocation error Regards, Ronny D. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] Problem in accessing Contex ram
Hi, I am using ppc440 based board. While running the u-boot form DDR i am not able to access contex ram. eg. md 0xc000 u-boot generates machine check exception. Here my doubt is can we access contex ram from u-boot running from DDR? ~Ronny ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] Accessing 64bit address
I am using ppc440 based board. Board is having 64bit memory controll register. To access the memory controll region i have added one tlb entry i.e tlbentry( 0xc70e, SZ_64K, 0xc70e, 0xf, AC_R|AC_X|AC_W|SA_I) What is the way to access the 64bit register in u-boot? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Linux kernel hang with FDT changes
Thanks jerry i verified the fdt fixup code and found problem with my DTB creation. By adding fixup for timebase-frequency in DTB kernel works fine. -Ronny --- On Wed, 16/6/10, Jerry Van Baren wrote: From: Jerry Van Baren Subject: Re: [U-Boot] Linux kernel hang with FDT changes To: "Ronny D" Cc: "Stefan Roese" , "U-boot" Date: Wednesday, 16 June, 2010, 3:01 AM Hi Ronny, Just adding to Stefan's comments... On Mon, 2010-06-14 at 13:27 +0200, Stefan Roese wrote: > Hi Ronny, > > On Monday 14 June 2010 12:00:38 Ronny D wrote: > > I am using customized ppc440 based board. > > BTW: Do you plan to send the U-Boot changes to the mailing list and some time? > > > We have created a .dtb file, u-boot should not update the file because of > > that we have added following macro in config file > > #define CONFIG_OF_LIBFDT 1 > > #undef CONFIG_OF_BOARD_SETUP Is there a reason you *don't* want the board setup to run? > > With the above change kernel code gets hang with following log: Without the fixup, linux hangs. [snip] > > When we debug the u-boot code by added the following flag > > #define CONFIG_OF_BOARD_SETUP 1 > > Kernel works fine. > > > > Is there any dependency of CONFIG_OF_BOARD_SETUP flag for .dtb file? With the fixup, it works. In all cases I'm aware of, the fixup is a *good* thing. Check the source to see what is being fixed up. The evidence is pretty clear that you want the fixup. > With CONFIG_OF_BOARD_SETUP defined, the function ft_board_setup() will be > called to modify the dtb before passing it to the Linux kernel. I suggest you > check the code to see, what exactly gets changed/patched by this routine. ...and it is a good thing to run unless you have specific reasons not to run it. If you really don't want to run the fixup, it is indicating you have a problem with your DTB (DTS) that you will have to figure out. As Stefan points out, the answer lies in the fixup code vs. your DTB. > Cheers, > Stefan Best regards, gvb ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Linux kernel hang with FDT changes
I compared ft_board_setup() body with my .dts file for missing parameters, difference was timebase-frequency. I have updated .dts file with the timebase-frequency parameter. Now working fine Thanks. Ronny --- On Mon, 14/6/10, Stefan Roese wrote: From: Stefan Roese Subject: Re: Linux kernel hang with FDT changes To: "Ronny D" Cc: "U-boot" Date: Monday, 14 June, 2010, 11:27 AM Hi Ronny, On Monday 14 June 2010 12:00:38 Ronny D wrote: > I am using customized ppc440 based board. BTW: Do you plan to send the U-Boot changes to the mailing list and some time? > We have created a .dtb file, u-boot should not update the file because of > that we have added following macro in config file > #define CONFIG_OF_LIBFDT 1 > #undef CONFIG_OF_BOARD_SETUP > > With the above change kernel code gets hang with following log: > > > Movable zone start PFN for each node > early_node_map[1] active PFN ranges > 0: 0x -> 0x0003 > MMU: Allocated 1088 bytes of context maps for 255 contexts > Built 1 zonelists in Zone order, mobility grouping on. Total pages: 195072 > Kernel command line: > PID hash table entries: 4096 (order: 12, 16384 bytes) > Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) > Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) > Memory: 755584k/786432k available (1860k kernel code, 30508k reserved, 112k > data , 60k bss, 116k init) > Kernel virtual memory layout: > * 0xe000..0xf000 : fixmap > * 0xfde0..0xfe00 : consistent mem > * 0xfddfe000..0xfde0 : early ioremap > * 0xf100..0xfddfe000 : vmalloc & ioremap > SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 > NR_IRQS:512 > UIC0 (32 IRQ sources) at DCR 0x20 > UIC1 (32 IRQ sources) at DCR 0x30 > UIC1 (32 IRQ sources) at DCR 0x60 > > > > > When we debug the u-boot code by added the following flag > #define CONFIG_OF_BOARD_SETUP 1 > Kernel works fine. > > Is there any dependency of CONFIG_OF_BOARD_SETUP flag for .dtb file? With CONFIG_OF_BOARD_SETUP defined, the function ft_board_setup() will be called to modify the dtb before passing it to the Linux kernel. I suggest you check the code to see, what exactly gets changed/patched by this routine. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: off...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] Linux kernel hang with FDT changes
Hi, I am using customized ppc440 based board. We have created a .dtb file, u-boot should not update the file because of that we have added following macro in config file #define CONFIG_OF_LIBFDT 1 #undef CONFIG_OF_BOARD_SETUP With the above change kernel code gets hang with following log: Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x -> 0x0003 MMU: Allocated 1088 bytes of context maps for 255 contexts Built 1 zonelists in Zone order, mobility grouping on. Total pages: 195072 Kernel command line: PID hash table entries: 4096 (order: 12, 16384 bytes) Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 755584k/786432k available (1860k kernel code, 30508k reserved, 112k data , 60k bss, 116k init) Kernel virtual memory layout: * 0xe000..0xf000 : fixmap * 0xfde0..0xfe00 : consistent mem * 0xfddfe000..0xfde0 : early ioremap * 0xf100..0xfddfe000 : vmalloc & ioremap SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:512 UIC0 (32 IRQ sources) at DCR 0x20 UIC1 (32 IRQ sources) at DCR 0x30 UIC1 (32 IRQ sources) at DCR 0x60 When we debug the u-boot code by added the following flag #define CONFIG_OF_BOARD_SETUP 1 Kernel works fine. Is there any dependency of CONFIG_OF_BOARD_SETUP flag for .dtb file? Ronny ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] WARNING: adjusting available memory to 30000000
I am using customized ppc440 based board having 4GB DDR3 memory sorry by mistake i put DDR3 size = 4GB instead of 1GB. --- On Wed, 5/5/10, Ronny D wrote: From: Ronny D Subject: WARNING: adjusting available memory to 3000 To: "Wolfgang Denk" , "Stefan Roese" Cc: "U-boot" Date: Wednesday, 5 May, 2010, 12:28 PM Hi, I am using customized ppc440 based board having 4GB DDR3 memory. While running u-boot I am getting “WARNING: adjusting available memory to 3000” messege. Further debugging I came to know that CONFIG_SYS_LINUX_LOWMEM_MAX_SIZE is set to 0x3000 and my ddr size come to 0x4000 Please let me know is u-boot supports upto 0x3000 or I can modify CONFIG_SYS_LINUX_LOWMEM_MAX_SIZE macro to 0x4000. Regards,Ronny ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] Compilation Problem with u-boot-2009.08
I am compiling the u-boot-2009.08.tar.bz2 code for PPC440 based Taishan board. To debug the code i put u-boot in debug mode i.e enable the debug mode by commented out DBGFLAGS= -g -DDEBUG in top level config.mk With this debug flag i am not able to compile the code. Please let me know is there any fix for this ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] WARNING: adjusting available memory to 30000000
Hi, I am using customized ppc440 based board having 4GB DDR3 memory. While running u-boot I am getting “WARNING: adjusting available memory to 3000” messege. Further debugging I came to know that CONFIG_SYS_LINUX_LOWMEM_MAX_SIZE is set to 0x3000 and my ddr size come to 0x4000 Please let me know is u-boot supports upto 0x3000 or I can modify CONFIG_SYS_LINUX_LOWMEM_MAX_SIZE macro to 0x4000. Regards,Ronny ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] DDR3 Support
Hi, Is u-boot supports DDR3 and if you how it going is to manage burst memory copy and cache flush? ~Ronny ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] tlbentry for U3 bit
I am using ppc440 based board. I have added one tlbentry in init.S for memctrl register with U3 bit enable. When I check the tlb entry through BDI I found that U3 bit is disabled. I have done the same thing using change_tlb then I have seen U3 bit enabled through BDI. Please let me know Is there any limitation of init.S for setting tlbenty with U3 bit enable? -Ronny Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Bad Data CRC ERROR: can't get kernel image!
Yes i am running little endian kernel, but this error comes in both little as well as big endian kernel. --- On Thu, 15/4/10, Detlev Zundel wrote: From: Detlev Zundel Subject: Re: [U-Boot] Bad Data CRC ERROR: can't get kernel image! To: "Ronny D" Cc: "U-boot" Date: Thursday, 15 April, 2010, 3:37 PM Hi Ronny, > I used "iminfo 0xffdc" and got following log > Image Name: Linux-2.6.31-LE Just out of curiosity - does the "-LE" mean that you do have a little-endian linux running on this platform? Cheers Detlev -- Those who do not understand Unix are condemned to reinvent it, poorly. - Henry Spencer, University of Toronto Unix hack -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Bad Data CRC ERROR: can't get kernel image!
Hi Detlev, I used "iminfo 0xffdc" and got following log Image Name: Linux-2.6.31-LE Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 936145 Bytes = 914.2 kB Load Address: Entry Point: Bad Data CRC Here i am confused that if i comment the verification of kernel header then kernel commend prompts come. so not sure about image is corrupt or not. Is there any dependency of mkimage? -Ronny --- On Thu, 15/4/10, Detlev Zundel wrote: From: Detlev Zundel Subject: Re: [U-Boot] Bad Data CRC ERROR: can't get kernel image! To: "Ronny D" Cc: "U-boot" Date: Thursday, 15 April, 2010, 9:49 AM Hi Ronny, > Bad Data CRC > > > ERROR: can't get kernel image! [...] > Please let me know your input on this. Well your data seems to be corrupt - what more can we say? What does "imi 0xffdc" say? Maybe you did not flash the whole image correctly? E.g. did you see error message about non-erased flash? Cheers Detlev -- Test applications with a variety of tools. Don't assume everything works if you've tested with only one client. Also, assume the low end of technology for clients and don't create applications which can only be used by Graphical User Interfaces. -- RFC 1855 -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] Bad Data CRC ERROR: can't get kernel image!
I am using u-boot version 2009-08 for customized PPC 440 based board. Board is having 16MB Nor flash. I am flashing the kernel image at 0xffdc, ramdisk at 0xff8c and dtb at 0xff20 When I pass bootm command through u-boot prompt i.e “bootm 0xffdc 0xff8c 0xff20” Kernel booting stops with following error message. ## Booting kernel from Legacy Image at ffdc ... Image Name: Linux-2.6.31-LE Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 936145 Bytes = 914.2 kB Load Address: Entry Point: Bad Data CRC ERROR: can't get kernel image! When I print the data that we calculated in image_check_dcrc() I found foloowing difference: Calculated DCRC Data : 0xffdc0040 Len: 0xe48d1 dcrc: 0x5fe26d1e From image_get_dcrc function DCRC: 0x72e08293 And hence return (dcrc == image_get_dcrc (hdr)) this condition become false. Please let me know your input on this. -Ronny Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] Problem with u-boot-2009.08.tar.bz2
I am using u-boot-2009.08.tar.bz2 version for my board. while compiling the u-boot in debug mode i am getting following error. Please let me know if there is any fixup for this issue. werpc__ -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float -Wa,-m440 -mcpu=440 -DCONFIG_440=1 -Iinclude -Wall -Wstrict-prototypes -fno-stack-protector -o zlib.o zlib.c -c zlib.c:90:19: error: stdio.h: No such file or directory zlib.c: In function 'inflate_fast': zlib.c:513: warning: implicit declaration of function 'fprintf' zlib.c:513: error: 'stderr' undeclared (first use in this function) zlib.c:513: error: (Each undeclared identifier is reported only once zlib.c:513: error: for each function it appears in.) zlib.c: In function 'inflateReset': zlib.c:1053: error: 'stderr' undeclared (first use in this function) zlib.c: In function 'inflateInit2_': zlib.c:1078: error: 'stderr' undeclared (first use in this function) zlib.c: In function 'inflate': zlib.c:1429: error: 'stderr' undeclared (first use in this function) zlib.c: In function 'inflateEnd': zlib.c:1972: error: 'stderr' undeclared (first use in this function) zlib.c: In function 'z_error': zlib.c:2010: error: 'stderr' undeclared (first use in this function) zlib.c:2014: warning: implicit declaration of function 'exit' make[1]: *** [zlib.o] Error 1 make[1]: Leaving directory `/home/anup/TBolt/08_04_10/u-boot-2009.08/lib_generic' make: *** [lib_generic/libgeneric.a] Error 2 Regards, Ronny D The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] Loading and Running u-boot from context RAM
Hello, I am working on PPC440 based customized board having 4MB context ram. what are all changes need to perform to skip relocation of u-boot in DDR and relocated it to context ram and run from the same location. ~Ronny The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] U-boot compilation for little endian
Hi Stefan, I am using customized ppc440 based board. We need u-boot in little endian. Will it possible to compile the u-boot source in little endian for ppc440? Regards, Ronny D The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] I2C Register
Stefan, My Customized ppc4xx I2C interface provides two I2C controllers. so i think we will have to use Hard I2C ( because i will have to modify the same in kernel too). Shall i used the same i2c driver from u-boot by modifying the register or write my own driver for it? i found the ppc4xx_i2c structure, but can i get the information about the each parameter or register used in that structure. ~Ronny --- On Fri, 5/2/10, Stefan Roese wrote: From: Stefan Roese Subject: Re: I2C Register To: "Ronny D" Cc: u-boot@lists.denx.de Date: Friday, 5 February, 2010, 7:24 AM On Friday 05 February 2010 07:41:27 Ronny D wrote: > It is not a normal AMCC PPC4xx, its a customized PPC4xx chip. so I2C code > wont work for me as it is. I see. So you should probably not base your I2C driver code on the PPC4xx code. Perhaps you could use the soft_i2c code, where you only need some GPIO's to control the I2C signals. > i will have to map my register with i2c register used by u-boot. > > Now i have downloaded latest u-boot version(Jan 25 2010 12:37 Link > u-boot-latest.tar.bz2 -> u-boot-2009.11.1.tar.bz2) from ftp. > > still ppc4xx_i2c structure i could not found. That's because the source code on the FTP server is reflecting the last release version. Please use the latest version from the git repository instead: http://git.denx.de/?p=u-boot.git;a=summary There is also the possibility to download a snapshort in this web page, if you can't use git for some reason. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: off...@denx.de Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] I2C Register
It is not a normal AMCC PPC4xx, its a customized PPC4xx chip. so I2C code wont work for me as it is. i will have to map my register with i2c register used by u-boot. Now i have downloaded latest u-boot version(Jan 25 2010 12:37 Link u-boot-latest.tar.bz2 -> u-boot-2009.11.1.tar.bz2) from ftp. still ppc4xx_i2c structure i could not found. ~Ronny. --- On Thu, 4/2/10, Stefan Roese wrote: Hi Ronny, On Friday 05 February 2010 06:43:20 Ronny D wrote: > I am using ppc440 for customized board. So is this a "normal" AMCC PPC4xx (e.g. 440GX...) or a custom PPC4xx chip? If it's a common 4xx, then the normal PPC4xx I2C code should just work for you as well. > U-boot version that i am using is u-boot-2009.11. That is before the restructuring. For new work please use the latest version from the git repository. > Here i am searching for the ppc4xx_i2c structure but not able to get it. on > the other hand i have seen the i2c register macros used in i2c_transfer > call. Again, 2009-11 is already outdated. I reworked the I2C stuff in the meantime. Try the latest version and take a look at: cpu/ppc4xx/i2c.c include/4xx_i2c.h Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: off...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] I2C Register
Hi Stefan, I am using ppc440 for customized board. U-boot version that i am using is u-boot-2009.11. Here i am searching for the ppc4xx_i2c structure but not able to get it. on the other hand i have seen the i2c register macros used in i2c_transfer call. ~Ronny --- On Thu, 4/2/10, Stefan Roese wrote: From: Stefan Roese Subject: Re: I2C Register To: "Ronny D" Cc: u-boot@lists.denx.de Date: Thursday, 4 February, 2010, 2:53 PM Hi Ronny, On Thursday 04 February 2010 15:30:35 Ronny D wrote: > I am trying to read SPD data from dimm though I2c. > as the board that i am using it has different I2c register so it is > difficult to match with the register used in u-boot. Which platform are you using? PPC4xx? Or something else? > Can i get the > information about > /*- > > > | IIC Register Offsets > > '-- > --*/ #define IICMDBUF 0x00 > #define IICSDBUF 0x02 > #define IICLMADR 0x04 > #define IICHMADR 0x05 > #define IICCNTL 0x06 > #define IICMDCNTL 0x07 > #define IICSTS 0x08 > #define IICEXTSTS 0x09 > #define IICLSADR 0x0A > #define IICHSADR 0x0B > #define IICCLKDIV 0x0C > #define IICINTRMSK 0x0D > #define IICXFRCNT 0x0E > #define IICXTCNTLSS 0x0F > #define IICDIRECTCNTL 0x10 > > these register to that it will be easy for me to match with the register > that i am using. These defines above are not available in U-Boot any more. I switched to using a struct s while ago: struct ppc4xx_i2c { u8 mdbuf; u8 res1; u8 sdbuf; ... You are using PPC4xx, right? Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: off...@denx.de Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] I2C Register
Hi, I am trying to read SPD data from dimm though I2c. as the board that i am using it has different I2c register so it is difficult to match with the register used in u-boot. Can i get the information about /*- | IIC Register Offsets '*/ #define IICMDBUF 0x00 #define IICSDBUF 0x02 #define IICLMADR 0x04 #define IICHMADR 0x05 #define IICCNTL 0x06 #define IICMDCNTL 0x07 #define IICSTS 0x08 #define IICEXTSTS 0x09 #define IICLSADR 0x0A #define IICHSADR 0x0B #define IICCLKDIV 0x0C #define IICINTRMSK 0x0D #define IICXFRCNT 0x0E #define IICXTCNTLSS 0x0F #define IICDIRECTCNTL 0x10 these register to that it will be easy for me to match with the register that i am using. Regards, Ronny The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] FDT support in u-boot
Hi all, I am porting u-boot for ppc440 based board, board is similar to 440Gx but customized one. Requirement is to to port u-boot with DTS support. u-boot version is 2009-08 . We have implemented dts and compile it with dtc compiler.as we are using different bus instead of opb and ebc. please let me know can we bypass the fixup provided in fdt.c file __ft_board_setup() and ft_cpu_setup(). ~Ronny The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot