Project

General

Profile

Activity

From 07/12/2015 to 08/10/2015

07/30/2015

JC 09:35 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
Angelos,
This would depend on what your trying to accomplish.
I believe the preferable way would be to have ubi handle the separate partitions and keep the mtd rootfs partition as a single partition. This has the advantage of tha...
Jonathan Cormier
AS 06:14 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
Hi Jonathan,
Thanks for your answer.
In my application, I would like to have three subpartitions inside the /rootfs partition. I am a little bit confused about how I should declare it. Should it go both to the device tree definitio...
Angelos Spanos
MF 09:14 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Real time SATA writes
I have improved tolerance of this issue by increasing the interval in taskOne() to 20 msec, and increasing the message queue size to 128. This runs fine ... mostly. When running very long tests, I get a message queue backup after 48 ho... Mary Frantz

07/27/2015

JC 11:47 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
There are several ways that data can have bitflips. See the below link for some cases. The minimum ECC level specified by the manufacturer is intended to take some of these into account to guarantee a certain level of life for the NAND ... Jonathan Cormier
AS 04:35 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
Hi Jonathan,
Thanks for the commands.
Could you please verify whether the erase blocks are only used and can be corrupted during a NAND write? Or is it the case that NAND reads make use of and can corrupt erase blocks?
All the b...
Angelos Spanos

07/24/2015

JC 10:59 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
Angelos Spanos wrote:
> Hi Jonathan,
> ...
In the file include/configs/mityarm335x.h, you need to define CONFIG_ENV_OFFSET_REDUND and CONFIG_ENV_SIZE_REDUND. They are currently there but are commented out on lines 375, 376. Offset wo...
Jonathan Cormier
AS 05:00 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
Hi Jonathan,
Jonathan Cormier wrote:
> Note that u-boot does need to be setup to use the backup environment.
What is the u-boot setup required for using the backup environment? Is there some md5sum or CRC command available?
A...
Angelos Spanos

07/23/2015

JC 11:36 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
I believe the backup partition is preferable, since u-boot will save the env in both so if one becomes corrupt there will be a good copy. Note that u-boot does need to be setup to use the backup environment.
Also if you use my part...
Jonathan Cormier
AS 11:22 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
OK. So should I increase the partition by 256KiB or should I introduce the partition "NAND.u-boot-env.backup1"? Angelos Spanos
JC 11:20 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
For the 512MB Nand an erase block is 256KB. It was 128KB on the 256MB Nand. Jonathan Cormier
AS 11:16 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
Jonathan Cormier wrote:
> Angelos Spanos wrote:
> ...
Thanks for the review. Is 1 erase block assigned to every 256KiB or to every partition?
Angelos Spanos
JC 10:48 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
Angelos Spanos wrote:
> Hi Jonathan,
> ...
The only problem I see is with the NAND.u-boot-env. And this is a problem you copied from our initial partition layout. Because the u-boot-env only has 1 erase block assigned to it, if this ...
Jonathan Cormier
AS 09:38 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
Also, the solution you proposed should also work, but I haven't got around to testing it yet. If I do I will let you know.
All the best,
Angelos
Angelos Spanos
AS 09:36 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
The following commands were used for flashing the NAND from U-Boot: Angelos Spanos
AS 09:32 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
Hi Jonathan,
Many thanks for your pointers.
I have created a tested solution with a different partition scheme. I have added a 512KB partition at the end of the Linux filesystem. My partition layout looks as follows:
Angelos Spanos
JC 09:21 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Load DTB from NAND
We haven't gotten to testing the NAND support for the 3.14 kernel yet. Because of this I haven't looked at rearranging the nand partitioning scheme. So lets try to come up with a workable solution.
Looking at the am335x-evm.dts and T...
Jonathan Cormier
AS 04:32 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: Load DTB from NAND
Hi,
In the the text found here (https://support.criticallink.com/redmine/projects/armc8-platforms/wiki/UBIFS_Nand_Boot#512MB-NAND) the DTB file is loaded duing boot time from the MMC. I would like to change that and load it from the N...
Angelos Spanos

07/22/2015

AS 12:20 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
Hi Jonathan,
I have just fixed it. The following changes were done:
Angelos Spanos
JC 11:49 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
Angelos Spanos wrote:
> Where is the Revision written? The Part Number is 80-00458RH-6
That is a Rev 6. So I'm not sure why your networking isn't working.
Jonathan Cormier
AS 11:40 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
Jonathan Cormier wrote:
> Your welcome. I take this means you got 512MB Nand working. Were you able to use the bch16 ECC? It would be helpful if you could post your working dts file for future reference.
Correct. The DTS file has be...
Angelos Spanos
JC 11:36 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
Your welcome. I take this means you got 512MB Nand working. Were you able to use the bch16 ECC? It would be helpful if you could post your working dts file for future reference.
> Now the problem is that the ethernet device is not ...
Jonathan Cormier
AS 11:07 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
The problem as it is described on the subject of the ticket is now resolved.
I will probably open another ticket if I can't solve the MDIO-related problem.
Many thanks for your good help and support,
Angelos
Angelos Spanos
AS 06:50 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
Attaching the latest am335x-mitysom.dts file with support for 512MB NAND. Angelos Spanos
AS 06:16 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
With the following bootargs I can enter the filesystem: Angelos Spanos
AS 05:36 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
I have created a DTS file for the 512MB NAND. It is described below. Could you please confirm that the Angelos Spanos

07/21/2015

JC 10:59 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
Angelos Spanos wrote:
> ??The commented out section was copied from TI's evm device tree. I've attached a patch from our internal git which sets up 256MB nand according to the above mentioned memory layout. commit-299d705.patch. This ha...
Jonathan Cormier
AS 10:48 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
??The commented out section was copied from TI's evm device tree. I've attached a patch from our internal git which sets up 256MB nand according to the above mentioned memory layout. commit-299d705.patch. This hasn't been fully tested bu... Angelos Spanos
JC 10:38 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
Angelos Spanos wrote:
> We are developping on a 3354-HX-X38-RC MitySOM. I am currently using the default am335x-mitysom.dts file, which has the partition options commented out as follows:
We are currently in the process of getting 3.14...
Jonathan Cormier
AS 10:12 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
Adding the device tree source file used. Angelos Spanos
AS 10:07 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: Flat Device Tree source file configuration for 512MB NAND
We are developping on a 3354-HX-X38-RC MitySOM. I am currently using the default am335x-mitysom.dts file, which has the partition options commented out as follows: Angelos Spanos

07/17/2015

AD 11:31 AM MitySOM-5CSX Altera Cyclone V PCB Development: RE: Function of pin 46
Hi Malcolm,
Thank you for the question! This is an error in the table - the connection is +VIO_ENABLE_2V5 as noted in the schematic sheet. There are references to this pin's functionality in the Power Sequencing section under Electr...
Adam Dziedzic
MH 10:14 AM MitySOM-5CSX Altera Cyclone V PCB Development: Function of pin 46
In the document MitySOM-5CSX-Carrier-Board-Design-Guide.pdf (March 31st 2015) on page 10, pin 46 of the SoM is described as GND.
On the schematic on page 20, pin 46 is connected to a signal labelled +VIO_ENABLE_2V5.
Is there a co...
Malcolm Hartnell
 

Also available in: Atom