Dear Marek Vasut,
Would you please explain, why do you want to initialize the sdram has been in
C code.
If for provide this feature should be written assembly code. And it would
sometimes even harder than the initialization code sdram?
2012/4/21 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
Dear Ilya Averyanov,
Dear Marek Vasut,
Would you please explain, why do you want to initialize the sdram has been
in C code.
Ok, no problem:
- You'll be able to call get_ram_size() to scan for ram size as any other board
- SDRAM driver will fit properly into the driver model once it's in
2012/4/23 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
Dear Marek Vasut,
Would you please explain, why do you want to initialize the sdram has
been
in C code.
Ok, no problem:
- You'll be able to call get_ram_size() to scan for ram size as any other
board
- SDRAM driver will fit
Dear Ilya Averyanov,
2012/4/23 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
Dear Marek Vasut,
Would you please explain, why do you want to initialize the sdram has
been
in C code.
Ok, no problem:
- You'll be able to call get_ram_size() to scan for ram size as
Dear Ilya Averyanov,
In message
CABi8O6aBPyYFPbzJETJFyx4fL4y1EHYpWJx8Ew4Ki-AHpLA=m...@mail.gmail.com you
wrote:
Why do you insist on sdram initialization code in C?
If you simply do as done in the other boards on this architecture?
We want to simplify code by usiing the same approach
Dear Vasily Khoruzhick,
In message CA+E=qVdyJB3R8vwwFmZsU-0Yh1ah+ZyherrHnN3jx=xTY=t...@mail.gmail.com
you wrote:
Btw, using cache for stack looks like awful hack to me.
No, why? Cache is pretty fast RAM, so why not use it as such?
Hey, there are people who boot the whole Linux system
Dear Vasily Khoruzhick,
In message CA+E=qvexe0wutn4nb6k-zah7uqvf4j0umd33+gxkqb3ypvt...@mail.gmail.com
you wrote:
Doing SDRAM init very early (even in assembly code) is obvious and simple.
Just few simple writes into RAM controller registers.
This is a misconception.
Experience on this very
2012/4/21 Marek Vasut ma...@denx.de:
I agree with Vasily Khoruzhick, it looks like a hack
Please, bother to read the CPU manual and also the ARM Architecture reference
manual before you start with such a wild accusations.
Let me explain my point of view.
Doing SDRAM init very early (even
2012/4/21 Ilya Averyanov averyanovin+ub...@gmail.com:
No have problem.
Available only if you boot from NOR flash.
If you boot from the NAND 4kb of SRAM (steppingstone) not available.
For NAND boot it's mapped at 0x0
For NOR boot it's mapped at 0x4000
NAND controller uses it for booting
Dear Vasily Khoruzhick,
2012/4/21 Ilya Averyanov averyanovin+ub...@gmail.com:
No have problem.
Available only if you boot from NOR flash.
If you boot from the NAND 4kb of SRAM (steppingstone) not available.
For NAND boot it's mapped at 0x0
For NOR boot it's mapped at 0x4000
NAND
2012/4/21 Vasily Khoruzhick anars...@gmail.com
2012/4/21 Ilya Averyanov averyanovin+ub...@gmail.com:
No have problem.
Available only if you boot from NOR flash.
If you boot from the NAND 4kb of SRAM (steppingstone) not available.
For NAND boot it's mapped at 0x0
For NOR boot it's
Dear Ilya Averyanov,
2012/4/21 Vasily Khoruzhick anars...@gmail.com
2012/4/21 Ilya Averyanov averyanovin+ub...@gmail.com:
No have problem.
Available only if you boot from NOR flash.
If you boot from the NAND 4kb of SRAM (steppingstone) not available.
For NAND boot it's mapped
2012/4/20 Marek Vasut ma...@denx.de
Dear Gabriel Huau,
On Thu, Apr 19, 2012 at 10:45:21PM +0200, Marek Vasut wrote:
Dear Gabriel Huau,
On Thu, Apr 19, 2012 at 10:08:47PM +0200, Marek Vasut wrote:
Dear Gabriel Huau,
---
Changes for v2:
- Coding
Dear Ilya Averyanov,
[...]
.word 0x32
+.word 0x30
+.word 0x30
What this undocumented stuff?
SoC specific, I pasted it from smdk2410, it's for initialize the
DRAM.
Can't you init DRAM in some more fitting place? Also document this?
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
[...]
.word 0x32
+.word 0x30
+.word 0x30
What this undocumented stuff?
SoC specific, I pasted it from smdk2410, it's for initialize the
DRAM.
Can't you init DRAM in
Dear Ilya Averyanov,
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
[...]
.word 0x32
+.word 0x30
+.word 0x30
What this undocumented stuff?
SoC specific, I pasted it from smdk2410, it's for initialize
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
[...]
.word 0x32
+.word 0x30
+.word 0x30
What this undocumented stuff?
SoC specific, I pasted
2012/4/20 Ilya Averyanov averyanovin+ub...@gmail.com
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
[...]
.word 0x32
+.word 0x30
+.word 0x30
What this
Dear Ilya Averyanov,
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
[...]
.word 0x32
+.word 0x30
+.word 0x30
What this undocumented
Dear Ilya Averyanov,
2012/4/20 Ilya Averyanov averyanovin+ub...@gmail.com
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
[...]
.word 0x32
+.word 0x30
+
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
2012/4/20 Ilya Averyanov averyanovin+ub...@gmail.com
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
[...]
.word
Dear Ilya Averyanov,
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
2012/4/20 Ilya Averyanov averyanovin+ub...@gmail.com
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
2012/4/20 Marek Vasut ma...@denx.de
Dear Ilya Averyanov,
2012/4/20 Marek Vasut ma...@denx.de:
Which doesn't matter, either way you need stack ... and you can have the stack
in cache ;-)
s3c24xx has 4kb of SRAM (steppingstone), you can use it for stack
Btw, using cache for stack looks like awful hack to me.
Regards
Vasily
Dear Vasily Khoruzhick,
2012/4/20 Marek Vasut ma...@denx.de:
Which doesn't matter, either way you need stack ... and you can have the
stack in cache ;-)
s3c24xx has 4kb of SRAM (steppingstone), you can use it for stack
Oh, I didn't know that ... so there's no longer any problem.
Btw,
2012/4/21 Marek Vasut ma...@denx.de
Dear Vasily Khoruzhick,
2012/4/20 Marek Vasut ma...@denx.de:
Which doesn't matter, either way you need stack ... and you can have
the
stack in cache ;-)
s3c24xx has 4kb of SRAM (steppingstone), you can use it for stack
Oh, I didn't know that
Dear Ilya Averyanov,
2012/4/21 Marek Vasut ma...@denx.de
Dear Vasily Khoruzhick,
2012/4/20 Marek Vasut ma...@denx.de:
Which doesn't matter, either way you need stack ... and you can have
the
stack in cache ;-)
s3c24xx has 4kb of SRAM (steppingstone), you can use
---
Changes for v2:
- Coding style cleanup
- Remove unnecessary files modification
- Remove unnecessary board configuration set
Changes for v3:
- Coding style cleanup
- Move some macro definition from lowlevel_init.S
to a new header
- Remove
Dear Gabriel Huau,
---
Changes for v2:
- Coding style cleanup
- Remove unnecessary files modification
- Remove unnecessary board configuration set
Changes for v3:
- Coding style cleanup
- Move some macro definition from lowlevel_init.S
to a new
On Thu, Apr 19, 2012 at 10:08:47PM +0200, Marek Vasut wrote:
Dear Gabriel Huau,
---
Changes for v2:
- Coding style cleanup
- Remove unnecessary files modification
- Remove unnecessary board configuration set
Changes for v3:
- Coding style cleanup
- Move
Dear Gabriel Huau,
On Thu, Apr 19, 2012 at 10:08:47PM +0200, Marek Vasut wrote:
Dear Gabriel Huau,
---
Changes for v2:
- Coding style cleanup
- Remove unnecessary files modification
- Remove unnecessary board configuration set
Changes for v3:
- Coding
On Thu, Apr 19, 2012 at 10:45:21PM +0200, Marek Vasut wrote:
Dear Gabriel Huau,
On Thu, Apr 19, 2012 at 10:08:47PM +0200, Marek Vasut wrote:
Dear Gabriel Huau,
---
Changes for v2:
- Coding style cleanup
- Remove unnecessary files modification
2012/4/20 Marek Vasut ma...@denx.de
Dear Gabriel Huau,
On Thu, Apr 19, 2012 at 10:08:47PM +0200, Marek Vasut wrote:
Dear Gabriel Huau,
---
Changes for v2:
- Coding style cleanup
- Remove unnecessary files modification
- Remove unnecessary board
Gabriel,
Can you please trim the subject by removing the 'Documentation about ...'
bit. This information belongs in the source code files or, better yet,
in doc/README.MINI2440
Regards,
Graeme
___
U-Boot mailing list
U-Boot@lists.denx.de
Dear Gabriel Huau,
On Thu, Apr 19, 2012 at 10:45:21PM +0200, Marek Vasut wrote:
Dear Gabriel Huau,
On Thu, Apr 19, 2012 at 10:08:47PM +0200, Marek Vasut wrote:
Dear Gabriel Huau,
---
Changes for v2:
- Coding style cleanup
- Remove
Dear Ilya Averyanov,
2012/4/20 Marek Vasut ma...@denx.de
Dear Gabriel Huau,
On Thu, Apr 19, 2012 at 10:08:47PM +0200, Marek Vasut wrote:
Dear Gabriel Huau,
---
Changes for v2:
- Coding style cleanup
- Remove unnecessary files modification
-
Hi Marek,
On Fri, Apr 20, 2012 at 8:23 AM, Marek Vasut ma...@denx.de wrote:
Dear Ilya Averyanov,
2012/4/20 Marek Vasut ma...@denx.de
Dear Gabriel Huau,
On Thu, Apr 19, 2012 at 10:08:47PM +0200, Marek Vasut wrote:
Dear Gabriel Huau,
---
+ /* some delay between
36 matches
Mail list logo