Activity
From 07/06/2015 to 08/04/2015
07/30/2015
- JC 09:35 AM 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... - AS 06:14 AM 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...
07/27/2015
- JC 11:47 AM 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 ...
- AS 04:35 AM 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...
07/24/2015
- JC 10:59 AM 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... - AS 05:00 AM 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...
07/23/2015
- JC 11:36 AM 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... - AS 11:22 AM 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"?
- JC 11:20 AM Software Development: RE: Load DTB from NAND
- For the 512MB Nand an erase block is 256KB. It was 128KB on the 256MB Nand.
- AS 11:16 AM 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?
- JC 10:48 AM 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 ... - AS 09:38 AM 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 - AS 09:36 AM Software Development: RE: Load DTB from NAND
- The following commands were used for flashing the NAND from U-Boot:
- AS 09:32 AM 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: - JC 09:21 AM 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... - 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...
07/22/2015
- AS 12:20 PM Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
- Hi Jonathan,
I have just fixed it. The following changes were done: - JC 11:49 AM 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.
- AS 11:40 AM 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... - JC 11:36 AM 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 ... - AS 11:07 AM 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 - AS 06:50 AM Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
- Attaching the latest am335x-mitysom.dts file with support for 512MB NAND.
- AS 06:16 AM Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
- With the following bootargs I can enter the filesystem:
- AS 05:36 AM 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
07/21/2015
- JC 10:59 AM 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... - AS 10:48 AM 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...
- JC 10:38 AM 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... - AS 10:12 AM Software Development: RE: Flat Device Tree source file configuration for 512MB NAND
- Adding the device tree source file used.
- 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: