Activity
From 06/07/2013 to 07/06/2013
07/05/2013
- MC 01:10 PM Software Development: RE: bad timing of RS485 TXE when using omap-serial driver
- Yes, you were right regarding the falling of RS485-TXE line after data ends: in the version 3.2 we have the RS485-TXE code moved from serial_omap_enable_ier_thri() to serial_omap_stop_tx().
It works perfectly now; in our measurements w...
07/04/2013
- MW 07:58 AM Software Development: RE: bad timing of RS485 TXE when using omap-serial driver
- I think you are missing part of the patch, which was original written against 3.1 of the kernel.
Take a look at the serial_omap_stop_tx() call in our "3.2 branch omap_serial.c":http://support.criticallink.com/gitweb/?p=linux-mityarm-... - MW 07:44 AM Software Development: RE: bad timing of RS485 TXE when using omap-serial driver
- Do you see this problem on all the UARTS? Or just UART4?
-Mike
- MC 02:15 AM Software Development: RE: bad timing of RS485 TXE when using omap-serial driver
- sure, here it is.
I also put the patched omap-serial.c to check that your patch has been properly applied and the points I've put "printk"-s.
Cheers,
Mihai
07/03/2013
- MW 03:44 PM Software Development: RE: bad timing of RS485 TXE when using omap-serial driver
- Hello Mihai,
Would you be willing to share your modified send.c code?
-Mike - I've used your nice guidelines describe here: http://support.criticallink.com/redmine/projects/armc8-platforms/wiki/Driving_RS-485_transceivers
to implement the low-latency RS485 handling in the linux kernel (v3.2) - I used the patch2 b... - KW 03:29 PM Software Development: RE: Writing UBIFS rootfs to AM3354 with 512MB NAND
- Tim,
Thanks for testing this. My module PN: *80-000517RC-1B*.
I believe the problem is with the lower MTD NAND driver for NAND part MT29F4G08ABAEAWP. Simple NAND writes are giving me problems.
Kim
- JC 01:34 PM Software Development: RE: Writing UBIFS rootfs to AM3354 with 512MB NAND
- Kim,
Due to the long holiday weekend, i'm not sure this will get looked at until atleast Monday.
Also what is the part number and model number of your module?
Thanks
Jonathan - JC 01:32 PM Software Development: RE: Writing UBIFS rootfs to AM3354 with 512MB NAND
- For our 512mb nand, I believe the format command should be @ubiformat /dev/mtd8 -s 1024 -O 4096@ but it doesn't work.
- JC 01:31 PM Software Development: RE: Writing UBIFS rootfs to AM3354 with 512MB NAND
- Testing on a 256MB nand som, I was able to format mtd8 and mount it. {{collapse(See output:)
- JC 01:17 PM Software Development: RE: Writing UBIFS rootfs to AM3354 with 512MB NAND
- Kim,
I tried to do the ubiformat on a 512MB nand som here and I ran into the same problem. It marked the whole nand as bad.
I was able to reset the bad block count by running the following in u-boot. Note: This will delete all data ... - KW 09:36 AM Software Development: RE: Writing UBIFS rootfs to AM3354 with 512MB NAND
- Hi Tim,
Could someone at Critical Link send me the commands used for creating the ubifs image and writing it to the 512MB NAND flash on your MityARM development board?
Thanks,
Kim
- I am switching from TI Evaluation Board to MityARM-335x Development Kit. I am using Ubuntu 12.04 host machine for development and NFS with client and server having static IP addresses is our preferred configuration.
It worked well with ...
07/02/2013
- TI 08:09 PM Software Development: RE: Writing UBIFS rootfs to AM3354 with 512MB NAND
- Kim
I am not super familiar with ubifs, but it seems it can be a bit tricky to master. I know it can be done, as some of our customers are using it. One thing I have seen is to make sure the subpage size is the same as the page size (4k... - KW 07:14 PM Software Development: RE: Writing UBIFS rootfs to AM3354 with 512MB NAND
- Here some additional information that maybe helpful. After ubiformat the erase blocks are all marked BAD.
- KW 05:01 PM Software Development: RE: Writing UBIFS rootfs to AM3354 with 512MB NAND
- Hi Tim,
I've been following this steps and it looks like the ubi.img is writing to NAND, but I get error 28 (No space left on device) when trying to attach. Here are my steps for writing ubi.img: - TI 02:53 PM Software Development: RE: Writing UBIFS rootfs to AM3354 with 512MB NAND
- Kim
TI has a few pages on this.. check out http://processors.wiki.ti.com/index.php/UBIFS_Support
As long as you program the ubifs from linux there should not be an issue.
There is currently a disconnect between ECC used by u-boot and ... - What's the procedure for creating and writing the Linux UBIFS rootfs to the AM3354 512MB NAND? What ECC is used for the UBIFS partitions?
-Kim
06/27/2013
- We are moving our design away from the Vitesse ethernet chip (VSC8601) included on the Am3359 dev board to a Texas Instruments TLK110.
We know these are used with AM3359 successfully by TI;
http://www.ti.com/tool/tmdxice3359
We ar... - BC 02:10 PM Software Development: RE: AM3359 Sleep / Power Savings
- We are currently using the 3.1 kernel from the critical link git.
Thanks for the info!
06/25/2013
- JC 04:40 PM Software Development: RE: Difficulty in flashing MLO and U-Boot to the AM3354 with 512MB NAND
- Ok I misunderstood. This might be what your looking for. http://stackoverflow.com/a/180368/780194
-Jonathan -
04:35 PM
Software Development: RE: Difficulty in flashing MLO and U-Boot to the AM3354 with 512MB NAND
- It seem the git diif shows me the differences between what I originally cloned from Critical Link and my current changes in the directory.
John C. - JC 04:03 PM Software Development: RE: Difficulty in flashing MLO and U-Boot to the AM3354 with 512MB NAND
- You could try @git diff@
-Jonathan -
03:57 PM
Software Development: RE: Difficulty in flashing MLO and U-Boot to the AM3354 with 512MB NAND
- Hey Jonathan,
I've simply modified the files with-in the u-boot-mityarm-335x directory. Would there be
any way to diff the changes made to the repo?
Thanks,
John C.
- JC 09:57 AM Software Development: RE: Difficulty in flashing MLO and U-Boot to the AM3354 with 512MB NAND
- John,
Depending on how you did your changes you should be able to do a _git pull_ and git will update the repo, merging with your changes where necessary.
-Jonathan - JC 02:59 PM Software Development: RE: AM3359 Sleep / Power Savings
- What version of the kernel are you running?
This might be of some interest.
http://processors.wiki.ti.com/index.php/AM335x_Power_Management_Standby_User%27s_Guide
Our current 3.2 kernel is based off of http://processors.wiki.ti.co... - Is there a way to enter a low power state in the AM3359?
I've been attempting different variations on the following:
echo "mem" > /sys/power/class
...but it does not appear to do anything. The linux configuration seems to have it...
06/24/2013
- TI 09:28 PM Software Development: RE: booting 3359 from NAND only
- I'll add to what Mike said a wee bit.
You can use the mtdparts u-boot command to display (and set) mtdparts in u-boot [ see http://www.denx.de/wiki/view/DULG/UBootCmdGroupFlash#Section_5.9.3.5. ]
These _should_ line up with the linux v... - MW 07:23 PM Software Development: RE: booting 3359 from NAND only
- Hi Keith,
I don't think the NAND is actually physically partitioned. It's more of a "table" as you say.
The Kernel will use a default partitioning as coded in the arch/arm/mach-davinci/board-mityarm335x.c file. However, you can co... - KF 06:32 PM Software Development: RE: booting 3359 from NAND only
- Hi Tim,
I have just been looking at flashing from the mmc, however, I have managed to confuse myself even more!
From the linux running on the SD card if I use "mtdinfo -au" it tells me that the file system is in mtd8, not mtd7 (there ... - KF 06:09 AM Software Development: RE: booting 3359 from NAND only
- Hi Tim,
Thanks for the quick reply. When you say keep the EEC mode consistent between the u-boot and the kernel is this just the EEC mode used when they were written to NAND, or something more sinister such as something in the way they ... -
02:15 PM
Software Development: RE: Difficulty in flashing MLO and U-Boot to the AM3354 with 512MB NAND
- Tim,
We just ran across this exact problem with our newly purchased 3354 module(we had been using the 3359's).
I had followed the original instructions for cloning the repository and building it but then modified portions of
the...
06/21/2013
- TI 07:45 AM Software Development: RE: booting 3359 from NAND only
- Keith
Make sure that the ECC mode is consistent between u-boot (where you are flashing the ubifs) and the kernel. Alternatively, you could flash the ubifs image from linux (boot from mmc and then flash).
You might also want to change y... - KF 12:31 AM Software Development: RE: booting 3359 from NAND only
- The hundreds of "ECC: uncorrectable." messages were due to "nandecc hw 2" line in my environment variables. I discoverd that "nandecc hw 2" disables the nandecc, but replacing with nandecc hw2 seems to help.
Still no progress with th...
06/20/2013
- Hi,
I have been trying to get my 3359 system up and running from NAND, using a combination of Critical Link and TI info, and I am having a few issues.
I can run u-boot and the kernel (with a few hundred "ECC: uncorrectable." errors) fr...