Part Number: AM3352 Tool/software: Linux Hi , We've design TI_ AM3352 's USB Port0 as client mode for our project , but it can't recognized by HOST PC(Windows) . I've check the USB_ID , it's connect to MicroUSB directly . And I've measure the voltage of USB0_VBUS is 5V when we plug USB Cable into Host PC side. ======================= I've attach the log file : "putty_20181222_1.log" , Do you have any suggestion ? I guess Host PC should be pop something in Windows Device Manager , right ? Thanks.
↧
Forum Post: Linux/AM3352: AM3352 - USB0 can't recognized by HOST PC .
↧
Forum Post: RE: AM6548: How to boot from flash
Hi Thanks a lot . I'll have a try. Best Regards Hope Chen
↧
↧
Forum Post: TMS320C6746: Lwip problem on tms320c6746
Part Number: TMS320C6746 hi, I have used enet_echo project from c6748 starterware and changed it according to my board.all those changes were related to emac,mdio and phy initialization.When i Debug the code it is getting stuck at following for loop netif_set_ipaddr(struct netif *netif, struct ip_addr *ipaddr) { /* TODO: Handling of obsolete pcbs */ /* See: mail.gnu.org/.../msg00118.html */ #if LWIP_TCP struct tcp_pcb *pcb; struct tcp_pcb_listen *lpcb; /* address is actually being changed? */ if ((ip_addr_cmp(ipaddr, &(netif->ip_addr))) == 0) { /* extern struct tcp_pcb *tcp_active_pcbs; defined by tcp.h */ LWIP_DEBUGF(NETIF_DEBUG | LWIP_DBG_STATE, ("netif_set_ipaddr: netif address being changed\n")); pcb = tcp_active_pcbs; while (pcb != NULL) { /* PCB bound to current local interface address? */ if (ip_addr_cmp(&(pcb->local_ip), &(netif->ip_addr))) { /* this connection must be aborted */ struct tcp_pcb *next = pcb->next; LWIP_DEBUGF(NETIF_DEBUG | LWIP_DBG_STATE, ("netif_set_ipaddr: aborting TCP pcb %p\n", (void *)pcb)); tcp_abort(pcb); pcb = next; } else { pcb = pcb->next; } } for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { /* PCB bound to current local interface address? */ if ((!(ip_addr_isany(&(lpcb->local_ip)))) && (ip_addr_cmp(&(lpcb->local_ip), &(netif->ip_addr)))) { /* The PCB is listening to the old ipaddr and * is set to listen to the new one instead */ ip_addr_set(&(lpcb->local_ip), ipaddr); } } } below is the watched window of debugger
↧
Forum Post: RE: Linux/TMDSIDK437X: Igh Etherlab Master for AM437x PREEMPT_RT Linux
I use the AM437x IDK http://www.ti.com/tool/TMDSIDK437X You can reference the Igh document( www.etherlab.org/.../ethercat-1.5.2.pdf) , Figure 2-1, Page 6. The following figure shows the packet information about EtherCAT transmission. Packet with WC=0 is the packet from Master and packet with WC=1 from Slave. However, master can not see the packet from slave with WC=1 and show "datagrams TIMED OUT!"
↧
Forum Post: RE: RTOS/TDA2P-ACD: CAN FD : Not able to transmit CAN FD frames
Hi, Another query in the same context. We wanted to know what is the exact dlc to be set to transfer a data buffer with 64 bytes of valid data ? When transmitting classic CAN frame, dlc was set to 8 bytes and for CAN FD frame, dlc was set to 64. In the mcan.c file in csl, in the API "uint32_t MCAN_getDataSize(uint32_t dlc)" at line 1834, datasize array is defined only for 16 DLC's. uint32_t dataSize[16] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 20, 24, 32, 48, 64}; (at line 1836 of mcan.c file ) Are these the only valid values to be set to dlc while transmitting CAN frame ? i.e. If we want to transmit data with some different data lengths (say 18 bytes ), then will we have to define a new dlc in the dataSize buffer ? or should we use the nearest dlc present in the dataSize buffer ? Regards, Amol
↧
↧
Forum Post: AM3352: Calibration of DDR3 PHY FIFO WE slave ratio (aka gate leveling)
Part Number: AM3352 I have spent some time trying to understand the details of the calibration done with the DDR3_slave_ratio_search_auto.out binary. There are just two things that I don't fully understand: 1) On our board the DATA_PHY_FIFO_WE_SLAVE_RATIO search finds a minimum value of 0 and a maximum value of about 0x154, resulting in a final value of 0xAA. Why is a minimum of 0 considered valid if the maximum is found to be more than one full clock cycle away? As far as I know any minimum less than the maximum minus tRPRE is wrong. In my case it still works because the average of minimum and maximum is less than tRPRE away from the maximum. But it is suboptimal since it is not centered within tRPRE. 2) The Ratio Seed spreadsheet calculates a seed value for DATA_PHY_FIFO_WE_SLAVE_RATIO that is twice as sensitive to the DQS length than to the CK length. Why? The FIFO WE slave ratio has to compensate for the time it takes the read command to travel from the CPU to the RAM chip and for the time it takes the result to travel back to the CPU. There is no second transfer on the DQ(S) lines starting after the result has arrived that has to be taken into account in the formula. The equivalent spreadsheet for Keystone I processors (SPRABL2) uses a different formula where DQS length and CK length have equal weight. Is the formula in the AM335x spreadsheet wrong?
↧
Forum Post: RE: RTOS/AM3358: Which start files should be used to support TI-RTOS?
Thanks! External interrupt can be handled normally for the RTOS sample application, the IRQ exception handler must have been replaced in the RAM vector address . So the IRQ exception handler has been implement in the project and i don't need do it again for IRQ exception. Am i right? For other type exception, I need costumize these below handler functions: const UInt32 ti_ sysbios _family_arm_a8_intcps_Hwi_vectors[] __attribute__ ((section (".vectors"), aligned (0x400))) = { ...... /* resetFunc */ (UInt32)(&_c_int00), /* c_int00 */ /* undefInstFunc */ (UInt32)(&ti_ sysbios _family_arm_exc_Exception_excHandlerAsm__I), /* swiFunc */ (UInt32)(&SVC_Handler), /* prefetchAbortFunc */ (UInt32)(&ti_ sysbios _family_arm_exc_Exception_excHandlerAsm__I), /* dataAbortFunc */ (UInt32)(&ti_ sysbios _family_arm_exc_Exception_excHandlerDataAsm__I), /* reservedFunc */ (UInt32)(&ti_ sysbios _family_arm_exc_Exception_excHandlerAsm__I), /* irqFunc */ (UInt32)(&ti_ sysbios _family_arm_a8_intcps_Hwi_dispatchIRQ__I), /* fiqFunc */ (UInt32)(&ti_ sysbios _family_arm_a8_intcps_Hwi_dispatchFIQC__I) } In order to trigger data about exception, i write code as below in the main function , int main(void) { ...... appTasksCreate(); *((int *)0x80000001) = 0x12345678; /* trigger data abort */ /* Fourth step is to Start BIOS */ BIOS_start(); ) But no exception happen. I don't know why.
↧
Forum Post: RE: AM5748: ECC memory configuration
Hi James I did the following tests: DRAM: 2 GiB is detected by MPL --> we have 2G DDR test in U-Boot ddr test 80000000 fc000000 Please wait ... ddr memory test PASSED! If use higher end address, e.g. fd000000, DDR test hangs. Most probably because U-boot itself is overwritten Then I tried 5 different ECC settings: Test 1 .emif_ecc_ctrl_reg = 0xC0000001, .emif_ecc_address_range_1 = 0x3FFF0000, .emif_ecc_address_range_2 = 0x00000000, System boots Test 2 .emif_ecc_ctrl_reg = 0xC0000001, .emif_ecc_address_range_1 = 0x7FFF0000, .emif_ecc_address_range_2 = 0x00000000, System does not boot!! Test 3 .emif_ecc_ctrl_reg = 0xC0000003, // or 0xD0000003 .emif_ecc_address_range_1 = 0x3FFF0000, .emif_ecc_address_range_2 = 0x7FFF4000, Boots until here only: U-Boot SPL 2018.01-00560-g3459dfd-dirty (Dec 22 2018 - 11:09:56) DRA762-GP ES1.0 ABZ package Trying to boot from MMC1 no pinctrl state for default mode U-Boot 2018.01-00560-g3459dfd-dirty (Dec 22 2018 - 11:09:56 +0100) CPU : DRA762-GP ES1.0 ABZ package Model: TI AM5748 IDK Board: UNKNOWN REV UNKNOWN DRAM: 2 GiB Test 4 .emif_ecc_ctrl_reg = 0xC0000003, .emif_ecc_address_range_1 = 0x3FFF0000, .emif_ecc_address_range_2 = 0x6FFF4000, Boots, but F000:0000 - FFFF:FFFF are unprotected Test 5 .emif_ecc_ctrl_reg = 0xD0000001, .emif_ecc_address_range_1 = 0x6FFF0000, .emif_ecc_address_range_2 = 0x00000000, Boots, but F000:0000 - FFFF:FFFF are unprotected Check in U-boot with test 5: md 0x4C000110 4c000110: d0000001 6fff0000 Registers seems to be properly set. And ECC test behaves as expected. => ddr ecc_err 80000000 1 Testing DDR ECC: ECC test: Disabling DDR ECC ... ECC test: addr 0x80000000, read data 0x0, written data 0x1, err pattern: 0x1, read after write data 0x1 ECC test: Enabling DDR ECC ... ECC test: addr 0x80000000, read data 0x0 ECC test Status: ECC test: 1-bit ECC err count: 0x1 => ddr ecc_err 80000000 2 Testing DDR ECC: ECC test: Disabling DDR ECC ... ECC test: addr 0x80000000, read data 0x1, written data 0x3, err pattern: 0x2, read after write data 0x3 ECC test: Enabling DDR ECC ... ECC test: addr 0x80000000, read data 0x0 ECC test Status: ECC test: DDR ECC 2-bit error interrupted resetting ... Can you give advice why we cannot protect the entire 2GB? Did TI test ECC with 2GB on a AM574? Is there a way to run memory test on F000:0000 - FFFF:FFFF. This just to rule out that there is a HW error? One more thing: I saw that in IDK574 U-Boot, REG_RMW_EN (bit 29 in EMIF_ECC_CTRL_REG) is set. Under which conditions should be set this bit? I saw in code of ECC test that this bit must be set else it exists with "ECC not enabled. Please Enable ECC any try again" BR, Chris
↧
Forum Post: Linux/AM4378: Can not go back to yocto version lower than processor-sdk-04.00.00.04-config.txt
Part Number: AM4378 Tool/software: Linux Hi Ti engneers, I'm trying to build the early version of PSDK/yocto project, the following is the steps i did. I want to know if it is possible to buid the lagacy PSDK version? ~/tisdk2$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-03.0 cd build . conf/setenv export PATH=$HOME/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:$PATH MACHINE=am437x-evm bitbake tisdk-roofs-image ERROR: Unable to parse OE_IMPORTED[:=] Traceback (most recent call last): File "/home/david/tisdk2/sources/oe-core/meta/lib/oe/data.py", line 1, in : def typed_value(key, d): """Construct a value for the specified metadata variable, using its flags File "/home/david/tisdk2/sources/oe-core/meta/lib/oe/maketype.py", line 102, in : continue > register(name, obj) File "/home/david/tisdk2/sources/oe-core/meta/lib/oe/maketype.py", line 89, in register(name='OEList', factory= ): arguments.""" > factory_setup(name, factory) available_types[factory.name] = factory File "/home/david/tisdk2/sources/oe-core/meta/lib/oe/maketype.py", line 73, in factory_setup(name='OEList', obj= ): """Prepare a factory for use.""" > args, optional = get_callable_args(obj) extra_args = args[1:] File "/home/david/tisdk2/sources/oe-core/meta/lib/oe/maketype.py", line 57, in get_callable_args(obj= ): > sig = inspect.signature(obj) args = list(sig.parameters.keys()) ExpansionError: Failure expanding variable OE_IMPORTED[:=], expression was ${@oe_import(d)} which triggered exception AttributeError: 'module' object has no attribute 'signature' ERROR: Error parsing configuration files Traceback (most recent call last): File "/home/david/tisdk2/sources/bitbake/lib/bb/cookerdata.py", line 258, in CookerDataBuilder.parseBaseConfiguration(): try: > self.parseConfigurationFiles(self.prefiles, self.postfiles) except SyntaxError: File "/home/david/tisdk2/sources/bitbake/lib/bb/cookerdata.py", line 320, in CookerDataBuilder.parseConfigurationFiles(prefiles=[], postfiles=[]): for bbclass in bbclasses: > data = _inherit(bbclass, data) File "/home/david/tisdk2/sources/bitbake/lib/bb/cookerdata.py", line 179, in wrapped(fn='sourceipk', *args=(None,)): try: > return func(fn, *args) except IOError as exc: File "/home/david/tisdk2/sources/bitbake/lib/bb/cookerdata.py", line 207, in _inherit(bbclass='sourceipk', data=None): def _inherit(bbclass, data): > bb.parse.BBHandler.inherit(bbclass, "configuration INHERITs", 0, data) return data File "/home/david/tisdk2/sources/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 62, in inherit(files='sourceipk', fn='configuration INHERITs', lineno=0, d=None): def inherit(files, fn, lineno, d): > __inherit_cache = d.getVar('__inherit_cache', False) or [] files = d.expand(files).split() AttributeError: 'NoneType' object has no attribute 'getVar' david@david-desktop:~/tisdk2/build$ david@david-desktop:~/tisdk2$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-03.0processor-sdk-03.00.00.04-config.txt processor-sdk-03.02.00.05-config.txt processor-sdk-03.01.00.06-config.txt processor-sdk-03.03.00.04-config.txt david@david-desktop:~/tisdk2$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-03.00.00.04-config.txt /home/david/tisdk2 cloning repo bitbake Fetching originPrevious HEAD position was 449dc9b... bitbake: toaster: settings set ALLOWED_HOSTS to * in debug modeSwitched to branch '1.30'Your branch is up-to-date with 'origin/1.30'.Already up-to-date.Note: checking out '26379ff2b686313c82af87a3a35b47adbc0183be'. You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at 26379ff... fetch2: export DBUS_SESSION_BUS_ADDRESS to support authentication agents cloning repo meta-processor-sdk Fetching originPrevious HEAD position was 70283e8... voxelsdk: update to version 0.6.8 with patches for sitara devicesSwitched to branch 'master'Your branch is up-to-date with 'origin/master'.Already up-to-date.Note: checking out '1686d851985872f34ca3a2c30d4a0726a20a5c99'. You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at 1686d85... linux-processor-sdk*: bump SRCREV to update am437x-sk-evm dts cloning repo meta-arago Fetching originwarning: refname 'ti2016.01' is ambiguous.Previous HEAD position was c0e32cc... omapdrmtest: Update tests to handle disabled HDMISwitched to branch 'ti2016.01'Your branch is up-to-date with 'origin/ti2016.01'.Already up-to-date.Note: checking out '36598b78a6d9fbe442f93111f64d3413c04418a8'. You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at 36598b7... README: update branch name cloning repo meta-qt5 Fetching originPrevious HEAD position was 2b1871f... Update Qt5's git repositories to match new locationsSwitched to branch 'krogoth'Your branch is up-to-date with 'origin/krogoth'.Already up-to-date.Note: checking out 'd715f2c1d340fa38f8a9860acc73de5e14a38b75'. You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at d715f2c... replace base_contains by bb.utils.contains cloning repo meta-openembedded Fetching originSwitched to branch 'krogoth'Your branch is up-to-date with 'origin/krogoth'.Already up-to-date.Note: checking out '247b1267bbe95719cd4877d2d3cfbaf2a2f4865a'. You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at 247b126... Revert "leptonica: add PACAKGECONFIG for openjpeg" cloning repo meta-ti Fetching originPrevious HEAD position was ed06c3b... ti-sgx-ddk-um: add support for dmabuf import in GBM WSEGLSwitched to branch 'krogoth'Your branch is up-to-date with 'origin/krogoth'.Already up-to-date.Note: checking out '1ae0cadb1200d0007a779958e852a48379d42c26'. You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at 1ae0cad... u-boot-ti-staging: update to ti2016.01-rc4 tag cloning repo meta-linaro Fetching originSwitched to branch 'krogoth'Your branch is up-to-date with 'origin/krogoth'.Already up-to-date.Note: checking out '0f2a4dd08ab06768cc998fe3f7236e3942f4a2cc'. You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at 0f2a4dd... optee-client: add recipe for 2.0 release cloning repo oe-core Fetching originerror: Your local changes to the following files would be overwritten by checkout: meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bbPlease, commit your changes or stash them before you can switch branches.Aborting *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity.Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got 'david@david-desktop.(none)')error: Your local changes to the following files would be overwritten by checkout: meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bbPlease, commit your changes or stash them before you can switch branches.Aborting ################################################################################The bblayers.conf configuration file has been created for you with somedefault values. Please verify the contents of your conf/bblayers.conffile for correctness. NOTE: Any additional entries to this file will be lost if the ./oe-layertool-setup.sh script is run again. To add entries permanently to this file please add them to the config file used and rerun the ./oe-layertool-setup.sh script. ################################################################################The local.conf configuration file has been created for you with somedefault values. Please verify the contents of your conf/local.conffile for correctness. By default the number of threads used by the build is set to the numberof CPUs found on your system. NOTE: You will probably want to change the default MACHINE setting in the local.conf file to the machine you are trying to build. ################################################################################A setenv file has been created for you in the conf directory. Please verifyThe contents of this file. Once you have verified the contents please sourcethis file to configure your environment for building: . conf/setenv You can then start building using the bitbake command. You will likely wantto set the MACHINE option if you have not done so in your local.conf file. For example: MACHINE=xxxxx bitbake Common targets are: core-image-minimal core-image-sato meta-toolchain meta-toolchain-sdk adt-installer meta-ide-supportdavid@david-desktop:~/tisdk2$
↧
↧
Forum Post: AM3358: AM335x GPMC burst behavior
Part Number: AM3358 Dear TI Experts, I have an FPGA attached to the GPMC bus of an AM3358 device and I am currently working on the FPGA side. To achieve maximum performance, the FPGA logic supports bursts of 16x16bit words. ATTACHEDDEVICEPAGELENGTH parameter is set accordingly in the GPMC configuration. Bursts are generated using the eDMA engine. Sometimes I just need to read a single 16-bit register from the FPGA, which should be possible issuing a single memory access from the Cortex-A8. However, it is not clear how the GPMC will perform the external access in this case. From AM335x TRM: 7.1.3.3.10.5 System Burst Versus External Device Burst Support “When the system burst request length is less than the ATTACHEDDEVICEPAGELENGTH value, the GPMC proceeds with the required accesses.” What "required access" means in this case? Should I expect a full burst (then the GPMC returns the requested word to the CPU)? Or only a single access is performed? Thank you very much.
↧
Forum Post: RE: RTOS/PROCESSOR-SDK-AM437X: NDK program for ioctl() function
Hi Eric, can I use the CfgAddEntry() function to add a IP Address, if I use the CfgRemoveEntry() to delete it before, while I had used the CfgAddEntry() function to add a IP Address in the initialization phase at the beginning of the program? another question: in the example:C:\ti\pdk_am437x_1_0_10\packages\ti\transport\ndk\nimu\example\src\main_AM57xx.c. int the stackInitHook(), it use the hCfg by parameter passing, if I want to use it by global variable in the task, how can I get it?
↧
Forum Post: RE: AM5728: why reading the device VID, pci_bus_read_config_dword(bus, devfn, PCI_VENDOR_ID, l) returns 0xffffffff?
Hi Rex: That is custom board and I will align customer to check your suggestions.
↧
Forum Post: RE: TDA3XEVM: Incorrect remote log buffer size?
Hi Amer, You could find the size of shared memory in the config file with the variable REMOTE_LOG_SIZE.. Rgds, Brijesh
↧
↧
Forum Post: Linux/AM4378: Unhandled fault: imprecise external abort (0x1406) at 0x00000000
Part Number: AM4378 Tool/software: Linux My board is reference gp_evm, but there is no EEPROM, no SD card am437x-evm-linux-sdk-src-05.00.00.15 The kernel did not make any changes ,the dts made some modifications Kernel image @ 0x82000000 [ 0x000000 - 0x3ad200 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8fff0000, end 8ffff029 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.40-g4796173fc5 (root@Ge-machine) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 PREEMPT Sun Dec 23 15:23:11 CST 2018 [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: TI AM437x GP EVM [ 0.000000] earlycon: omap8250 at MMIO 0x44e09000 (options '') [ 0.000000] bootconsole [omap8250] enabled [ 0.000000] Memory policy: Data cache writeback [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 48 MiB at 0xfcc00000 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM437x ES1.2 (sgx neon) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 522559 [ 0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mtdblock1 rootfstype=jffs2 earlycon [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 2015596K/2097148K available (8192K kernel code, 328K rwdata, 2444K rodata, 1024K init, 276K bss, 32400K reserved, 49152K cma-reserved, 1261564K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB) [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB) [ 0.000000] .data : 0xc0d00000 - 0xc0d52210 ( 329 kB) [ 0.000000] .bss : 0xc0d52210 - 0xc0d9748c ( 277 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000 [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000 [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] OMAP L2C310: ROM does not support power control setting [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000 [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.008107] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.017630] OMAP clocksource: timer1 at 24000000 Hz [ 0.023037] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.033281] OMAP clocksource: 32k_counter at 32768 Hz [ 0.038909] Console: colour dummy device 80x30 [ 0.043551] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664) [ 0.109390] pid_max: default: 32768 minimum: 301 [ 0.114308] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.121155] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.129112] CPU: Testing write buffer coherency: ok [ 0.134833] Setting up static identity map for 0x80100000 - 0x80100060 [ 0.141697] Hierarchical SRCU implementation. [ 0.146511] EFI services will not be available. [ 0.152163] devtmpfs: initialized [ 0.163758] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0 [ 0.172995] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.181187] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.191386] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.200954] pinctrl core: initialized pinctrl subsystem [ 0.207095] DMI not present or invalid. [ 0.211437] NET: Registered protocol family 16 [ 0.217582] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.294611] Unhandled fault: imprecise external abort (0x1406) at 0x00000000 [ 0.301901] pgd = c0004000 [ 0.304690] [00000000] *pgd=00000000 [ 0.308386] Internal error: : 1406 [#1] PREEMPT ARM [ 0.313420] Modules linked in: [ 0.316575] CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.40-g4796173fc5 #1 [ 0.323673] Hardware name: Generic AM43 (Flattened Device Tree) [ 0.329783] task: ee858000 task.stack: ee856000 [ 0.334468] PC is at _get_clkdm+0x4/0x50 [ 0.338517] LR is at _enable_sysc+0x60/0x248 [ 0.342921] pc : [ ] lr : [ ] psr: 40000053 [ 0.349389] sp : ee857e40 ip : ee857e40 fp : ee857e6c [ 0.354780] r10: c0d52240 r9 : 000000d3 r8 : c0c3c820 [ 0.360171] r7 : c0d0cd7c r6 : c0d5278c r5 : 00000020 r4 : c0d0c828 [ 0.366909] r3 : c0d0d324 r2 : 00000000 r1 : c0d0d304 r0 : c0d0c828 [ 0.373649] Flags: nZcv IRQs on FIQs off Mode SVC_32 ISA ARM Segment none [ 0.381106] Control: 10c53c7d Table: 80004059 DAC: 00000051 [ 0.387036] Process swapper (pid: 1, stack limit = 0xee856208) [ 0.393056] Stack: (0xee857e40 to 0xee858000) [ 0.397555] 7e40: c0d09528 00000000 ee857e6c 00000000 c0124dc8 c0d0c828 00000000 c0d5278c [ 0.406002] 7e60: ee857e94 ee857e70 c011b8c4 c011b540 c0d0c828 c0d0b52c c0d0c828 c0d0c858 [ 0.414448] 7e80: c0d0c86c c0d52240 ee857ec4 ee857e98 c0c0b230 c011b788 ee857ec4 ee857ea8 [ 0.422894] 7ea0: c011a45c 00000011 c0d085b8 c0d0c828 c0d08610 c0c0b64c ee857edc ee857ec8 [ 0.431339] 7ec0: c0c0b740 c0c0b16c ffffe000 00000000 ee857f4c ee857ee0 c01019e4 c0c0b658 [ 0.439785] 7ee0: ee857f4c ee857ef0 c0147800 c0c00624 c0a970a8 c0a97088 c0a970d4 c0aa1284 [ 0.448231] 7f00: 00000000 c0a97060 00000002 00000002 c0a8e10c c0b61a44 efffec3c 00000000 [ 0.456676] 7f20: 00000000 c0b61a44 00000003 c0b61a44 c0c4ddac 00000003 c0d52240 c0c3c820 [ 0.465122] 7f40: ee857f94 ee857f50 c0c00eb4 c01019a4 00000002 00000002 00000000 c0c00618 [ 0.473567] 7f60: 55555555 c0c00618 55555555 00000000 c0841c78 00000000 00000000 00000000 [ 0.482013] 7f80: 00000000 00000000 ee857fac ee857f98 c0841c88 c0c00d78 00000000 c0841c78 [ 0.490458] 7fa0: 00000000 ee857fb0 c0107e68 c0841c84 00000000 00000000 00000000 00000000 [ 0.498903] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.507349] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 55555555 55555555 [ 0.515790] Backtrace: [ 0.518317] [ ] (_enable_sysc) from [ ] (_enable+0x148/0x284) [ 0.525865] r6:c0d5278c r5:00000000 r4:c0d0c828 [ 0.530639] [ ] (_enable) from [ ] (_setup.part.12+0xd0/0x404) [ 0.538276] r7:c0d52240 r6:c0d0c86c r5:c0d0c858 r4:c0d0c828 [ 0.544121] [ ] (_setup.part.12) from [ ] (__omap_hwmod_setup_all+0xf4/0x108) [ 0.553103] r6:c0c0b64c r5:c0d08610 r4:c0d0c828 [ 0.557874] [ ] (__omap_hwmod_setup_all) from [ ] (do_one_initcall+0x4c/0x170) [ 0.566945] r5:00000000 r4:ffffe000 [ 0.570642] [ ] (do_one_initcall) from [ ] (kernel_init_freeable+0x148/0x1e4) [ 0.579626] r8:c0c3c820 r7:c0d52240 r6:00000003 r5:c0c4ddac r4:c0b61a44 [ 0.586555] [ ] (kernel_init_freeable) from [ ] (kernel_init+0x10/0x110) [ 0.595090] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0841c78 [ 0.603174] r4:00000000 [ 0.605792] [ ] (kernel_init) from [ ] (ret_from_fork+0x14/0x2c) [ 0.613607] r5:c0841c78 r4:00000000 [ 0.617297] Code: e16f0f10 e1a002a0 e89da8f0 e1a0c00d (e92dd830) [ 0.623601] ---[ end trace 1eeb79dd9f92aabb ]--- [ 0.628420] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 0.628420] [ 0.637859] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 0.637859] (Please visit the site to view this file)
↧
Forum Post: Processor SDK 5.2 Released (AM65x, AM57x, AM437x, AM335x, AMIC1x, K2x, C66x, C674x, OMAP-L13x)
Processor SDK 5.2 is now available for download! For migration information, see the page for the individual operating system: Linux , RTOS , or Android . 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, RTOS, or Android. In the table below, you can find a direct link to a download page for your platform and operating system: Platform Family General Purpose (GP) Device High Secure (HS) Device Linux RT-Linux RTOS Android Linux HS RT-Linux HS RTOS HS AM335x download download download mySecure download AM437x download download download mySecure download mySecure download AM438x (EPOS) mySecure download AM57x download download download download mySecure download mySecure download AM65x download download download AMIC110 download AMIC120 download K2E download download download mySecure download K2G download download download mySecure download mySecure download K2H/K download download download mySecure download K2L download download download mySecure download C665x n/a n/a download n/a n/a C667x n/a n/a download n/a n/a C6747/45/43 n/a n/a download n/a n/a C6748/46/42 n/a n/a download n/a n/a OMAP-L137 download OMAP-L138 download download Linux Release Highlights: AM654x DDR @ 1666 MT/s IPC: Support IPC between A53 running Linux with R5F running in split mode Driver and API to access AM654x internal temp sensors Add ARMNN and ARM Compute Library Early Access: DisplayPort driver for TC358867 DPI-DP bridge IPSec sideband support Kernel: OSPI Performance Improvement w/ DMA mode MCAN Support Rotary Encoder support Support SPI Flash as mtd device PCIe Gen3 RC and EP mode support Support Docker containerization Integrate OPCUA open source stack (Open65241) Add Tiny Filesystem to support on board flashing of eMMC and QSPI from an initramfs HSR/PRP/EMAC/PTP EMAC: Multicast, VLAN and Storm prevention feature EMAC: PTP Support for SAN mode HSR: Add support of PTP 1-step to 2-step conversion on ingress HSR: PTP OC Master or Slave (with redundancy) PRP: PTP OC Master or Slave (with redundancy) TI Deep Learning (TIDL) Arm NN system level demo Publish TIDL import tool source files Add IWR6843 (60GHz) support to the TI design TIDEP-01006 Additional information in Linux Release Notes RTOS Release Highlights: AM65x Updated ICSS-G Dual EMAC firmware and EMAC driver to support PTP slave and Dynamic configuration interface support between firmware and driver Board Diagnostic test cases extension to R5F core and support for ICSS-G interposer card SBL enhancements for reduced size (SYSFW binary being exposed as separate binary for reduced boot time) Uniflash flash writer support for OSPI with writer being loaded from CCS/JTAG OSPI driver update to support higher 133Mhz/166Mhz support Features not (yet) supported: USB 3.0, MPU TI-RTOS SMP Support, CTOOLSLIB PRU-ICSS eSPI Firmware Support for eSPI protocol offload for AM335x and AM437x SOC AM57x SOC SBL eMMC boot support USB device MSC example with eMMC exposed as storage. Example allows eMMC exposed as mass storage drive on USB host with option to format using host utilities FATFS module multi-partition support extension across all supported SOC targets Updated Performance Audio Framework, verified for Dolby ATMOS for AVRs V1.3 silicon certification tests Additional information in RTOS Release Notes Android Release Highlights AM57x: Add PRU-Ethernet Support SGX Accelerated UI with DRM/KMS Android Treble Support Full CTS/VTS Execution Additional information in Android 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 Developer’s Guide: Linux Software Developer’s Guide RTOS Software Developer’s Guide Android Software Developer’s Guide
↧
Forum Post: AM3358: AM3358 stops sending C character after 5 times
Part Number: AM3358 Dear all, I would like to ask support about an issue I have using the AM3358BZCZ100 on my self designed board (produced by external company). When I connect my laptop to the serial port of the CPU I can see that it's sending a C character for 5 times. After 5 times it stops. When I connect the reset pin from the CPU (not the power chip) to the GND for a seconds, then after it's sending the C character again for only 5 times. I do not have any SD card inserted which it could boot from. I use the power IC TPS65217BRSLT. (Please visit the site to view this file) Below I have the measured voltages using the signal names from the drawing which can be found here: (Please visit the site to view this file) VDDS_DDR = 1,84v VDD_MPU = up and down from 1,12v to 1,08v VDD_CORE = 1,08v VDD_3V3A = 3,36v VDDS = 1,8v VDD_3V3AUX = 3,32v PMIC_POWER_EN = 1,8v PMIC_PGOOD = 1,8v LDO_PGOOD = 1,8v VDD_PLL = 1,8v SYS_RESETN = 3,28v Does anyone have an idea what could be the root cause? Thank you in advance.
↧
Forum Post: RTOS/PROCESSOR-SDK-AM437X: How to make sure the llTimerTick() to be called in the NDK
Part Number: PROCESSOR-SDK-AM437X Tool/software: TI-RTOS Hi, in the example :NIMU_BasicExample_skAM437x_armExampleproject(pdk_am437x_1_0_10, CCS7), How do I make sure there is a Timer object in the SYS/BIOS configuration that is calling the driver function llTimerTick() every 100 ms? I can find a description: Global.ndkTickPeriod = 100 in the cfg script editor, but I can not find where it be set by the XCONF.
↧
↧
Forum Post: RE: RTOS/TDA2: Does dmaSwMs link supports resizing and then display frame?
Hello Rishab, As per my knowledge, vpe link do resizing. How to do resizing with display link? Also dmaswms link requires input as composite buffer. Regards, Kajal
↧
Forum Post: Linux/TMDXIDK5718: How SPL can read EEPROM behind Mux on I2C bus 2
Part Number: TMDXIDK5718 Tool/software: Linux Hi I'm using Linux SDK 5.1, custom HW, strongly based on IDK574. I have EEPROM (chip address 0x51) on I2C bus 2 behind an pca9546 (chip address 0x70) on channel 1 (In IDK, EPROM and PMIC are both on I2C bus 0.) I can successfully read eeprom in U-boot as follows: Setting bus 2: i2c dev 2 setting channel 1 on mux: i2c mw 70 0.1 1 Read 400h bytes: i2c md 51 0.2 400 Now I tried to do same in do_board_detect() of SPL. int save = i2c_get_bus_num(); // save the bus number because later in board_late_init() we have to talk to bus 0 again gpi2c_init() rc = i2c_set_bus_num(i2c_bus /* 2 */); if (rc) return rc; // set mux to channel 1 uint8_t buffer = 1; // channel 1 rc = i2c_write(0x70, 0, 0, &buffer, 1); // here I always get return code 1 if (rc) return rc; rc = i2c_probe(0x51); if (rc) return rc; rc = i2c_read(0x51, 0x0, 0x2, (uint8_t *)ep, sizeof (struct my_eeprom)); if (rc) return rc; i2c_set_bus_num(save) ; // restore bus number So How I can I use bus number 0 in SPL? Do I have to add the mux and EEPROM in devicetree? I just enabled i2c2: &i2c2 { clock-frequency = ; u-boot,dm-spl; status = "okay"; }; Or do I have to set CONFIG_SYS_OMAP24_I2C_SLAVE or some other CONFIG_? BR, Chris
↧
Forum Post: RTOS/PROCESSOR-SDK-AM437X: which include statement should be deleted when migrating the non-BSD socket API to the the BSD socket API.
Part Number: PROCESSOR-SDK-AM437X Tool/software: TI-RTOS Hi, By the SPRU524J, we can use the BSD socket API and non-BSD socket API. if we use the BSD socket API, we need to use the follow statement: #include but I have a example code which seem to use the non-BSD socket API, but the manual do not mention the include statement about the non-BSD socket API. so I do not know which statement should be deleted, when I migrate the non-BSD socket API to the the BSD socket API.
↧