Project

General

Profile

Activity

From 08/11/2015 to 09/09/2015

09/03/2015

MF 11:55 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Create ubifs
My mistake... misstyped MLO load addresses (0x4000 instead of 0x40000).
Started over an loaded everything from the UART boot. Successfully.
Mary Frantz
JC 10:03 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Create ubifs
Mary Frantz wrote:
> So, of course, after reloading MLO and u-boot.img to get the console log....it boots from NAND.
Go figure. Glad you got it working. If your going to be flashing a bunch of units over UART, you may want to update...
Jonathan Cormier
JC 09:58 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Create ubifs
Ran the same commands on our board and was able to boot from nand. Note that I didn't boot from UART but this shouldn't matter.
I started from a newer u-boot version but there doesn't appear to be any relevant changes between your ver...
Jonathan Cormier
MF 09:48 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Create ubifs
So, of course, after reloading MLO and u-boot.img to get the console log....it boots from NAND.
Mary Frantz
MF 09:30 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Create ubifs
See attached console log file.
Yes. I did the following:
Mary Frantz
JC 08:58 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Create ubifs
Right, I forgot that they were inverted.
I'm not seeing anything wrong in what you posted, could you provide the console log when you program it?
Also when you rebuilt u-boot did you use the mityarm335x_4kpage config?
Jonathan Cormier
MF 08:53 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Create ubifs
From that page: Mary Frantz

09/02/2015

JC 02:15 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Create ubifs
Try the boot cfg mentioned here: https://support.criticallink.com/redmine/projects/armc8-platforms/wiki/UBIFS_Nand_Boot#Boot-Config-Pins Jonathan Cormier
MF 02:08 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Create ubifs
I recompiled mtd-utils and made a ubi.img.
Also recompiled u-boot to get u-boot-spl.bin from u-boot-2013.10
Booted over UART, loaded u-boot-spl.bin, loaded u-boot.img and booted u-boot.
So far, so good.
Loaded NAND as follows...
Mary Frantz

09/01/2015

JC 02:01 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Create ubifs
Here is a copy of instructions from the 1GB part. I'm going to copy it for the other parts as well.
*Note*: The "-F" option enables "free space fixup":http://www.linux-mtd.infradead.org/faq/ubifs.html#L_free_space_fixup. The version ...
Jonathan Cormier
MF 01:54 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Create ubifs
I downloaded the base rfs from the Files tab. Ran the following: Mary Frantz
BD 12:17 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Create ubifs
Hi Mary,
The exported root filesystem is the contents of the rootfs partition on your SD card. If you mount your SD on a Linux host, you can archive that partition using tar:
Bob Duke
MF 12:01 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: Create ubifs
I need to create a ubifs. Our product will not have a SD card interface, so first article booting will have to be over UART. I understand how to load MLO, U-boot, and the kernel image into NAND.
I have the EVM board: 3354-GX-X38RC
...
Mary Frantz
AS 09:27 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: NAND Flash reading problem
You are right one of the EMIFA pins was used as a FPGA IO, after replacing this pin everything works as expected.
Thanks Mike.
Ahmed Shaaban
MW 07:27 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: NAND Flash reading problem
And of course, one workaround might be to load the ARM application into memory from NAND first, then configure the FPGA, then launch the ARM app.
The only thing is that is there is contention on the EMIFA bus you should figure out whe...
Michael Williamson
MW 07:26 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: NAND Flash reading problem
If the FPGA is loading properly and you are floating the unused pins, then the bitstream generation settings are probably OK.
Are you using the EMIFA framework we provide in the BSP or your own? You might drop a chipscope in and watc...
Michael Williamson
AS 07:21 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: NAND Flash reading problem
Hi Mike,
I had made what you said (sets all unused I/O pins to float), but I still have the same problem.
I have tried the "IndustrialIO.bin" FPGA image (instead of my image) and everything works fine (FPGA loaded with "IndustrialIO" a...
Ahmed Shaaban
AS 07:13 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: MityARM - ECC: uncorrectable
Thanks. This has fixed this problem. Angelos Spanos

08/31/2015

JC 09:11 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: MityARM - ECC: uncorrectable
I tried to be as explicit as possible but the following error "Critical Link: Error u-boot compiled for large page nand support. Nand may not function correctly." indicates that the u-boot your using is configured for the 512MB nand bch1... Jonathan Cormier
MW 07:11 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: NAND Flash reading problem
Hi Ahmed,
Sounds like the loaded FPGA is causing NAND read issues? Have you checked your FPGA image and made sure that in the bitstream generation options you are setting all unused I/O pins to "float"? By default they are pulled do...
Michael Williamson
AS 06:33 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: NAND Flash reading problem
Thanks Mike,
you are right i don't have to overwrite RAM contents so I modified the u-boot commands to be as the following:
U-Boot > setenv progfpga "sf probe 0; sf read 0xC0700000 0x580000 0x40000; loadfpga 0xC0700000"
U-Boot > se...
Ahmed Shaaban

08/30/2015

MW 09:20 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: NAND Flash reading problem
Why are you running "mw.b 0xc2000000 0xFF 0x400000" as part of your load? You are going to overwrite that RAM you just initialized when you do the following nand read.e?
I would see how fast the unit boots without running the fill. ...
Michael Williamson
AS 08:14 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: NAND Flash reading problem
Hi everyone,
I'm working on MityARM 1808F.
I have two images: SYS/BIOS image and FPGA image. After some suggestions from " Alexander Block" and " Michael Williamson" over a year ago, I used to use NOR Flash for FPGA Image and the NAND ...
Ahmed Shaaban

08/28/2015

MF 10:01 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Real time SATA writes
This problem was resolved by using a SLC SSD drive instead of MLC. The write times on the SLC are much lower. Mary Frantz
AS 05:55 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: MityARM - ECC: uncorrectable
The bootlog is this: Angelos Spanos

08/27/2015

JC 01:20 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: MityARM - ECC: uncorrectable
Which module do you have?
What u-boot version are you using? Can you provide the bootlog from power on till you get into u-boot?
Jonathan Cormier
AS 12:02 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: MityARM - ECC: uncorrectable
Hi,
I have a MityARM card.
I try to flash the NAND memory according to the guidelines that are given for the MitySOM, "here":https://support.criticallink.com/redmine/projects/armc8-platforms/wiki/UBIFS_Nand_Boot#256MB-NAND. My writ...
Angelos Spanos
 

Also available in: Atom