Activity
From 05/31/2016 to 06/29/2016
06/22/2016
- PB 04:13 AM Software Development: RE: kernel 3.2 - tcpip stack latency
- Hi Greg,
Than you for your feedback.
Indeed, flag CONFIG_PREEMPT is set in kernel config. As far as we can see, there is no issue on the thread itself.
We use VLAN tag to route the traffic specifically from the devices to our c...
06/21/2016
- GG 01:30 PM Software Development: RE: kernel 3.2 - tcpip stack latency
- Hi Patrice,
Since you are using SCHED_RR I am assuming you are using CONFIG_PREEMPT in your kernel config, correct?
Does your design have any sort of network traffic shaping or advanced traffic control in place? I do not think an... - Hello,
We've built an application receiving messages from two devices at a rate of 1 message of 1440 bytes every 10 ms in a thread schedule in SCHED_RR priority 70. This is the higher priority user thread in the system.
A network tra...
06/17/2016
- FW 08:25 AM Software Development: RE: Flashing a new kernel to NOR from Linux rather than u-boot
- Here are the results from my board/MDK:
06/16/2016
- JC 05:43 PM Software Development: RE: Flashing a new kernel to NOR from Linux rather than u-boot
- Alternatively it may be possible for you to build the kernel features as modules and insert them in the live system. Would like to see the output of the commands mentioned above first.
- JC 05:39 PM Software Development: RE: Flashing a new kernel to NOR from Linux rather than u-boot
- Fred,
Do you have /dev/mtdblock* devices? My kernel boot args have this "root=/dev/mtdblock0", so my assumption is that you will need to have the mtdblocks enabled inorder to boot from nand.
If you do have the mtdblock devices it ... - We use opkg to push updates to our products that are installed in the field. We now need a way to update the kernel, which is saved in NOR on the MityDSP-l138 som. A search of the CL wiki shows:
@flashcp -v uImage /dev/mtd7@
We hav...
06/15/2016
- JC 05:14 PM Software Development: RE: How to configure the GPIOs as outputs?
- Do note that the custom baseboard instructions were written for the 335x family. So some things will be slightly different. For example:
Instead of @arch/arm/mach-omap2/@ you should look in @arch/arm/mach-davinci@ for the board (boar... - BD 04:14 PM Software Development: RE: How to configure the GPIOs as outputs?
- Héctor,
Please check the last section of this page for information on how to review and set the pinmux for the development board:
https://support.criticallink.com/redmine/projects/armc8-platforms/wiki/Creating_a_custom_baseboard
... - Hi, it's me again,
I'm knowing the Profibus Development Kit (and embedded systems) and for that I'm trying to do simple codes in C++ in Eclipse,
I was checking the datasheet about the connector pin assignments and the signals names... - HB 11:00 AM Software Development: RE: Problems with the first time configuration
- Now it's working, thanks a lot Jonathan!
- JC 10:02 AM Software Development: RE: Problems with the first time configuration
- Hector Bojorquez wrote:
> > This is a error is normal and doesn't hurt anything.
> ...
These settings only affect u-boot. You need to configure the ip settings after booting into linux.
> U-Boot > print bootargs
> ...
https://suppor... - HB 09:55 AM Software Development: RE: Problems with the first time configuration
- > This is a error is normal and doesn't hurt anything.
*
So, the reflashing process went well?*
> ...
I tried with this [[Setting_a_Static_IP_Address#NFS-Mounted-File-System]]
@U-Boot > print bootargs
bootargs=mem=96M console=tt... - JC 08:38 AM Software Development: RE: Problems with the first time configuration
- Hector Bojorquez wrote:
> >There shouldn't be a space in the console arg. "console=ttyS1,115200n8"
> ...
This is a error is normal and doesn't hurt anything.
>
> ...
If you don't have a dhcp server then you will need to set your ip...
06/14/2016
- HB 05:45 PM Software Development: RE: Problems with the first time configuration
- >There shouldn't be a space in the console arg. "console=ttyS1,115200n8"
> ...
sorry about that, I was watching from the other PC and typing in the one with Network connection for making the post, but in the bootlog is OK,
>There sh... - JC 03:35 PM Software Development: RE: Problems with the first time configuration
- Hector Bojorquez wrote:
> Hi Jonathan,
> ...
There shouldn't be a space in the console arg. "console=ttyS1,115200n8"
Also root should have an '=' not a '-'.
From attachment:UpdatingDevKitMDK.txt
> U-Boot > setenv bootcmd "runflas... - HB 02:56 PM Software Development: RE: Problems with the first time configuration
- Hi Jonathan,
I made the changes, and yes the problem continues the same, I checked the bootargs and this was the result:
@U-Boot > print bootargs
bootargs=mem=96M console=ttyS1, 115200n8 root-/dev/mtdblock0 rw rootwait@
>If t... - JC 01:20 PM Software Development: RE: Problems with the first time configuration
- Thanks for all the logs, definitely helpful. The kernel panic indicates that it failed to find the filesystem. See below.
- HB 12:50 PM Software Development: RE: Problems with the first time configuration
- Hi,
I followed the steps in the [[Reprogramming_a_Dead_Board]] guide and I got access to the u-boot prompt again, so I tried again with the [[Updating_devkit_to_latest_MDK]] tutorial
I left attached the bootlog, after that I tried ... - BD 05:15 PM Software Development: RE: Specifics on reserving DDR for PRU/ARM shared use
- Regarding your specific questions, yes, you could use memmap to set aside a particular chunk of memory. Where you set it up depends on the amount of memory in your module and I expect you could access it from base SDRAM address @0x8000_0...
- BD 05:07 PM Software Development: RE: Specifics on reserving DDR for PRU/ARM shared use
- Hi Andrew,
I recommend you review the TI-provided documentation and examples for the PRU available here:
<https://github.com/beagleboard/am335x_pru_package>
This documentation is compatible with the PRU Module for the 3.2 kernel...
06/13/2016
- BD 05:14 PM Software Development: RE: JFFS2 "scheduling while atomic" problem with L138 running linux kernel 3.2
- Sorry I missed that Fred.
You can just make the change (swapping two lines) yourself for testing, or you can apply the commit via Jon's instruction.
If that fixes your problem, we can push it to our main branch.
- JC 05:12 PM Software Development: RE: JFFS2 "scheduling while atomic" problem with L138 running linux kernel 3.2
- Note we can list any other jffs patches that is in the linux-3.2.y branch that isn't in ours by doing the following:
- JC 05:07 PM Software Development: RE: JFFS2 "scheduling while atomic" problem with L138 running linux kernel 3.2
- The patch was included in the 3.2.18 kernel release. You can cherry-pick the patch from there to verify it fixes your issue.
- JC 04:56 PM Software Development: RE: JFFS2 "scheduling while atomic" problem with L138 running linux kernel 3.2
- Looks like someone already did the backport of the fix. The patch is very straight forward.
https://github.com/Angstrom-distribution/meta-ti/blob/master/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.18/0027-jffs2-Fix-lock-acquisition-or... - FW 04:28 PM Software Development: RE: JFFS2 "scheduling while atomic" problem with L138 running linux kernel 3.2
- Ah, yes, so this is indeed the problem; the code you show above is _before_ the fix. The issue is mutex_lock cannot follow spin_lock. Spin_lock places the kernel into atomic mode; during this mode, the processor must not call scheduler, ...
- BD 02:48 PM Software Development: RE: JFFS2 "scheduling while atomic" problem with L138 running linux kernel 3.2
- Fred,
The current MityDSP-L138 kernel (Branch: mitydsp-linux-v3.2) has the following code in @fs/jffs2/gc.c@: - I have been getting a lot of "scheduling while atomic" messages seemingly centered around JFFS2:
@Jun 12 12:08:37 ultrasonic kernel: BUG: scheduling while atomic: flash-writer/2221/0x00000002
Jun 12 12:08:37 ultrasonic kernel: Module...
06/10/2016
- The note in the wiki article for getting started with PRU mentions the following:
??A safe design that wanted to use shared DDR would probably have to either reserve some memory similar to how the DSP does by using mem= in bootargs. O... - JC 11:34 AM Software Development: RE: Problems with the first time configuration
- Hector, I'm not sure what commands you ran but the nand commands you show shouldn't have created this. It appears you've erased the u-boot part from the SPI NOR. You will need to follow the [[Reprogramming_a_Dead_Board]] guide.
- HB 11:04 AM Software Development: RE: Problems with the first time configuration
- I followed the Guide without errors advice, and at the final step I got the attached text (MKD_Update_End)
But when I tried to boot it up something went wrong
@OMAL-L138/AM-1810 initialization passed!
Configuring 128 MB mDDR
B...
06/09/2016
- JC 06:04 PM Software Development: RE: Problems with the first time configuration
- Hector Bojorquez wrote:
> >Both the nfsd and portmap services are not critical during boot and should not cause it to hang. Its possible some other service hung but didn't print anything out yet. Did you change anything before this happ... - HB 05:51 PM Software Development: RE: Problems with the first time configuration
>Both the nfsd and portmap services are not critical during boot and should not cause it to hang. Its possible some other service hung but didn't print anything out yet. Did you change anything before this happened?
I just ran some ...- JC 04:05 PM Software Development: RE: Problems with the first time configuration
- Both the nfsd and portmap services are not critical during boot and should not cause it to hang. Its possible some other service hung but didn't print anything out yet. Did you change anything before this happened?
You may need to ref... - HB 03:42 PM Software Development: RE: Problems with the first time configuration
- Sorry I used to take pictures because the machine where is installed Vbox has no access to the network, even if I need to take out some info from there I need a special USB
that is why I take pictures for making faster, but I will tr... - JC 01:47 PM Software Development: RE: Problems with the first time configuration
- Hector Bojorquez wrote:
> Hi Jonathan,
> ...
Hector could you include the full boot log? It also much easier for me if you copy the text into a text file and upload that instead of taking a picture snapshot of the bootlog.
- HB 11:32 AM Software Development: RE: Problems with the first time configuration
- Hi Jonathan,
Since I got the HelloWorld I just played with some simple code and it worked well, but today when I tried to boot up the card the bootloader stops with a message at the end
*"svc: failed to register nfsdv2 RCP service...
06/02/2016
- AB 02:39 PM Software Development: RE: Pinmux changes back on its own
- Hi Jonathan, thanks for looking into this. The L138 technical reference manual does show many of the SYSCFG registers being modifiable only in a privileged mode, including PINMUX registers. I tried reading and writing to PRU internal gen...
- JC 01:50 PM Software Development: RE: Pinmux changes back on its own
- Found this post for the 335x which mentions that the pinmux registers are protected. Its likely this is also true for the L138.
https://groups.google.com/forum/#!topic/beagleboard/D8hU7LddIu0 - JC 01:30 PM Software Development: RE: Pinmux changes back on its own
- I can confirm that doesn't appear to work.
- AB 10:29 AM Software Development: RE: Pinmux changes back on its own
- I was able to compile busybox (after making an empty syncfs() function in sync.c as a quick workaround), and here's what I get:
- HB 01:39 PM PCB Development: RE: Questions about my product version
- I got this:
>root@mityomapl138:~# dmesg | grep 'Part Number'
> ...
So I think I can be sure that I have MitySOM-1810F
Thanks Jonathan.
- AB 01:22 PM PCB Development: RE: Questions about my product version
- Hector,
To determine the model of a specific module please refer to the label that is located on the bottom side of the module.
For example you would see the 1810-FG-225-RC which would mean that the module is an AM1810 processor. ... - JC 01:14 PM PCB Development: RE: Questions about my product version
- During the linux boot, it should print out the model number of the module. Here is what my L138 prints out:
- Hello everybody,
I requested for a MitySOM-1810F + PROFIBUS-development kit from Avnet, and I got kind of confused with the product I received
It is supposed that the MitySOM-1810F should look like this:
!MitySOM-1810F-web.jpg! ... - JC 08:51 AM Software Development: RE: Problems with the first time configuration
- Note the old filesystem has an outdated url for opkg. Angstrom moved their feeds to here: http://feeds.angstrom-distribution.org/feeds/. You might be able to update the urls in /etc/opkg to point to the new location if you want to use o...
06/01/2016
- HB 05:50 PM Software Development: RE: Problems with the first time configuration
- I changed it to the older toolchain and it works! , I will try to do the MDK updating
From: https://support.criticallink.com/redmine/boards/10/topics/2559?r=4113#message-4113
> I needed to set up the environment for the v4.3.3 tool... - JC 05:01 PM Software Development: RE: Problems with the first time configuration
- Correct link to forum post: https://support.criticallink.com/redmine/boards/10/topics/2559?r=4113#message-4113
- JC 05:00 PM Software Development: RE: Problems with the first time configuration
- Note: If you're starting a new project, I recommend updating your filesystem to the latest MDK and using the newer toolchain.
[[Updating_devkit_to_latest_MDK]]
- JC 04:58 PM Software Development: RE: Problems with the first time configuration
- Hector Bojorquez wrote:
> Thanks again,
> ...
Your using a newer toolchain than your filesystem. See this forum post: https://support.criticallink.com/redmine/projects/arm9-platforms/activity?from=2014-07-30 - HB 04:39 PM Software Development: RE: Problems with the first time configuration
- Thanks again,
I will check it with IT guys.
I got in the MityDSP from the VM with *_ssh root@192.168.0.151_* in terminal, so I tried to continue with the Starter Guide tutorial,
when I tried to run the HelloWorld executable I go... - JC 03:21 PM Software Development: RE: Pinmux changes back on its own
- One difference with the busybox code is they seem to be taking pains to make sure their mmap is page aligned.
https://git.busybox.net/busybox/tree/miscutils/devmem.c#n80 - JC 03:11 PM Software Development: RE: Pinmux changes back on its own
- You can download the latest busybox and cross compile it. Should be something like below assuming you've set the toolchain in the path and the --host matches your toolchain. The busybox executable can be copied to the home directory an...
- AB 03:00 PM Software Development: RE: Pinmux changes back on its own
- It looks like devmem is missing from the version of busybox (v1.19.4) included with the 2014-01-13 root file system image, which I'm currently using. Is it straightforward to update busybox? I looked through the source for the most recen...
- JC 10:21 AM Software Development: RE: Pinmux changes back on its own
- Do you have the same problem using the devmem utilty? It also uses the /dev/mem interface. If it works perhaps you can use strace to see what its doing differently.
@strace devmem 0x01C14134 0x118112@ - AB 10:18 AM Software Development: RE: Pinmux changes back on its own
- I've played around with it a bit more, and it seems the issues does not have to do specifically with PINMUX registers. It seems that all writes through memory mapped /dev/mem are failing to actually take effect, i.e., the register is not...
- JC 09:26 AM Software Development: RE: Pinmux changes back on its own
- Strange, the only time the pinmux should get modified is during u-boot initialization and during kernel boot. Otherwise there isn't anything in linux that should be modifying the pinmux. Unless you need to dynamically change the pinmux...
05/31/2016
- JC 02:15 PM Software Development: RE: Problems with the first time configuration
- Hector Bojorquez wrote:
> Hi again!,
FYI, if you want to link to attachments in redmine, the syntax is @attachment:Booting_up.jpg@ attachment:Booting_up.jpg
> ...
This is good
>
> ...
The command shows that no ip address has been a... - HB 01:04 PM Software Development: RE: Problems with the first time configuration
- Hi again!,
Thanks Jonathan, It looks that it has already booted up in Linux +{Attached 1 Booting_up.jpg}+
I have written the @ ifconfig -a@ command in U-Boot prompt and this was the output: +{Attached 2 ifconfig.jpg}+ *Is this th...