Re: [U-Boot] Set TEXT_BASE via .h file?

2010-01-28 Thread A. Geisreiter

Hi Wolfgang,

>> Thanks for the fast response.
>> I have tried you're suggestion, but then U-Boot doesn't start. But I
don't
>> get an compiler error. What could be the problem? 
>> I work with an PXA270 CPU and TEXT_BASE defines the base address of the
RAM
>> copy monitor code.

> remote diagnosis is always difficult. ;-)
> Did you issue a "make mrproper", re-configure and the rebuild?
> For Coldfire targets I had some problems that all objects originating
> from C sources were correctly rebuilt after changing .h, but
> not the objects originating from assembler sources. In the case of
> Coldfire, TEXT_BASE is also used in the assembler CPU startup code, so
> this would lead to the exact problem you describe...

> Currently I have no other ideas.

"make mrproper" sadly also not help. So I must search a little bit, but
thanks for your help. 

Regards,
Andreas

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Set TEXT_BASE via .h file?

2010-01-28 Thread A. Geisreiter
Hi Wolfgang,

Thanks for the fast response.
I have tried you're suggestion, but than U-Boot doesn't start. But I don't
get an compiler error. What could be the problem? 
I work with an PXA270 CPU and TEXT_BASE defines the base address of the RAM
copy monitor code.

Regards,
Andreas

-Ursprüngliche Nachricht-
Von: Wolfgang Wegner [mailto:wolfg...@leila.ping.de] 
Gesendet: Donnerstag, 28. Januar 2010 12:53
An: A. Geisreiter
Cc: u-boot@lists.denx.de
Betreff: Re: [U-Boot] Set TEXT_BASE via .h file?

Hi Andreas,

On Thu, Jan 28, 2010 at 12:31:44PM +0100, A. Geisreiter wrote:
> Hi,
> 
> I have a question to the TEXT_BASE setting in the config.mk file. Is it
> possible to set TEXT_BASE via a setting in the .h file?

yes, it is.

In my .h I set:
#define CONFIG_TEXT_BASE0x4002
(depending on some CONFIG_MK_... variable)

and in config.mk:
TEXT_BASE=$(CONFIG_TEXT_BASE)

Of course there may be other possibilities, but I found this one to
work after setting TEXT_BASE directly in .h failed.

Regards,
Wolfgang

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Set TEXT_BASE via .h file?

2010-01-28 Thread A. Geisreiter
Hi,

I have a question to the TEXT_BASE setting in the config.mk file. Is it
possible to set TEXT_BASE via a setting in the .h file?

Thanks,
Andreas

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Enabling ARM DCache (and MMU setup) in U-Boot

2010-01-26 Thread A. Geisreiter
Hi Drasko,

 

I have now the same problem. You have posted, that you have finished you're
work successfully, but I can't find a patch. Is it possible to get the
source for enable MMU and dcache?

 

Thanks,

Andreas

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Performance problems with gunzip

2010-01-25 Thread A. Geisreiter
Hi Detlev,

thanks for the help. I have tried CONFIG_CMD_CACHE but this doesn't work,
because dcache_enable() is not implemented for PXA.

Then I tried to get the U-Boot source code for Gumstix verdex project, but I
can't find it. Where can I download this?

Regards,
Andreas

-Ursprüngliche Nachricht-
Von: Detlev Zundel [mailto:d...@denx.de] 
Gesendet: Freitag, 22. Januar 2010 16:20
An: A. Geisreiter
Cc: u-boot@lists.denx.de
Betreff: Re: AW: [U-Boot] Performance problems with gunzip

Hi Andreas,

> thanks for the fast response. How do I enable data caches? 

I fear this is not as easy as flipping a bit in a register.  Depending
on the platform caches tend to be tied to the MMU, so enabling the
caches require setting up correct data structures for the MMU to work.
That's the non-trivial work.

Apart from that, there is CONFIG_CMD_CACHE which builds
common/cmd_cache.c.  I see that at least two PXA250 platforms enable
this, so maybe simply try that?

Moreover, a quick qoogle showed that the (non-mainline) Gumstix verdex
(PXA270) U-Boot port has a dcache command:

http://docwiki.gumstix.org/index.php/U-Boot

Maybe you can reap the code from their repository.  If you do, please
post it here ;)

Cheers
  Detlev

-- 
There are three kinds of people in the world; those who can count and
those who can't.
--
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

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Performance problems with gunzip

2010-01-22 Thread A. Geisreiter
Hi Detlev,

thanks for the fast response. How do I enable data caches? 

Regards,
Andreas

-Ursprüngliche Nachricht-
Von: Detlev Zundel [mailto:d...@denx.de] 
Gesendet: Freitag, 22. Januar 2010 15:45
An: A. Geisreiter
Cc: u-boot@lists.denx.de
Betreff: Re: [U-Boot] Performance problems with gunzip

Hi Andreas,

> I try to unzip a WinCE kernel with the U-Boot gunzip routine. It is
working,
> but it takes roughly 1min to uncompress a 10MB zip file. 
> I am working with a PXA270 platform. What could be the reason for the
worst
> performance? 

Very likely the disabled instruction and data caches.  Not that I know
for sure, but I'm pretty confident that either both or at least the data
cache is not enabled per default.

There was some discussion about enabling them, but the work never got
done IIRC.

Cheers
  Detlev

-- 
Mit einem Leben wie dem meinen, Doktor - wer braucht da noch Traeume?
- Alex Portnoy
--
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

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Performance problems with gunzip

2010-01-22 Thread A. Geisreiter
Hello,

I try to unzip a WinCE kernel with the U-Boot gunzip routine. It is working,
but it takes roughly 1min to uncompress a 10MB zip file. 
I am working with a PXA270 platform. What could be the reason for the worst
performance? 

Thanks,
Andreas

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Starting compressed win CE kernel

2009-10-05 Thread A. Geisreiter
Dear Jean-Christophe PLAGNIOL-VILLARD,

I tried to use the unzip command of U-Boot, to unzip a Win CE Kernel. If I
have a file size of roughly 10MB it takes 1 minute to uncompress the kernel.
This is too long for my application. I use an PXA270 CPU with 64MB SDRAM.
How can I make the unzip command faster? 
Description of my U-Boot application: At the moment I start Win CE from the
flash memory in roughly 25 seconds. But the image takes much space on the
flash, because I haven't compressed it at the moment. So I will use the zip
functionality of U-boot to save space on flash memory. But this is only
reasonable, if I can start the OS in roughly the same time as before. 

Thanks and regards,
Andreas Geisreiter

-Ursprüngliche Nachricht-
Von: Wolfgang Denk [mailto:w...@denx.de] 
Gesendet: Freitag, 4. September 2009 14:17
An: A. Geisreiter
Cc: u-boot@lists.denx.de; Jean-Christophe Plagniol-Villard
Betreff: Re: [U-Boot] Starting compressed win CE kernel

Dear "A. Geisreiter",

In message <001701ca2d55$f30b6200$d92226...@de> you wrote:
> 
> > What makes you think that the uncompression code used by bootm would
> > be any faster than the one used by unzip? It ain't faster, as it is
> > the very same code actually.
> 
> If bootm use the same code like the unzip command, then it couldn't be
> faster.

Indeed.

> But I have compressed a nk.bin Windows Image file with GZIP. Then I
> uncompressed the 10MB File with U-Boot. It takes roughly 1 minute. And
this
> is to much I think. What could I do to reduce the uncompression time? My
> hardware works with an PXA270 CPU.

You probably want to enable caches on your system, to get faster
performance. Jean-Christophe (on Cc:) claimed several times before
that he was working on such patches. Maybe you ask him when he will
post this stuff.

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
On the subject of C program indentation: "In My Egotistical  Opinion,
most  people's  C  programs  should be indented six feet downward and
covered with dirt."   - Blair P. Houghton

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Starting compressed win CE kernel

2009-09-04 Thread A. Geisreiter
Hello Mr. Denk,

> Please stop doing this. Please post plain text only. Do not post HTML.

Sorry, I don't know it.

> What makes you think that the uncompression code used by bootm would
> be any faster than the one used by unzip? It ain't faster, as it is
> the very same code actually.

If bootm use the same code like the unzip command, then it couldn't be
faster.
But I have compressed a nk.bin Windows Image file with GZIP. Then I
uncompressed the 10MB File with U-Boot. It takes roughly 1 minute. And this
is to much I think. What could I do to reduce the uncompression time? My
hardware works with an PXA270 CPU.

Thanks,
Andreas

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Starting compressed win CE kernel

2009-09-04 Thread A. Geisreiter
Hello,

 

I use U-Boot for starting Windows CE. At the moment I take the nk.bin File
and start it with the U-Boot patch of Ryan Chen. Now I will compress the
nk.bin file, because in addition to that it takes much less space in the
Flash memory. I have tried it with the unzip command, but it takes too much
time. Can I use another compression tool from u-boot. I think a compressed
linux kernel can be started with bootm. So can I use maybe only the
compression tool of the bootm command? If so, how can I do this?

 

Thanks,

Andreas

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] CFI Flash write speed

2009-08-13 Thread A. Geisreiter
Hello Mr. Denk,

CFG_FLASH_USE_BUFFER_WRITE is already defined in the project-header file. I
have configured the CPU registers for access the flash memory with maximum
speed. But I think it is although very slow. If I use Windows CE to copy
something to the flash memory I have transfer rates of 140kB/s. With U-Boot
I have only 75kB/s. 
What else can I do to increase the transfer rate?

Thanks,
Andreas



___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Write back flash content to SD/MMC Card

2009-08-12 Thread A. Geisreiter
Hello,

 

I will write back the complete content of my flash memory to a binary File
on SD/MMC Card. How can I do this? Is there any support to create a file on
SD/MMC card?

 

Thanks,

Andreas

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] CFI Flash write speed

2009-08-12 Thread A. Geisreiter
Hello,

 

I have add CFI support to my project. I use Intel strata flash P30 and
PXA270 CPU. The flash is connected with 16bit to the PXA data bus. If I
write to the flash I have transfer rates of roughly 75kB/sec. I think this
is very slow.  How can I increase the transfer rate?

 

Thanks,

Andreas

 

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Board Support for Quantum (Eurotech Ltd)

2009-03-23 Thread A. Geisreiter
Hello,

 

I need U-Boot support for the Quantum Board (XScale PXA270 CPU) from
EuroTech Ltd. Does anybody know if it exist a patch for this board? In the
U-Boot configs is a patch for a Quantum board, but I think this is for
another one.

 

Thank you,

Andreas

__

Andreas Geisreiter

Development Department

DH electronics GmbH - Am Anger 8 - 83346 Bergen - Germany 

HRB Traunstein 9602 - Ust ID Nr.: DE 174 205 805 

Geschäftsführung Dipl.-Ing. Stefan Daxenberger, Dipl.-Ing. Helmut Henschke

Email:  mailto:ageisrei...@dh-electronics.de>
ageisrei...@dh-electronics.de 

Web: www.dh-electronics.de  

 

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] PXA SPI Mode support for MMC/SD Cards

2009-03-20 Thread A. Geisreiter
Hello,

 

I use a PXA270 CPU and need SPI Mode support for MMC/SD Cards. The U-Boot
sources contain the file mmc.c for the PXA MMC/SD controller, but the SPI
Mode is there disabled and in addition to that not used. I have searched for
a U-Boot patch, but I didn’t find something. Have anybody programmed SPI
Mode support for PXA CPUs or do know how I can adjust the existing file?

 

Thank you,

 

Andreas

__

Andreas Geisreiter

Development Department

DH electronics GmbH - Am Anger 8 - 83346 Bergen - Germany 

HRB Traunstein 9602 - Ust ID Nr.: DE 174 205 805 

Geschäftsführung Dipl.-Ing. Stefan Daxenberger, Dipl.-Ing. Helmut Henschke

Email:  mailto:ageisrei...@dh-electronics.de>
ageisrei...@dh-electronics.de 

Web: www.dh-electronics.de  

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] How can I use USB command?

2009-01-12 Thread A. Geisreiter
Hello,

 

I have made the following defines in the config header file:

 

#define CONFIG_CMD_USB

#define CONFIG_USB_OHCI_NEW   1

#define CFG_USB_OHCI_BOARD_INIT 1

#define CFG_USB_OHCI_MAX_ROOT_PORTS 3

#define CFG_USB_OHCI_REGS_BASE0x4C00

#define CFG_USB_OHCI_SLOT_NAME "pxa270"

#define CONFIG_USB_STORAGE 1

#define CFG_USB_OHCI_CPU_INIT  1

 

How can I use now the usb command? I have a usb stick with a FAT32 file
format and an binary file on it. I will download the file to the SDRAM. How
can I do this? 

And if I enter “usb start” in the command line, then I get 

 

1 USB device(s) found

0 storage device(s) found

 

Does U-Boot support a FAT32 file format on the usb stick? 

 

Thank you,

 

Andreas

__

Andreas Geisreiter

Entwicklung

DH electronics GmbH - Am Anger 8 - 83346 Bergen - Germany 

HRB Traunstein 9602 - Ust ID Nr.: DE 174 205 805 

Geschäftsführung Dipl.-Ing. Stefan Daxenberger, Dipl.-Ing. Helmut Henschke

Email:  mailto:ageisrei...@dh-electronics.de>
ageisrei...@dh-electronics.de 

Web: www.dh-electronics.de  

Phone: +49 8662 4882 61

Fax: +49 8662 4882 99

 

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] MMU initialization

2008-11-17 Thread A. Geisreiter
Hello,

 

I use U-Boot with a Marvell PXA270 CPU. And I have built a new Windows
Embedded CE 6.0 Image with a given BSP for the board. In the end I get a
binary Image with a virtual start address. This means to me, that the MMU
must be initialized of the bootloader. But I think this should be the task
of the kernel. So my question is: Is it possible to initialize the MMU with
U-Boot at all? And how can I do this?

 

Thank you,

 

Andreas 

__

Andreas Geisreiter

Entwicklung

DH electronics GmbH - Am Anger 8 - 83346 Bergen - Germany 

HRB Traunstein 9602 - Ust ID Nr.: DE 174 205 805 

Geschäftsführung Dipl.-Ing. Stefan Daxenberger, Dipl.-Ing. Helmut Henschke

Email: mailto:[EMAIL PROTECTED] 

Web: www.dh-electronics.de

 

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] MMU initialization

2008-11-14 Thread A. Geisreiter
Hello,

 

I use U-Boot with a Marvell PXA270 CPU. And I have built a new Windows
Embedded CE 6.0 Image with a given BSP for the board. In the end I get a
binary Image with a virtual start address. This means to me, that the MMU
must be initialized of the bootloader. But I think this should be the task
of the kernel. So my question is: Can I initialize the MMU with U-Boot at
all? And how can I do this?

 

Thank you,

 

Andreas 

__

Andreas Geisreiter

Entwicklung

DH electronics GmbH - Am Anger 8 - 83346 Bergen - Germany 

HRB Traunstein 9602 - Ust ID Nr.: DE 174 205 805 

Geschäftsführung Dipl.-Ing. Stefan Daxenberger, Dipl.-Ing. Helmut Henschke

Email: mailto:[EMAIL PROTECTED] 

Web: www.dh-electronics.de

 

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Starting WindowsCE

2008-10-30 Thread A. Geisreiter
Hello,

 

I use U-Boot with a Marvell PXA270 CPU. And now I will start WindowsCE with
it. I have loaded the nk.bin image via TFTP to the RAM but I need the entry
point of the image. And I don't know anything about starting WinCE at the
moment. Has anybody experience with starting WinCE or has anybody done this
with U-Boot?

 

Thank you,

 

Andreas 

__

Andreas Geisreiter

Entwicklung

DH electronics GmbH - Am Anger 8 - 83346 Bergen - Germany 

HRB Traunstein 9602 - Ust ID Nr.: DE 174 205 805 

Geschäftsführung Dipl.-Ing. Stefan Daxenberger, Dipl.-Ing. Helmut Henschke

Email: mailto:[EMAIL PROTECTED] 

Web: www.dh-electronics.de

 

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot