Part Number: BEAGLEBK Tool/software: Linux I installed the official TI Linux SDK 4 on my Beaglebone black and developed a simple OpenGL ES / EGL application which I execute from the serial console. The application outputs to the HDMI port without any problem. In favor of a smaller distribution, I used buildroot to make a lightweight kernel using the "beaglebone_qt5_defconfig" configuration. This installs the sgx kernel module and userspace libraries found here http://git.ti.com/graphics/omap5-sgx-ddk-linux http://git.ti.com/graphics/omap5-sgx-ddk-um-linux The sgx module appears to load correctly when I boot the kernel. However, when I run the OpenGL application, I no longer see any output on the screen. Is there a PVR or DRM configuration step that I am missing? I have attached two files: terminal_output.txt -> Includes the output from the putty terminal for boot and while attempting to run the OpenGL program sgx_check_output.txt -> the output from the sgx_check.sh script (found here: http://processors.wiki.ti.com/index.php/SGXDbg
↧
Forum Post: Linux/BEAGLEBK: Troubles configuring SGX drivers to work correctly
↧
Forum Post: RE: Linux/AM3354: U-boot showing data abort error
Can u help me to resolve the dts problem in 4.9 kernel..! 1.How can i find out which part in dts is not matching..? 2.Why it is showing unrecognized/unsupported machine id..? 3.I tried with am335x-beaglebone.dtb, since my custom board design is similar to beagle bone board. But the error is same. 4.Did i have to set machine id anywhere..? Error: unrecognized/unsupported machine ID (r1 = 0x9df370cc). Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Generic DRA72X (Flattened Device Tree) ffffffff Generic DRA74X (Flattened Device Tree) ffffffff Generic AM43 (Flattened Device Tree) ffffffff Generic OMAP5 (Flattened Device Tree) ffffffff Generic OMAP4 (Flattened Device Tree) ffffffff Generic AM33XX (Flattened Device Tree) ffffffff Generic ti816x (Flattened Device Tree) ffffffff Generic ti814x (Flattened Device Tree) ffffffff Generic AM3517 (Flattened Device Tree) ffffffff Generic OMAP3-GP (Flattened Device Tree) ffffffff Generic OMAP36xx (Flattened Device Tree) ffffffff Generic OMAP3 (Flattened Device Tree) ffffffff Nokia RX-51 board ffffffff Generic OMAP2430 (Flattened Device Tree) ffffffff Generic OMAP2420 (Flattened Device Tree) Please check your kernel config and/or bootloader.
↧
↧
Forum Post: RE: Linux/AM5728: WriteBack NV12 format single planar
Hello, You could check this guide also: processors.wiki.ti.com/.../Linux_Core_DSS_WB_User's_Guide Hope this helps. BR Margarita
↧
Forum Post: RE: Linux/AM5726: Changes required for eMMC part: MTFC4GACAANA-4MIT, SDK 4.0.0.4
Hi Patrick, Check also what voltage value you are using (3.3/1.8V). See the below e2e thread for more info: e2e.ti.com/.../2114476 Regards, Pavel
↧
Forum Post: RE: Linux/DM3730: Running Simple C program on linux booted Target
This has been double posted and answered in your other thread: e2e.ti.com/.../629549 Regards, Pavel
↧
↧
Forum Post: RE: Linux/BEAGLEBK: Troubles configuring SGX drivers to work correctly
Hello Kyle, The logs are not attached. Can you attach them? Best regards, Kemal
↧
Forum Post: RE: Linux/AM3352: Looking for process to find missing /sys/bus/usb on "shrunk" filesystem
Hi, [quote]- if they have a dependency on another insmodded module I would expect that I might be able to work it out (or narrow down the search space) from the results of lsmod prior to insertion?[/quote] Either that, or you can have a look at the Kconfig files located in drivers/usb/ subfolders; look at the "depends on" statements. [quote]Do you happen to know the config setting that might be responsible for the module that brings up the usb bus?[/quote] See the Software Developers Guide on this one: processors.wiki.ti.com/.../Processor_SDK_Linux_USB MUSB is used in Sitara AM335x: processors.wiki.ti.com/.../Processor_SDK_Linux_MUSB In the porting section of the above link, there is a link to: MUSB Driver Kernel Configuration ( processors.wiki.ti.com/.../MUSB_Linux_Driver_Configuration) . Best Regards, Yordan
↧
Forum Post: RE: Linux/DRA744: pinmux of mcasp1
Deep, Yes, this is the correct file and structure array for DRA74x pinmux. I see that MCASP1 pins (aclkx, fsx, axr0, axr1) are already setup: {MCASP1_ACLKX, (M0 | PIN_INPUT_PULLDOWN)}, /* mcasp1_aclkx.mcasp1_aclkx */ {MCASP1_FSX, (M0 | PIN_INPUT_SLEW)}, /* mcasp1_fsx.mcasp1_fsx */ {MCASP1_AXR0, (M0 | PIN_INPUT_SLEW | VIRTUAL_MODE15)}, /* mcasp1_axr0.mcasp1_axr0 */ {MCASP1_AXR1, (M0 | PIN_INPUT_SLEW)}, /* mcasp1_axr1.mcasp1_axr1 */ You can dump MCASP1 CTRL_CORE_PAD_x registers in u-boot (with md command) and in user space (devmem2 tool) to verify you have the correct values there. Also if you need FSX/AXR0/AXR1 pins to be output, you should also configure that here. Also if you need to use mcasp1_ahclkx pin, you should also configure that here. If you need to configure IO delay settings, you should use dra742_es2_0_iodelay_cfg_array[] for DRA74x ES2 device. Regards, Pavel
↧
Forum Post: RE: Linux/AM5728: AM572x EVM kernel patches
Hi Tsvetolin, thank you for your reply. I tried to use the SDK, without success. The SDK builds fine, this is OK. What I need is the patches that will convert the vanilla linux 4.9.52 to a TI based kernel. As far as I have understand, the bb system downloads the already patched kernel, not the original one. For example the file "/drivers/net/ethernet/ti/prueth.c" doesn't exist in the 4.9.52 kernel. Only in TI's version: " https://git.ti.com/processor-sdk/processor-sdk-linux/trees/6379460fb4ca98976203b2516e829500de5a27ff/drivers/net/ethernet/ti ". Where is the patch that adds this file? Are all these patches available somewhere for download? Best Regards, Ioannis
↧
↧
Forum Post: RE: Linux/AM5728: Linux Memory Policies
Tom, [quote user="Tom W"]Thanks for the clarification, I've followed your recommendation with mw/md commands (as well as re-enabling mtest) and I've found some potential tricky spots in my DRAM. These appear to be sections in RAM that U-Boot has placed commands or other important data (I've found the FIT/FDT command string in RAM). [/quote] I would suggest you to fix your DRAM first. See if the below pointers will be in help for testing it: I will have a look your other question (regarding memory map) and come back to you. Regards, Pavel
↧
Forum Post: RE: Linux/AM5728: Linux Memory Policies
[quote user="Tom W"]But when you said that the default PSDK4 comes with 2GB (to match the AM57x EVM, for sure), is there somewhere in the kernel setup that I have to specify RAM size? [/quote] In u-boot, make sure you have update your dmm_lisa_map_x registers and DTS file which are by default configured for 2GB DRAM: u-boot-2017.01/arch/arm/dts/am57xx-beagle-x15-common.dtsi memory@0 { device_type = "memory"; reg = ; //2GB DRAM }; In kernel, you can adjust the DTS file from 2GB to 256MB: linux-4.9.28/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi memory@0 { device_type = "memory"; reg = ; }; See also below pointers for better DRAM config understanding: Regards, Pavel
↧
Forum Post: RE: Linux/DRA744: pinmux of mcasp1
Thanks Pavel, I will let you know in case of any further queries Regards, Deep
↧
Forum Post: Linux/OMAP-L138: GateMP in multithread app
Part Number: OMAP-L138 Tool/software: Linux Hi, I'm using GateMP in my app between single DSP- process and single Linux- process with multiple threads. Gone well so far but when I added one thread more, GateMP- protected area could not be acessed in that thread for some reason. Should one thread create GateMP and each Linux thread open it or can one global gate handle be used in Linux process? Tools I'm used can be seen below. BR, risto LINUXKERNEL = $(DEPOT)/ti/mcsdk_1_01_00_02/board-support/linux-3.3-psp03.22.00.06.sdk CGT_ARM_INSTALL_DIR = $(DEPOT)/arago-2011.09/armv5te CGT_ARM_PREFIX = $(CGT_ARM_INSTALL_DIR)/bin/arm-arago-linux-gnueabi- IPC_INSTALL_DIR = $(DEPOT)/ti/ipc_1_25_03_15 BIOS_INSTALL_DIR = $(DEPOT)/ti/bios_6_34_03_19 XDC_INSTALL_DIR = $(DEPOT)/ti/xdctools_3_24_05_48
↧
↧
Forum Post: RE: Linux/OMAP-L138: GateMP in multithread app
Hi, [quote]Should one thread create GateMP and each Linux thread open it or can one global gate handle be used in Linux process?[quote] See: processors.wiki.ti.com/.../GateMP_Module From what I understand you should have a GateMP creator, and then opener (or multiple openers) can enter the gate. So, IMO, one thread create GateMP and each Linux thread open it. Best Regards, Yordan
↧
Forum Post: RE: Linux/AM3354: U-boot showing data abort error
[quote user="madhu sundar "] 1.How can i find out which part in dts is not matching..? [/quote] Compare the am335x-beaglebone.dts with your working device tree from kernel 3.14. Start from scratch, create the general nodes then add the other peripherals in groups or one by one. [quote user="madhu sundar "] 2.Why it is showing unrecognized/unsupported machine id..? [/quote] When you are not using bootz to start the kernel with device tree specified and just jump to that address with go command. The kernel thinks that you are booting with ATAGS then that is the reason why it prints that unrecognized/unsupported machine id. [quote user="madhu sundar "] 3.I tried with am335x-beaglebone.dtb, since my custom board design is similar to beagle bone board. But the error is same. [/quote] Custom board will require custom device tree. [quote user="madhu sundar "] 4.Did i have to set machine id anywhere..? [/quote] In this case no, you just have to use the bootz command.
↧
Forum Post: RE: Linux/AM5726: Changes required for eMMC part: MTFC4GACAANA-4MIT, SDK 4.0.0.4
[quote user="Patrick_W"]Are there any other changes to Linux I need to make? Our board's eMMC is EMMC standard v4.51 whereas the Kingston part is v5.0.[/quote] Beside pinmux and other device tree changes (op modes, voltages, etc), no other changes are needed. The linux driver should support v4.5 eMMC parts by default. Note that AM572x TI EVMs comes also with Micron MTFC4GACAJCN-1M WT parts, and default linux driver and DTS files are working fine for both Kingston and Micron parts. See also below wiki pages: http://processors.wiki.ti.com/index.php/Linux_Core_MMC/SD_User's_Guide Regards, Pavel
↧
Forum Post: RE: Linux/BEAGLEBK: Troubles configuring SGX drivers to work correctly
(Please visit the site to view this file) (Please visit the site to view this file)
↧
↧
Forum Post: Linux/PROCESSOR-SDK-AM335X: Error: unrecognized/unsupported machine ID (r1 = 0x00000e05)
Part Number: PROCESSOR-SDK-AM335X Tool/software: Linux Hi all, I'm working with TI Processor SDK 04.00.00 and I'm trying to customize u-boot and Linux for a new board. I've recompiled U-Boot e Linux and created the DTB file for the board. Now I'm try to start Linux from the NET but the system blocks when Linux is started by the boot. This is what console outputs. ----------------------------------------------------------------------------------------------------------------- -Boot SPL 2017.01-00319-geae4602-dirty (Oct 04 2017 - 09:16:07) Trying to boot from MMC1 reading u-boot.img reading u-boot.img U-Boot 2017.01-00319-geae4602-dirty (Oct 04 2017 - 09:16:07 +0200) CPU : AM335X-GP rev 2.1 I2C: ready DRAM: 256 MiB NAND: 256 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 SF: Detected s25fl128s_64k with page size 256 Bytes, erase size 64 KiB, total 16 MiB Display: AM800480STMQW_TA1 (800x480) SF: Detected s25fl128s_64k with page size 256 Bytes, erase size 64 KiB, total 16 MiB device 0 offset 0x780000, size 0x400000 SF: 4194304 bytes @ 0x780000 Read: OK Error: no valid bmp image at 8f000002 CACHE: Misaligned operation at range [8df851b0, 8e0fc1b0] SOM ConfigID#: 00000002 SOM UniqueID#: 0000fc93:8b199e68 CB ConfigID#: ffffffff CB UniqueID#: 00000000:00000000 Net: cpsw, usb_ether Error: usb_ether address not set. Hit any key to stop autoboot: 0 starting USB... USB0: Port not available. USB is stopped. Please issue 'usb start' first. ** Bad device usb 0 ** switch to partitions #0, OK mmc0 is current device reading boot.scr ** Unable to read file boot.scr ** link up on port 0, speed 100, full duplex Using cpsw device TFTP from server 192.168.1.74; our IP address is 192.168.1.131 Filename 'uImage'. Load address: 0x80007fc0 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################################ 612.3 KiB/s done Bytes transferred = 3550512 (362d30 hex) link up on port 0, speed 100, full duplex Using cpsw device TFTP from server 192.168.1.74; our IP address is 192.168.1.131 Filename 'am335x-signal-diva.dtb'. Load address: 0x80f80000 Loading: ######## 562.5 KiB/s done Bytes transferred = 40932 (9fe4 hex) FDT: override 'som_uniqueid' with '0000fc93:8b199e68' FDT: override 'cb_uniqueid' with '00000000:00000000' ## Booting kernel from Legacy Image at 80007fc0 ... Image Name: Linux-4.9.28-rt16-g786e64041b Created: 2017-10-04 10:19:54 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3550448 Bytes = 3.4 MiB Load Address: 80007fc0 Entry Point: 80007fc0 Verifying Checksum ... OK ## Flattened Device Tree blob at 80f80000 Booting using the fdt blob at 0x80f80000 Loading Kernel Image ... OK reserving fdt memory region: addr=80f80000 size=b000 Using Device Tree in place at 80f80000, end 80f8dfff Starting kernel ... Error: unrecognized/unsupported machine ID (r1 = 0x00000e05). Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Generic AM33XX (Flattened Device Tree) Please check your kernel config and/or bootloader. ----------------------------------------------------------------------------------------------------------------- I've tried using zImage or uImage, but nothing changes. I'd appreciate if anyone could help me. Roberto
↧
Forum Post: RE: Linux/PROCESSOR-SDK-AM335X: Error: unrecognized/unsupported machine ID (r1 = 0x00000e05)
Hi Roberto, Please check the below wiki page, it explains how to handle such error: processors.wiki.ti.com/.../Kernel_-_Common_Problems_Booting_Linux See also the below e2e threads: https://e2e.ti.com/support/embedded/linux/f/354/p/605958/2232209#2232209 https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/132574 Regards, Pavel
↧
Forum Post: RE: Linux/BEAGLEBK: Troubles configuring SGX drivers to work correctly
Here is another potentially useful output from modetest (Please visit the site to view this file)
↧