ARM DaVinci: Adding DM357 Support
PATCH 1/1 ARM DaVinci: Adding DM357 Support
Patch adds support for DaVinci DM357. This SOC is very similar to the DM644x. The DM357 EVM has 2 NANDs, one small page NAND and another large page NAND. But the device can only boot of the small page NAND. It does not have NOR support. This patch has been tested on the DM357 EVM.
--- Makefile | 3 + include/configs/davinci_dm357_evm.h | 159 +++++++++++++++++++++++++++++++++++ 2 files changed, 162 insertions(+), 0 deletions(-) create mode 100644 include/configs/davinci_dm357_evm.h
Makefile +3 -0
@@ -2790,6 +2790,9 @@ davinci_sffsdr_config : unconfig davinci_sonata_config : unconfig @$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci +davinci_dm357_evm_config : unconfig + @$(MKCONFIG) $(@:_config=) arm arm926ejs dvevm davinci davinci + lpd7a400_config \ lpd7a404_config: unconfig @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
include/configs/davinci_dm357_evm.h new file +159 -0
159 lines not on this page · raw message
Signature · 1 line
1.6.0.4
PATCH 1/1 ARM DaVinci: Adding DM357 Support
Quoted 4 lines · s-paulraj at ti.com
Patch adds support for DaVinci DM357. This SOC is very similar to the DM644x. The DM357 EVM has 2 NANDs, one small page NAND and another large page NAND. But the device can only boot of the small page NAND. It does not have NOR support. This patch has been tested on the DM357 EVM.
So this initial U-Boot support only supports the smaller of the two NAND chips, and access to the second one is only after booting to the operating system?
I'd have liked to see the NAND driver updates needed to support the chipselect of the second NAND chip, and use it with HW ECC.
- Dave
Paulraj
PATCH 1/1 ARM DaVinci: Adding DM357 Support
Dave,
We can add such support/enhancements later. The patch as such will work for sure.
In our LSPs we can use only one NAND at a time. We do not at this point of time have support even in the kernel where both NANDs can be used at the same time. Its only either of the 2.
Thanks,
Sandeep
Quoted 27 lines
-----Original Message-----
From: David Brownell [mailto:david-b at pacbell.net]
Sent: Tuesday, April 28, 2009 5:57 PM
To: Paulraj, Sandeep; u-boot at lists.denx.de
Cc: davinci-linux-open-source at linux.davincidsp.com
Subject: Re: [PATCH] ARM DaVinci: Adding DM357 SupportQuoted 1 line · s-paulraj at ti.com
Patch adds support for DaVinci DM357. This SOC is very similar to the
DM644x.
Quoted 1 line
The DM357 EVM has 2 NANDs, one small page NAND and another large page
NAND.
Quoted 1 line
But the device can only boot of the small page NAND. It does not have
NOR
Quoted 1 line
support. This patch has been tested on the DM357 EVM.
So this initial U-Boot support only supports the smaller of the two NAND chips, and access to the second one is only after booting to the operating system?
I'd have liked to see the NAND driver updates needed to support the chipselect of the second NAND chip, and use it with HW ECC.
- Dave
PATCH 1/1 ARM DaVinci: Adding DM357 Support
Quoted 3 lines · Sandeep
Dave,
We can add such support/enhancements later. The
patch as such will work for sure.
OK, I can understand that. This board seems to have the most complex NAND config of the DaVinci EVMs.
Quoted 4 lines
In our LSPs we can use
only one NAND at a time. We do not at this point of time have support even in the kernel where both NANDs can be used at the same time. Its only either of the 2.
And for that matter, even the DaVinci GIT tree doesn't yet support this board ... much less mainline Linux!
I believe the current NAND driver (in 2.6.30-rc) should handle this fine, though.
- Dave
Quoted 25 lines
Thanks,
SandeepQuoted 20 lines
-----Original Message-----
From: David Brownell [mailto:david-b at pacbell.net]
Sent: Tuesday, April 28, 2009 5:57 PM
To: Paulraj, Sandeep; u-boot at lists.denx.de
Cc: davinci-linux-open-source at linux.davincidsp.com
Subject: Re: [PATCH] ARM DaVinci: Adding DM357 Support...
So this initial U-Boot support only supports the smaller of the two NAND chips, and access to the second one is only after booting to the operating system?
I'd have liked to see the NAND driver updates needed to support the chipselect of the second NAND chip, and use it with HW ECC.
- Dave
PATCH 1/1 ARM DaVinci: Adding DM357 Support
In reply to s-paulraj at ti.comQuoted 3 lines · s-paulraj at ti.com
?Makefile ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? ?3 + ?include/configs/davinci_dm357_evm.h | ?159 +++++++++++++++++++++++++++++++++++ ?2 files changed, 162 insertions(+), 0 deletions(-)
I believe that will be insufficient with the current U-Boot arm-next branch. Won't you also be needing a cpu/arm926ejs/davinci/dm357.c file to handle the various ways it differs from a dm6446 chip?
Paulraj
PATCH 1/1 ARM DaVinci: Adding DM357 Support
Dave,
What I have done is sufficient. A 'dm357.c' file will not be required as the dm644x.c file will take care of everything. AS long as your patches ensure that dm644x works, the DM357 will work. This is because DM357 is very similar to the DM644x. If you want me to put a dm357 file then I will have to make an exact copy of the Dm6446 file. Similarly if you want me to keep a Dm357 folder in the board/davinci folder I will copy everything from the dvevm folder.
Thanks,
Sandeep
Quoted 18 lines
-----Original Message-----
From: David Brownell [mailto:david-b at pacbell.net]
Sent: Tuesday, April 28, 2009 6:00 PM
To: Paulraj, Sandeep; u-boot at lists.denx.de
Cc: davinci-linux-open-source at linux.davincidsp.com
Subject: Re: [PATCH] ARM DaVinci: Adding DM357 SupportQuoted 2 lines · s-paulraj at ti.com
?Makefile ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? ?3 +
?include/configs/davinci_dm357_evm.h | ?159+++++++++++++++++++++++++++++++++++
Quoted 1 line
?2 files changed, 162 insertions(+), 0 deletions(-)
I believe that will be insufficient with the current U-Boot arm-next branch. Won't you also be needing a
cpu/arm926ejs/davinci/dm357.cfile to handle the various ways it differs from a dm6446 chip?