Quantcast
Channel: Embedded Software (Read Only)
Viewing all 25965 articles
Browse latest View live

Forum Post: RE: Linux/PROCESSOR-SDK-AM335X: Error: unrecognized/unsupported machine ID (r1 = 0x00000e05)

$
0
0
Hi Pavel, I thank to you for your answer, but I've already read this page. As you can see from the log the machine number seen is 0x00000e05, which is the number of the TI AM335X-EVM, but in the list of available supported machine there are only: - ffffffff Generic DT based system - ffffffff Generic AM33XX (Flattened Device Tree) I think that the number 0x00000e05 is passed by boot to the kernel, but I cannot understand why I've only this two machine type. Where do they come from? I don't know where. I've searched on line and usually the problem comes from the DTB not loaded or something similar, but I cannot see anything wrong in what I've done. Could you please suggest something else? Best regards Roberto

Forum Post: RE: Linux/PROCESSOR-SDK-AM335X: Error: unrecognized/unsupported machine ID (r1 = 0x00000e05)

$
0
0
Roberto, Have you gone though the e2e link I have provided? e2e.ti.com/.../2232209 Regards, Pavel

Forum Post: Linux/AM3354: AM3354:timer7:Unable to configure timer7 as PWM using the user space script or Kernel module

$
0
0
Part Number: AM3354 Tool/software: Linux Hi All, HW description, SoC used AM3354BZCZ60 Custom made board SW description, SDK version - 03.03, Kernel version - 4.4.41-gf9f6f0db2d, u-boot version - u-boot-2016.05+gitAUTOINC+4db46a6bbd-g4db46a6bbd Problem Scenario, I have configured timer7(gpio1_8) as PWM under user space by referring the scripts attached in the below link, e2e.ti.com/.../440723 In my user space script, I have configured the timer7 registers to generate PWM signals by referring the section 20.1.5 of AM335x TRM. Timer7 is configured to use 24MHz main clk as clk source.Once I run the script it complains with the following error messages, /ti.mer.sh: line 54: 2229 Bus error (core dumped) evmem2 0x4804a04c w 0xFFFFFE9C /dev/mem opened. Memory mapped at address 0xb6fa0000.[ 3036.452740] Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6fa0044 [ 3036.466501] pgd = d536c000 [ 3036.469221] [b6fa0044] *pgd=9b623831, *pte=4804a303, *ppte=4804aa33 [ 3036.475712] edma 49000000.edma: dma_ccerr_handler: Error interrupt without error event! ./timer.sh: line 58: 2231 Bus error (core dumped) devmem2 0x4804a044 w 0x00000000 /dev/mem opened. Memory mapped at address 0xb6f1b000.[ 3036.506486] Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6f1b010 [ 3036.520767] pgd = d5300000 [ 3036.523486] [b6f1b010] *pgd=9530a831, *pte=4804a303, *ppte=4804aa33 [ 3036.530003] edma 49000000.edma: dma_ccerr_handler: Error interrupt without error event! ./timer.sh: line 62: 2233 Bus error (core dumped) devmem2 0x4804a010 w 0x8 /dev/mem opened. Memory mapped at address 0xb6f8d000.[ 3036.560894] Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6f8d038 [ 3036.574340] pgd = d52b0000 [ 3036.577061] [b6f8d038] *pgd=952d4831, *pte=4804a303, *ppte=4804aa33 [ 3036.583556] edma 49000000.edma: dma_ccerr_handler: Error interrupt without error event! ./timer.sh: line 65: 2235 Bus error (core dumped) devmem2 0x4804a038 w 0x186B Timer Value 1 /dev/mem opened. Memory mapped at address 0xb6f97000.[ 3036.615355] Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6f9703c [ 3036.629573] pgd = d536c000 [ 3036.632292] [b6f9703c] *pgd=95366831, *pte=4804a303, *ppte=4804aa33 [ 3036.638811] edma 49000000.edma: dma_ccerr_handler: Error interrupt without error event! ./timer.sh: line 70: 2237 Bus error (core dumped) devmem2 0x4804a03C Timer is Running! Timer Value 2 /dev/mem opened. Memory mapped at address 0xb6f67000.[ 3037.683757] Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6f6703c [ 3037.695746] pgd = d52b0000 [ 3037.698479] [b6f6703c] *pgd=9c533831, *pte=4804a303, *ppte=4804aa33 [ 3037.705103] edma 49000000.edma: dma_ccerr_handler: Error interrupt without error event! ./timer.sh: line 70: 2240 Bus error (core dumped) devmem2 0x4804a03C Timer is Running! and my timer7 pin remains LOW all the time. Please help me out in generating the PWM signals using timer7(Please visit the site to view this file). Please look into the below Kernel logs for timer, [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000046] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000060] OMAP clocksource: timer1 at 24000000 Hz [ 0.249064] clocksource: Switched to clocksource timer1 [ 0.267737] omap_timer 4804a000.timer: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/timer7_pins_dee Below are my device tree changes for timer7, timer7_pins_default: timer7_pins_default { pinctrl-single,pins = ; }; &timer7 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = ; }; Please find the attached user space script for reference.

Forum Post: RE: Linux/PROCESSOR-SDK-AM335X: Error: unrecognized/unsupported machine ID (r1 = 0x00000e05)

$
0
0
Hi Pavel, I'm sorry. I haven't seen the last two links. At the moment I haven't made any change to Linux. Could you please help me saying what are the steps to add a new board support? Best regards Roberto

Forum Post: RE: Linux/AM5728: Can we get an updated EGL/GLES/PVR libraries for the AM5728 ?

$
0
0
Hi, Bill: I am in the process to reproduce and debug the problems that you reported. Thanks a lot for the information! Can you send us the cmake build options? I cannot figure out how you specify the ARM compiler path, options and the path to the target file system or sysroot. Should we create a CMAKE_TOOLCHAIN_FILE under /framework/delibs/cmake. Best regards, Eric

Forum Post: RE: Linux: RTC wake-up from deepsleep mode: AM3358ZCZ ARM Cortex-A8 Processor

$
0
0
Hello Pavel, Below is the log for deepsleep0 mode. The target sleeps but never wakes up from RTC. The wakeup below was done from serial port. RTC wakeup in 30 sec did not happen. wifi [0;160R] ~ 16-02-11 4:30PM wifi# rtcwake -d /dev/rtc0 -m mem -s 30 rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Sat Jan 1 00:02:46 2000 [ 141.853136] PM: Syncing filesystems ... done. [ 141.878281] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 141.893210] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. [ 141.902654] Suspending console(s) (use no_console_suspend to debug) [ 141.918580] queueing ieee80211 work while going to suspend [ 141.918799] queueing ieee80211 work while going to suspend [ 141.922645] ili9341: sleep [ 142.036469] ili9341: suspend [ 142.041268] PM: suspend of devices complete after 130.891 msecs [ 142.042776] PM: late suspend of devices complete after 1.471 msecs [ 142.044755] PM: noirq suspend of devices complete after 1.940 msecs [ 142.044767] PM: Successfully put all powerdomains to target state [ 142.046877] PM: noirq resume of devices complete after 1.932 msecs [ 142.048129] PM: early resume of devices complete after 0.942 msecs [ 142.057068] ili9341: unsleep [ 142.376135] ili9341: resume [ 142.423590] PM: resume of devices complete after 375.416 msecs [ 142.494254] Restarting tasks ... done. Thank you

Forum Post: RE: Linux/AM5726: Changes required for eMMC part: MTFC4GACAANA-4MIT, SDK 4.0.0.4

$
0
0
The schematic shows VCCQ connected to 1.8v. However the eMMC_DAT/CLK/CMD pins are pulled up to 3.3v and Vddshv11 is connected to 3.3v. Should all of these voltages match?

Forum Post: RE: Linux: am33xx, musb, cppi41 packet loss ?

$
0
0
Hi Pavel and Dwarakesh, I have installed the SDK with a beaglebone black and the issue reproduced. The bbb kernel is 4.4.9-ti-r25. About our kernel, I was told it was "very similar" to yours but not equal. Best regards, Fred

Forum Post: RE: Linux/AM5728: U-Boot Fails to Debug, SPL works

$
0
0
Tom any resolution to this issue? Was it a DDR issue or the device tree, or symbol problem and what did you do to resolve the problem?

Forum Post: RE: Linux/AM5718: SD card booting problem

$
0
0
Ganesh, Taking a look at this, your U-Boot is very old, 2015.07, and you are using older Silicon, ES 1.0. Do you have the option to upgrade to a newer version of both, at least to check this problem?

Forum Post: RE: Linux/AM5728: U-Boot Fails to Debug, SPL works

$
0
0
[quote user="Tracy Smith6"] Tom any resolution to this issue? Was it a DDR issue or the device tree, or symbol problem and what did you do to resolve the problem? [/quote] Hi Tracy, It was a problem with the methodology of the wiki. Essentially the u-boot.bin that the wiki article at the original post mentions needs to be u-boot-dtb.bin. This may be because that wiki article was written before the device tree was added to U-Boot and Linux. For SPL I also used u-boot-spl-dtb.bin and had some success there too. I never did manage to get the Linux debug working, sadly. I also noticed while getting U-Boot and SPL running that I had an EMIF configuration issue, and once I modified that I was able to get to the U-Boot command line.

Forum Post: RE: Linux/AM5728: U-Boot Fails to Debug, SPL works

$
0
0
thanks Tom. Looking at similar concerns now.

Forum Post: RE: Linux/AM5728: Linux Memory Policies

$
0
0
Hi Pavel, thanks for the reply. I've modified both of these memory@0 nodes to fit my config (256MB starting at 0x80000000): memory@0 { device_type = "memory"; reg = ; }; I've also modified the reserved-memory node as such: reserved-memory { /delete-node/ ipu2_cma@95800000; /delete-node/ dsp1_cma@99000000; /delete-node/ ipu1_cma@9d000000; /delete-node/ dsp2_cma@9f000000; cmem_block_mem_0: cmem_block_mem@a0000000 { reg = ; }; }; so that the DSP/IPU nodes are not used (they are disabled as well later in the DT) and the cmem block is moved to a space in RAM (and shrunk) that exists on my system. I've unfortunately had no results. This is the output I receive: Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.28-geed43d1050 (tom@tom-ThinkPad-P50s) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #16 SMP PREEMPT Wed Oct 4 15:08:57 EDT 2017 [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] OF: fdt:Machine model: tom's customboard [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 24 MiB at 0x000000008e400000 [ 0.000000] Memory policy: Data cache writealloc

Forum Post: RE: Linux/66AK2H12: IP stack freeze when trying to use NFS

$
0
0
Tom, I tried different approach by using another KS2 platform, K2E, and different release, ProcSDk 4.0.0.4. I was able to mount and even create a file with size of 10M. However, when moving back to K2H with ProcSDk 4.0, I am still having issue using K2H and the setup isn't stable enough to test NFS over XGE. I'll check with MCSDK on K2E.and see how I can get the setup running. Rex

Blog Post: Processor SDK 4.1 Released (AM57x, AM437x, AM335x, K2x, C66x, C674x, OMAP-L13x)

$
0
0
Processor SDK 4.1 is now available for download! For migration information, see RTOS migration page or Linux migration page . The Processor SDK (Software Development Kit) is a unified software platform for TI embedded processors providing easy setup and fast out-of-the-box access to benchmarks and demos. All releases of Processor SDK are consistent across TI’s broad portfolio, allowing developers to seamlessly reuse and develop software across devices. Developing scalable platform solutions has never been easier than with the Processor SDK and TI’s embedded processor solutions. To simplify the end user experience, the software installers are customized for the hardware platform and the operating system – Linux, RT-Linux, Android or RTOS. Please find below the link to do download page for your platform and operating system: Linux RT-Linux Linux HS RTOS HS RTOS Android AM335x download download My Secure download download AM437x download download My Secure download download AM57x download download My Secure download download download K2H/K download download My Secure download download K2E download download My Secure download download K2L download download download K2G download download My Secure download My Secure download download AM438x (EPOS) My Secure download C665x n/a n/a n/a download C667x n/a n/a n/a download OMAP-L138 download download OMAP-L137 download Linux Release Highlights: Enable RSTP (Rapid Spanning Tree Protocol) Enable CC-Link Industrial Ethernet Field Basic Master and Slave Promiscuous mode support on PRU Ethernet interface Access PRU-ICSS from Linux user-space via ICSS EMAC LLD. See here HSR/PRP (on AM57x) Runtime configurability of HSR/PRP/SAN modes GMAC can function as a PTP OC, either Master or Slave Linux HSR/PRP node interop with TI-RTOS OS based nodes PTP using CPTS for 1588 Time-stamping in Linux New Demo Applications EVSE demo to showcase HMI for EVSE charging stations Protection Relay demo to showcase HMI for Protection Relays on AM335x OpenVX: Introduce OpenVX support in Processor SDK Linux, with Vision processing kernels, and C66x offload. More details can be found here . OpenCL: Added support for profiling OpenCL kernels using hardware events and the AET Library Boot Authentication support for K2G HS parts OPTEE Runtime security- Secure Storage support for AM437x HS parts Kernel/DTB Encryption Support for AM335x HS parts Additional information in Linux Release Notes Android Release Highlights Processor SDK Android "Marshmallow" release with updated Kernel and U-boot. Please note that there will be no further updates for Marshmallow, and customers are not advised to go for production on Marshmallow. Next update for Processor SDK Android will be with Android-O. Additional information in Android Release Notes RTOS Release Highlights: General PWM CSL-FL support for AM335x/AM437x/AM57x SOCs CC-Link Industrial Ethernet Field Basic Master and Slave support for AM335x/AM437x/AM57x/K2G ICSS-EMAC Driver : Additional queues configuration for multiple protocol scalability OMAPL13x and C674x USB Driver with host and device MSC Support Extending Secondary Boot Loader support to cover OMAPL1-138 K2G SPI Driver: Additional 16 bit word length support AM437x HS RTOS Boot Support PRUSS Firmware ICSS-EMAC Switch firmware Source release Enable promiscuous mode support in EMAC firmware Additional information in RTOS Release Notes The Processor SDK is free, and does not require any run-time royalties to Texas Instruments. For more information on the software and getting started, see the online Linux Software Developer Guide and RTOS Software Developer Guide .

Forum Post: Linux/BEAGLEBK: rpmsg_pru31, PRU, event_channel

$
0
0
Part Number: BEAGLEBK Tool/software: Linux Hi, I'm trying to run lab 5 tutorial from Hands on PRU and I end up with this error. I am running Debian 8.3. Does anyone know were I can find a solution for it. I lost about month trying to run this project https://github.com/mkj/pru-mic . I tried lot of different debian distributions. In the newest version after loading the lab 5 tutorial the PRU didnt create the rpmsg_pru31. I tired also the SDK proccesor, but the linux headers are diffrent and I can't compile the kerenel module in the pru-mic project. Please help me cos if I dont find a solution I will have to move on to the cubieboard (they have 4 I2S inputs and a faster CPU).

Forum Post: RE: Linux/CARDVRRDK: Need latest kernel for DM385 car black box (nsketch)

$
0
0
Hi Pavel, Thanks for your response. I have been going through the IPNC SDK 3.9.x and it appears it may take a significant effort to upgrade. Do you know if there are any plans to release an updated RDK for the car black box? Regards, Mark

Forum Post: RE: Linux/CARDVRRDK: Need latest kernel for DM385 car black box (nsketch)

$
0
0
Mark, No, I am not aware of such plans. Regards, Pavel

Forum Post: RE: Linux: RTC wake-up from deepsleep mode: AM3358ZCZ ARM Cortex-A8 Processor

$
0
0
Hello Grant, This is not the full bot up log (SPL, Uboot, kernel, rootfs) that I have requested. Please share the full log. Thank you

Forum Post: RE: Linux/BEAGLEBK: rpmsg_pru31, PRU, event_channel

$
0
0
Hi Rafal, This forum support TI SDK, which comes with Arago Linux. So if you can switch to TI SDK (link below), we can be in better help. software-dl.ti.com/.../index_FDS.html For Debian Linux support, you need to check with the Beagle board community support page. Regards, Pavel
Viewing all 25965 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>