Re: [U-Boot] [PATCH] add explicit bbt creation to commandline

2010-02-17 Thread Steven Zedeck
Scott Wood-2 wrote: > > On Fri, Feb 12, 2010 at 06:14:51PM -0800, Steven Zedeck wrote: >> Its in board/atmel/at91sam9rlek/nand.c >> >> It doesn't do much but set up the various GPIO connections. Here's the >> function: >> >> int board

Re: [U-Boot] [PATCH] add explicit bbt creation to commandline

2010-02-12 Thread Steven Zedeck
Scott Wood-2 wrote: > > Steven Zedeck wrote: >> >> >> Steven Zedeck wrote: >>> >>>> No, I mean in the NAND driver for your specific hardware >>>> (fsl_elbc_nand.c, mxc_nand.c, ndfc_nand.c, etc). >>> You have been so helpf

Re: [U-Boot] [PATCH] add explicit bbt creation to commandline

2010-02-12 Thread Steven Zedeck
Steven Zedeck wrote: > > >> No, I mean in the NAND driver for your specific hardware >> (fsl_elbc_nand.c, mxc_nand.c, ndfc_nand.c, etc). > > You have been so helpful. I looked at the mtd/nand/Makefile and the only > file that's included besides the nand* fil

Re: [U-Boot] [PATCH] add explicit bbt creation to commandline

2010-02-12 Thread Steven Zedeck
> No, I mean in the NAND driver for your specific hardware > (fsl_elbc_nand.c, mxc_nand.c, ndfc_nand.c, etc). You have been so helpful. I looked at the mtd/nand/Makefile and the only file that's included besides the nand* files is: COBJS-y += fsl_upm.o However, in that code: #if defined(CONFI

Re: [U-Boot] [PATCH] add explicit bbt creation to commandline

2010-02-12 Thread Steven Zedeck
>> U-Boot supports creating a bad block table in flash, and has done so since >> before 2008.10 (assuming you're not using legacy NAND). Whether it does >> this depends on whether the NAND driver requests it with NAND_BBT_CREATE >> in >> nand_bbt_descr.options and NAND_USE_FLASH_BBT in nand_chip.

Re: [U-Boot] [PATCH] add explicit bbt creation to commandline

2010-02-12 Thread Steven Zedeck
> > Hi, > I know this message is about 18 months old. I am using Uboot 2008.10, > which > seems to not include support for creating the Nand BBT (bad block table). > Was this patch released and if so when? Forgive me as I don't know how to > find out. > > How best to add BBT support to Uboot? I

[U-Boot] BBT support to UBOOT question

2010-02-12 Thread Steven Zedeck
Hi all, I'm not really sure as to the protocol for asking this question. So I'll go right ahead. I've seen code on the web written by open moko that tries to address the issue of adding BBT creation to the uboot nand command. I looked at the latest released uboot (2009.11.1) and I don't see the "

Re: [U-Boot] [PATCH] add explicit bbt creation to commandline

2010-02-11 Thread Steven Zedeck
Hi, I know this message is about 18 months old. I am using Uboot 2008.10, which seems to not include support for creating the Nand BBT (bad block table). Was this patch released and if so when? Forgive me as I don't know how to find out. How best to add BBT support to Uboot? I need to have a BBT

Re: [U-Boot] Uboot RTC question

2010-02-05 Thread Steven Zedeck
wd wrote: > > Dear Steven Zedeck, > > In message <27471322.p...@talk.nabble.com> you wrote: >> >> My question is why is it that when we get to the Uboot prompt upon a >> power >> cycle, the date is set to: >> 2007-00-01 00:00:00 >> &g

[U-Boot] Uboot RTC question

2010-02-05 Thread Steven Zedeck
Hi, I am using Uboot 2008.10. I know its old but thats what we used when we started our project. My question is why is it that when we get to the Uboot prompt upon a power cycle, the date is set to: 2007-00-01 00:00:00 Where is that being set/initialized? I looked through the code and I can't de

Re: [U-Boot] Preserving frame buffer memory between uboot and Linux

2009-10-05 Thread Steven Zedeck
wd wrote: > > Dear Steven Zedeck, > > In message <25722060.p...@talk.nabble.com> you wrote: >> >> We have a situation when we want to display an image towards the end of >> Uboot's execution, before we boot Linux. I have that already. >> &g

[U-Boot] Preserving frame buffer memory between uboot and Linux

2009-10-02 Thread Steven Zedeck
Hi, We have a situation when we want to display an image towards the end of Uboot's execution, before we boot Linux. I have that already. However, my issue is that while Linux boots it mallocs a new frame buffer and reinitializes the LCD controller with a new memory address. At the moment in Uboo

Re: [U-Boot] potential Uboot Ping problem

2009-06-01 Thread Steven Zedeck
Peter Tyser wrote: > > Hi Steven, > > On Mon, 2009-06-01 at 08:03 -0700, Steven Zedeck wrote: >> I guess thats good news. I looked inside the cmd_ping code a bit. I bet >> there's a "while" loop somewhere that is waiting for something and may &

Re: [U-Boot] potential Uboot Ping problem

2009-06-01 Thread Steven Zedeck
: u-boot-boun...@lists.denx.de >> [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Steven Zedeck >> Sent: Monday, June 01, 2009 8:05 PM >> To: u-boot@lists.denx.de >> Subject: [U-Boot] potential Uboot Ping problem >> >> >> Hi, >> It appears the ping in UBO

[U-Boot] potential Uboot Ping problem

2009-06-01 Thread Steven Zedeck
Hi, It appears the ping in UBOOT is broken. The ping works fine if you have a network connection. But if the network connection is disconnected the ping hangs the system. There is no response to Control-C either. I have to power cycle the proto to get back to a UBOOT prompt. Is this a known issue

Re: [U-Boot] Uboot bitmap utility

2009-05-21 Thread Steven Zedeck
Wolfgang, I resolved my issue. I am now able to write bitmaps to the framebuffer. Thanks, Steve - Steven Zedeck wrote: > > Wolfgang, > Yes, I do see what U-boot is doing. I looked at bmp_logo.c and its output. > It seems that the color palette entries are all 16 bits (unsigned s

Re: [U-Boot] Uboot bitmap utility

2009-04-27 Thread Steven Zedeck
, should be unsigned longs for each color entry. Correct or am I missing something? Did I interpret the code correctly? Does it expect 16 bits per color? Thanks, Steve - wd wrote: > > Dear Steven Zedeck, > > In message <23217700.p...@talk.nabble.com> you wrote: >>

Re: [U-Boot] Uboot bitmap utility

2009-04-24 Thread Steven Zedeck
I'm referring to the palatte and bitmap structs. thanks again, Steve Steven Zedeck wrote: > > Hi, > It seems that UBoot needs two data structures to display a bitmap in the > framebuffer. Is there a utility that converts a Windows bitmap (BMP?) file > and creates the 2 da

[U-Boot] Uboot bitmap utility

2009-04-24 Thread Steven Zedeck
Hi, It seems that UBoot needs two data structures to display a bitmap in the framebuffer. Is there a utility that converts a Windows bitmap (BMP?) file and creates the 2 data structures that I can embedd in my code? Thanks, Steve -- View this message in context: http://www.nabble.com/Uboot-bitm

[U-Boot] UBOOT relocation question on Atmel arm926ejs

2009-04-21 Thread Steven Zedeck
Hi, I am having a hard time understanding how the uboot relocation from flash to RAM happens. I'm trying to follow the code flow. I "think" I understand it, but wanted to run it by you experts to confirm. The flow starts in cpu/arm926ejs/start.s. In the reset function, after cpu_init_crit, u_boot

[U-Boot] Allocating a frame buffer in memory

2009-04-10 Thread Steven Zedeck
Hi, I am trying to allocate a frame buffer for my LCD code. I think I understand how to set up the LCC controller in the Atmel AT91SAM9. So thats not the issue, at least not yet. I need to understand how UBoot allocates a block of memory for the buffer. My TFT/LCD is 320x240 and in 24 bit mode, s

[U-Boot] U-Boot makefiles question

2009-03-27 Thread Steven Zedeck
Hi, I have a general question about the U-Boot Makefiles. When I want to add a file to one of the sub-Makefiles (such as in drivers/net/Makefile or board/atmel/at91/Makefile), it seems I need to go through several steps in order for the new file to get compiled. I must be doing something wrong

[U-Boot] Adding a new device to my project

2009-03-10 Thread Steven Zedeck
Hi, I have a general U-boot question that is causing me confusion. I am adding a new device to my existing project. So I assume that I'll need to rerun config (i.e.: make target_config). Correct? I have a .h file in the include/configs directory. I need to modify it to add my new config such as:

Re: [U-Boot] U-boot debugger/emulator

2009-03-10 Thread Steven Zedeck
08 Tue 10 Mar , Steven Zedeck wrote: >> >> I see that this bundle is $2640US which is beyond my budget. I need to >> find >> another approach. >> Debugging with printfs is starting to bother me and waste time. > PEEDI is $2080US > > but all

Re: [U-Boot] U-boot debugger/emulator

2009-03-10 Thread Steven Zedeck
I see that this bundle is $2640US which is beyond my budget. I need to find another approach. Debugging with printfs is starting to bother me and waste time. Also, I am not totally familiar with GDB (GNU debugger). I may need to read a bit about it. thanks, Steve wd wrote: > > Dear

Re: [U-Boot] U-boot debugger/emulator

2009-03-10 Thread Steven Zedeck
LLARD wrote: > > On 18:33 Mon 09 Mar , Steven Zedeck wrote: >> >> Hi, >> This question is related to U-boot; in particular debugging in a U-boot >> environment. >> >> I am working on U-boot for the first time as well as working with the >> A

[U-Boot] U-boot debugger/emulator

2009-03-09 Thread Steven Zedeck
Hi, This question is related to U-boot; in particular debugging in a U-boot environment. I am working on U-boot for the first time as well as working with the Atmel AT91SAM9 processor. I am used to working with emulators when debugging low level code such as embedded diagnostics. I've never used

[U-Boot] POST questions

2009-03-02 Thread Steven Zedeck
Hi, I see most of the POST tests relate to the PPC family. Is there a set of post tests based on the Atmel ARM9 family? Another related question: Is it assumed that POST runs before relocation or can some run after relocation? I would think that after you test memory before relocation, then it wo

Re: [U-Boot] Micrel Ethernet controller with SPI

2009-02-20 Thread Steven Zedeck
February 2009 14:17:10 Ben Warren wrote: >> Steven Zedeck wrote: >> > I'm not sure whether I'm supposed to ask this question as I am still >> new >> > to this list. >> > >> > I am working on a project using U-boot but the Ethernet controller is &g

[U-Boot] Micrel Ethernet controller with SPI

2009-02-20 Thread Steven Zedeck
Hi, I'm not sure whether I'm supposed to ask this question as I am still new to this list. I am working on a project using U-boot but the Ethernet controller is the Micrel KSZ8851. Does a driver exist that supports this chip? I assume it would be in drivers/net/ I don't have it in my version whi

[U-Boot] U-Boot Makefile question

2009-02-17 Thread Steven Zedeck
Hi all, I am new to u-boot. But I am ramping up pretty fast. My primary issue is understanding the Makefile syntax. Is there a good tutorial somewhere that explains how u-boot uses the Makefiles and their syntax? For example, I'm having problems understanding what this means in a Makefile: COBJS