Project

General

Profile

Activity

From 06/15/2014 to 07/14/2014

07/14/2014

09:43 AM Software Development: RE: SPI clock issues with using newest u-boot
Yeah by using the ti_ 335x include files I was hoping to greatly simplify our config file. Hopefully it hasn't cause... Jonathan Cormier
09:31 AM Software Development: RE: SPI clock issues with using newest u-boot
Ok,
I knew it had to be in there somewhere, was just a bit confused
as the original mityarm335x.h had a nice ...
Anonymous
09:26 AM Software Development: RE: SPI clock issues with using newest u-boot
Pretty sure I found "#define CONFIG_SPI" in one of the ti_ config files that get included. Jonathan Cormier
09:25 AM Software Development: RE: SPI clock issues with using newest u-boot
Yes the Micron N25Q00AA does support the 48Mhz clock. The sf erase still seems longer
but I'll need to time it get ...
Anonymous

07/11/2014

05:26 PM Software Development: RE: SPI clock issues with using newest u-boot
Also make sure your Nor chip supports 48Mhz on the spi bus. Jonathan Cormier
05:25 PM Software Development: RE: SPI clock issues with using newest u-boot
Did you notice any time difference with the slower speed? Jonathan Cormier
03:30 PM Software Development: RE: SPI clock issues with using newest u-boot
I took out the CONFIG_SPI_FLASH_BAR define and it now seem to pass the long erase command.
-----------------------...
Anonymous
02:23 PM Software Development: RE: SPI clock issues with using newest u-boot
It may be perfectly fine with the generic name then.
Try changing the spi clock speed and see if you get different...
Jonathan Cormier
02:19 PM Software Development: RE: SPI clock issues with using newest u-boot
I added the CONFIG_SPI_FLASH_BAR define to mityarm335x.h and the warning is goes away on the "sf probe" command.
I a...
Anonymous
01:38 PM Software Development: RE: SPI clock issues with using newest u-boot
1) I'm not sure why its detecting it differently. Maybe the newer u-boot has a more specific driver for this chip?
...
Jonathan Cormier
12:44 PM Software Development: RE: SPI clock issues with using newest u-boot
Hey Johnathan,
Testing out the new spi bus changes seem fine. I do have two quick questions:
1) The original...
Anonymous

07/10/2014

05:10 PM PCB Development: RE: Time drift
The skipping bad block is not an error but more of an info. Blocks can be marked bad from factory and during use. T... Jonathan Cormier
04:19 PM PCB Development: RE: Time drift
The clock is working now. Thank you.
But when we flash the nand, there is an error:
root@mityarm-335x:~# flash_...
Bindu Jagannatha
03:29 PM PCB Development: RE: Time drift
So if this is the problem I'm thinking of. It was discovered that when we changed to the 3.2 kernel we weren't setti... Jonathan Cormier
03:26 PM PCB Development: RE: Time drift
Hey Jonathan,
Thanks again, we will definitely try this solution and let you know if it works. I would like to kno...
Bindu Jagannatha
03:00 PM PCB Development: RE: Time drift
I've attached the lastest uImage but yes you can build it if you would like. Instructions are here [[Linux_Kernel]]
...
Jonathan Cormier
02:57 PM PCB Development: RE: Time drift
NAND read: device 0 offset 0x340000, size 0x500000
Skipping bad block 0x00780000
5242880 bytes read: OK
## Bootin...
Bindu Jagannatha
02:56 PM PCB Development: RE: Time drift
We used the pre-build kernel image that came with the board. The kernel that in the Virtual Machine/home/mitydsp/proj... Bindu Jagannatha
08:12 AM PCB Development: RE: Time drift
What version of the kernel came with your devkit? Could you post a boot log?
Particularly I want to know if your ...
Jonathan Cormier

07/09/2014

05:12 PM Software Development: RE: SPI clock issues with using newest u-boot
Just pushed a fix for this.
http://support.criticallink.com/gitweb/?p=u-boot-mityarm-335x.git;a=commit;h=82762ccda72...
Jonathan Cormier
04:33 PM PCB Development: RE: Time drift
Here is our clock tree (in /sys/kernel/debug/clock/summary):
clock-name parent-name ...
Bindu Jagannatha
04:14 PM PCB Development: RE: Time drift
When we boot into Linux and use the "date" (system clock) and "hwclock" (RTC I assume) commands to set/ask for time, ... Bindu Jagannatha
08:02 AM PCB Development: RE: Time drift
Hi,
What do you mean by "hardware and software" clocks. Are you using the RTC or just the system clock? Can you ...
Michael Williamson

07/08/2014

03:06 PM PCB Development: Time drift
Hello,
We bought a MityARM335x dev kit months ago. We have noticed that the time on the board (both software and h...
Bindu Jagannatha

07/01/2014

09:49 AM Software Development: RE: SPI clock issues with using newest u-boot
U-Boot# sf probe 0:0
SF: Unsupported flash IDs: manuf ff, jedec ffff, ext_jedec ffff
Failed to initialize SPI flash...
Anonymous
09:49 AM Software Development: RE: SPI clock issues with using newest u-boot
Jonathan,
I checked with manufacturing and they do use the command in verification
of basic communication wit...
Anonymous

06/30/2014

05:06 PM Software Development: RE: SPI clock issues with using newest u-boot
Following your lead and my hardware engineers suggestion we did a temporary check and set 0x44E00050
(CM_PER_SPI1_C...
Anonymous
05:03 PM Software Development: RE: SPI clock issues with using newest u-boot
Committed change.
http://support.criticallink.com/gitweb/?p=u-boot-mityarm-335x.git;a=commit;h=bc7833792442421a60e74...
Jonathan Cormier
04:54 PM Software Development: RE: SPI clock issues with using newest u-boot
I'm testing this change right now and am going to push a commit if it works. Jonathan Cormier
04:48 PM Software Development: RE: SPI clock issues with using newest u-boot
Thanks. Let me take a look and if it works. Anonymous
04:45 PM Software Development: RE: SPI clock issues with using newest u-boot
I think I found the problem. The memory address 0x481A0000 refers to McSPI1 and only spi0 is enabled in the u-boot.
...
Jonathan Cormier
04:40 PM Software Development: RE: SPI clock issues with using newest u-boot
We had originally set up to boot out of SPI NOR and on occasion do use that ability for
manufacturing testing. The ...
Anonymous
04:16 PM Software Development: RE: SPI clock issues with using newest u-boot
No since booting from the spi nor on our SoMs doesn't work and I wasn't aware of anyone using the nor, I didn't look ... Jonathan Cormier
03:40 PM Software Development: RE: SPI clock issues with using newest u-boot
Hey Jonathan,
Looking at your release without any of my mods, serial NOR was removed (no sf commands.) Was ther...
Anonymous

06/27/2014

08:26 PM Software Development: RE: SPI clock issues with using newest u-boot
It's possible or even probable that name of the pound defines changed in this version. You can check the Readme to se... Jonathan Cormier
04:41 PM Software Development: RE: SPI clock issues with using newest u-boot
Hey Jonathan,
Do I only need the "#define CONFIG_SPI"? I've tried that along with (from the original mityarm35x...
Anonymous
04:29 PM Software Development: RE: SPI clock issues with using newest u-boot
It does look like SPI was not enabled in the new u-boot config. Checkout the differences in include/configs/mityarm3... Jonathan Cormier
02:36 PM Software Development: SPI clock issues with using newest u-boot
After moving to the newest u-boot we are having issues running SPI bus. Accessing the McSPI registers (0x481A0000) ca... Anonymous

06/25/2014

05:09 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Dirty gets appended to the version string for both u-boot and the kernel when you compile source code that has change... Jonathan Cormier
05:05 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
I pulled the AM335XPSP_04.06.00.08 tag and there were a lot of differences. I don't think it matters
that much as we...
Anonymous
04:58 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Looks like both the 03 and 08 branches have the same 2011.09 date so harder to determine which branch of code you wer... Jonathan Cormier
04:55 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
You were likely using the code from the AM335XPSP_04.06.00.08 branch before and now should be using the u-boot-2013.1... Jonathan Cormier
02:05 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Hey Jonathan,
Can you tell me if I were to pull a full u-boot "tree" from your "u-boot-mityarm-335x.git/tree", ...
Anonymous
12:18 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Seems like when I used our NAND mlo/u-boot burn in scripts, I blasted over the old u-boot by erasing NAND from 0 to 0... Anonymous
12:11 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Not sure what happened, but even placing the original MLO back it will not boot:
U-Boot SPL 21401-101.01.00.02-dir...
Anonymous
12:02 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Booting from the mmc card now does not show that u-boot in NAND has any issues.
U-Boot# nand read 8d000000 80000 1...
Anonymous
11:56 AM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Yes we decided to store everything in nand using the correct ecc so we disabled the nandecc command. So you do not n... Jonathan Cormier
11:43 AM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Looks like we can't reach u-boot with the new MLO. We see the following and then it stops. If we plug in the
mmc, w...
Anonymous
11:34 AM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Thanks Jonathan,
It seems the u-boot nandecc command has changed. We used to run the following script for
burn...
Anonymous
11:17 AM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Okay. I created a FAQ about this issue incase anyone else runs into it.
https://support.criticallink.com/redmine/p...
Jonathan Cormier
11:13 AM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Hey Jonathan,
Yes there is indeed an error. I'll try the newer MLO to see how that works.
Thanks,
John C...
Anonymous
10:18 AM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
If you confirm there are bit flips you can then flash just the UBL into the NAND and see if it boots fine. You'll se... Jonathan Cormier
10:13 AM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Try doing to following. It should print out bitflips if it finds them.... Jonathan Cormier
09:53 AM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Hey Jonathan,
I don't have access to a booted Linux, only u-boot. I created a text script that runs the u-boot ...
Anonymous

06/24/2014

05:19 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
That is what I'm suggesting. You can verify if this is the issue by running the 'nand dump' or 'nand read' command a... Jonathan Cormier
05:07 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
So let me try and clarify the issue. We have been running our u-boot for about 10 months with no issues. Are you sugg... Anonymous
04:56 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Those ecc errors are coming from reading the environment from nand. If I remember correctly the older u-boot saved t... Jonathan Cormier
04:49 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
No nevermind, thats not correct. You do have a 256MB nand module. So the first u-boot should be correct. Jonathan Cormier
04:47 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
U-Boot mainline:
origin/u-boot-2013.10: d35e05656457c2d3715de8c3eb7c777375c160ae
u-boot config: mityarm335x_4kpag...
Jonathan Cormier
04:46 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Woops hangon didn't notice that you had a 3352 module. They have a larger nand and require a special u-boot build. Jonathan Cormier
04:40 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Hey Jonathan,
Something is very unhappy. Here is the boot:
CCCCCCCC
U-Boot SPL 2013.10-gd35e056 (Jun 03 2014 ...
Anonymous
04:28 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
There was a bug with the older u-boot where ecc was not enabled when the UBL loaded the u-boot image. This meant tha... Jonathan Cormier
04:22 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
Here is the boot sequence:
----------------------------------------------------------------
U-Boot# CCCCCCCC
U-Boo...
Anonymous
04:14 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
John,
What version of U-boot are you using? If you can include the full bootlog that would be helpful.
Jonathan Cormier
03:59 PM Software Development: RE: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
As added information, the mtest command works.
Commands that *do* work:
mtest 402fffe0 402ffffe A5A500FF
mtest 8...
Anonymous
03:24 PM Software Development: MityARM335x profile 1 - Model No: 3352-GX-X27-RC failing memory writes in u-boot
We just received one of our units back from the field and it hangs running a "mw.b" command in the u-boot param scrip... Anonymous
 

Also available in: Atom

Go to top
Add picture from clipboard (Maximum size: 1 GB)