EmbeddedRelated.com
The 2024 Embedded Online Conference

Passing arguments to an entry point function of the CreateTask() task kernel call

Started by Alex Vinokur in comp.arch.embedded18 years ago 4 replies

============= INTEGRITY RTOS ============= Task kernel calls CreateTask(), CommonCreateTask(), CreateANSICTask(), CreateProtectedTask()...

============= INTEGRITY RTOS ============= Task kernel calls CreateTask(), CommonCreateTask(), CreateANSICTask(), CreateProtectedTask() contain several arguments. One of them is the entry point function. Can that (entry point) function have arguments? How to pass these arguments to the entry point function while calling CreateTask() and similar task kernel calls. --- Alex Vinokur ...


AT91RM9200 linux kernel panic

Started by roboman152 in comp.arch.embedded18 years ago 2 replies

Hi all, after disabling the data and I cache my kernel boots! However Im having initrd load issues, I load in a ext2 image at 0x20A00000 and I...

Hi all, after disabling the data and I cache my kernel boots! However Im having initrd load issues, I load in a ext2 image at 0x20A00000 and I get an odd error listed below.. suggestions? Linux version 2.6.14 (roboman@gooseProduction) (gcc version 3.4.5) #6 Thu May 25 21:15:23 EDT 2006 CPU: ARM920T [41129200] revision 0 (ARMv4T) Machine: Atmel AT91RM9200-DK Memory policy: ECC disabled, D...


Kernel hangs while accessing the IO mapped memory

Started by rohshall in comp.arch.embedded15 years ago 1 reply

Hi, I am writing a framebuffer driver and the kernel seems to hang while accessing the IO re-mapped memory. Here is what I did: In my...

Hi, I am writing a framebuffer driver and the kernel seems to hang while accessing the IO re-mapped memory. Here is what I did: In my platform specific file, I added the platform_device Code: #define DK_LCDC_BASE AT91_CHIPSELECT_7 static struct resource lcdc_resources[] = { // Resource 0 is framebuffer [0] = { .start = DK_LCDC_BASE + SZ_2M, .end = DK_LCDC_BASE + SZ_4M - ...


AT91RM9200EK and linux build - newbie

Started by Rico in comp.arch.embedded17 years ago 2 replies

Hi, I have an AT91RM9200EK board and have downloaded the 2.6.21 kernel source. I have unpacked it an applied the patches from...

Hi, I have an AT91RM9200EK board and have downloaded the 2.6.21 kernel source. I have unpacked it an applied the patches from maxim.org.za, as per the Atmel FAQ. I am building on SUSE 9.2 on AMD Athlon 64 using GCC 3.4.1 cross compile to ARM. This combination has been used successfully to build an ARM kernel for my OMAP board. I check /usr/src/linux-2.6.21/arch/arm/configs and locate ...


Any idea, how to eanble Watchdog timer for 2.4 Linux Kernel

Started by Anonymous in comp.arch.embedded17 years ago 6 replies

I am using Linux Kernel 2.4 version, I need to enable Watchdog timer, any idea where can I find some useful about how to implement...

I am using Linux Kernel 2.4 version, I need to enable Watchdog timer, any idea where can I find some useful about how to implement watchdog timer. Thanks in advance.


boot kernel image through tftp

Started by Prashant in comp.arch.embedded17 years ago 1 reply

Hi, I have some problem with boot image. I have load the kernel image through tftp. tftp load the image at given address in...

Hi, I have some problem with boot image. I have load the kernel image through tftp. tftp load the image at given address in memory. after this when i used "bootm" i got Error: "Bad magic Number " Can you tell me what is meaning of this error. also can you suggest me some work around? Thanks, Prashant M.


debugging arm executuble with gdb

Started by Anonymous in comp.arch.embedded11 years ago 2 replies

Hi, I have compiled linux kernel with arm-eabi toolchain on Ubuntu. The kernel is working. Now I'd like to debug it with gdb. I tried this...

Hi, I have compiled linux kernel with arm-eabi toolchain on Ubuntu. The kernel is working. Now I'd like to debug it with gdb. I tried this command: arm-eabi-gdb vmlinux My questions: Which gdb should I use? There is a gdb in the arm-eabi (downloaded with android) toolchain. This will good? I have tried that but I have got Don't know how to run. Try "help target" error message. I t...


kernel programming serial uart problem

Started by gxatzipavlis in comp.arch.embedded18 years ago 6 replies

hello ppl i have programed a kernel module for linux to communicate with devices through serial port. I don't use the linux serial layer...

hello ppl i have programed a kernel module for linux to communicate with devices through serial port. I don't use the linux serial layer abstraction cause i want to have a time-check timeout for byte to byte in the communication. So i use the inb,outb commands in my module. The problem is that my module is only running in my PC (amd athlon 1000 chipset via kt133a). in all other pc's althou...


Macraigor's GNU tools (ocdremote), OCDemon RAVEN & PowerPC target running on native Linux?

Started by Anonymous in comp.arch.embedded17 years ago 5 replies

Hello, has anyone ever got this combination work on a native Linux box? Their Windows (cygwin) stuff on the other hand works very nicely. I...

Hello, has anyone ever got this combination work on a native Linux box? Their Windows (cygwin) stuff on the other hand works very nicely. I prepared an old Linux RedHat 9.0 (2.4.20 kernel) distribution (on the very same machine where the Windows version of ocdremote works perfectly), so that their proprietary driver "ravenpp" would compile. The kernel modul loads, but after I run: oc...


About Interrupt Problem in RHEL-5

Started by mahi in comp.arch.embedded14 years ago 1 reply

Hi All, I have developed one PCI driver, The Interrupts are working in 2.4 kernel (Redhat-9), and also it is working in RHEL-AS-4 (2.6 kernel),...

Hi All, I have developed one PCI driver, The Interrupts are working in 2.4 kernel (Redhat-9), and also it is working in RHEL-AS-4 (2.6 kernel), But It is not working in RHEl-5 using Interrupt mode. After Enabling the PCI Interrupt also, It should automatically enter into ISR, But it is not happening in RHEL-5 (2.6.18-53.el5)....what might be the problem. I have used request_irq(IRQLine...


How to map physical address of CS8900A under linux driver?

Started by Aimingoo in comp.arch.embedded18 years ago

Hello, All. As we all know that the standard linux kernel does not allow us to access physical address of devices, so the physical address must...

Hello, All. As we all know that the standard linux kernel does not allow us to access physical address of devices, so the physical address must be converted to virtual address before any IO operation. In my disign, the cs8900a is configured for IO mode, its bus physical address is 0x1001_0000, and its default IO base address is 0x300, ARM9(Cirrus Logic EP9302) processor, linux kernel 2.4.21. ...


Embedded flash memory issue with Linux 2.6.10 kernel....

Started by James Kimble in comp.arch.embedded16 years ago

I'm using the 2.6.10 kernel on a custom circuit board based on Freescales MCF5485evb evaluation board. My board has different flash memory...

I'm using the 2.6.10 kernel on a custom circuit board based on Freescales MCF5485evb evaluation board. My board has different flash memory than the evaluation board and so requires different flash drivers than the BSP that was provided with the board. The flash memory I am using is the Intel P33 (256P33B) NOR flash. I have two chips with the chip selects tied to the same logic line. The ...


Force to load the module

Started by karthikbalaguru in comp.arch.embedded16 years ago 5 replies

Hi, I understand from the man page of insmod that it is not possible to force insmod if the symbol names in the module do not match...

Hi, I understand from the man page of insmod that it is not possible to force insmod if the symbol names in the module do not match the kernel. But, Is it possible to force the loading of the modules, even if the symbol names in the module do not match the kernel through some other methods ? Thx in advans, Karthik Balaguru


Problem configuring monta vista linux kernel

Started by Hemal in comp.arch.embedded19 years ago 1 reply

Hello friends, I am working on a project which has the short term goal of porting Monta Vista Embedded Linux on a Intel PXA board (having...

Hello friends, I am working on a project which has the short term goal of porting Monta Vista Embedded Linux on a Intel PXA board (having ARM core). I am facing the problem at the initial stage itself. I have installed the Monta vista Linux on Windows platform. When i try to do make oldconfig (as per the kernel build guide) it shows the warning /bin/sh: line 1: xscale_le-gcc:...


linux booting issue

Started by patwardhan in comp.arch.embedded14 years ago 2 replies

Hi, I am trying to boot linux-2.6.25 on mpc837x board using u-boot. but linux hangs with following message. Please help.. bootm...

Hi, I am trying to boot linux-2.6.25 on mpc837x board using u-boot. but linux hangs with following message. Please help.. bootm 0xfc100000 * kernel: cmdline image address = 0xfc100000 ## Booting kernel from Legacy Image at fc100000 ... Image Name: linux-2.6 Image Type: PowerPC Linux Multi-File Image (gzip compressed) Data Size: 2857358 Bytes = 2.7 MB Load ...


AT91SAm9263 LCD interface Mode

Started by Nirav in comp.arch.embedded15 years ago 1 reply

hi, I am using ATMEL at91sam9263, i am going to interface LCD which having DEN and SYNC mode, can any body tell which one is better. Linux...

hi, I am using ATMEL at91sam9263, i am going to interface LCD which having DEN and SYNC mode, can any body tell which one is better. Linux kernel has inbuil driver for at891sam9263, Can anybody have used linux kernel driver atmel_lcdc as a video driver for LCD/TFT.


Free RTOS Kernel Source download from an NPO site.

Started by zephyrus in comp.arch.embedded14 years ago 1 reply

Hi all, I am a Japanese programmer, who happens to talk to overseas business partners a lot. It came to my attention during my talk with a...

Hi all, I am a Japanese programmer, who happens to talk to overseas business partners a lot. It came to my attention during my talk with a programmer in Malaysia that not many people outside Japan (except for a few countries) are aware that a full source of realtime kernel source (sans bootstrap code) is available from a Japanese site for free. The NPO's main page is http://www.t-en...


Loading kernel from SDCARD

Started by tamamontu in comp.arch.embedded14 years ago

I have a EP9307 based custom designed board. At present it is using the same setup as the development kit for EP9307. At present we use...

I have a EP9307 based custom designed board. At present it is using the same setup as the development kit for EP9307. At present we use redboot to download zimage on to flash and then boot the kernel by loading it into sdram. I want to load the Zimage from SDCARD directly. I have modified first stage bootloader to load from EEprom, This in turn loads the second stage bootloader which ini...


RTOS stack overflow

Started by brOS in comp.arch.embedded14 years ago 17 replies

Dear all, I am testing my own kernel for MSP430. I am measuring highest frequency for square signal that MSP430 with my kernel can repeat on...

Dear all, I am testing my own kernel for MSP430. I am measuring highest frequency for square signal that MSP430 with my kernel can repeat on its output. Square signal is connected to one of the interrupt pins, so on every high to low or low to high signal edge port interrupt is generated. In port ISR I am releasing semaphore on which my task is blocked. After task is unblocked its job is to ...


2.6.20.4 on ARM: "Unknown signal 64"????

Started by che_lex in comp.arch.embedded16 years ago 3 replies

G'day, I am porting software from intel to ARM with linux 2.6.20.4. All goes fine. Except, I got "Unknown signal 64" signal every time I...

G'day, I am porting software from intel to ARM with linux 2.6.20.4. All goes fine. Except, I got "Unknown signal 64" signal every time I started fresh compiled software on target ARM machine. This is USB bus software. And on start it calls kernel module of a corresponding driver for the USB device. After "Unknown signal 64", software dies but kernel module stays working. What this signal a...



The 2024 Embedded Online Conference