Help with small kernel..

Started by Anonymous in comp.arch.embedded14 years ago 13 replies

Hi, I'm writing a little "kernel" for a small microprocessor. Right now it just implements tasks, and does scheduling. That is , I have a timer...

Hi, I'm writing a little "kernel" for a small microprocessor. Right now it just implements tasks, and does scheduling. That is , I have a timer fire every ms in which the interrupt handler sets up the kernel stack and pc, and the "kernel" merly checks if the current task has reached its timeslice. Now I want to do some abstractios over events.For now interrupts, but have no idea what that ta...


newbie help: MPC8260 kernel panic

Started by EKP in comp.arch.embedded12 years ago 1 reply

Hi all and sorry in advance for my questions. I'd like to submit you a problem I'm working on since a week. During the boot the linux kernel...

Hi all and sorry in advance for my questions. I'd like to submit you a problem I'm working on since a week. During the boot the linux kernel hangs because of a kernel panic. The errors showed are: ... Machine check in kernel mode Caused by (from SRR1=41000): Transfer error ack signal Oops: machine check, sig: 7 [...] Kernel panic: Attempted to kill init! Rebooting in 180 seconds..


Best tool to compare two linux source codes

Started by piyushpandey in comp.arch.embedded4 years ago 20 replies

Hi I want to know the best software tool for comparing the differences in the linux kernel. Actually I have STM32 microcontroller based...

Hi I want to know the best software tool for comparing the differences in the linux kernel. Actually I have STM32 microcontroller based development board for which I got the BSP in which the Linux Kernel is present. The version of the BSP of the linux kernel is 2.6.32 I downloaded the original kernel with same version from kernel.org Now I am trying to extract the differences betwee...


Unable to handle kernel paging request at vitual address

Started by nrabara in comp.arch.embedded8 years ago 1 reply

I am using Linux kernel 2.6.28 on at91sam9263, using arm-none-eabi-gcc (also tried arm-linux-gcc-4.3.3). when I load kernel its show me...

I am using Linux kernel 2.6.28 on at91sam9263, using arm-none-eabi-gcc (also tried arm-linux-gcc-4.3.3). when I load kernel its show me following message and kernel get crash. I do remember that i have applied patch from linux4sam to kernel and made filesystem(jffs2) with correct erase block size. error message is as follows. U-Boot 1.3.4-svn24220 (Jul 18 2009 - 18:33:01) U-Boot code: 21...


RT PREEMPT

Started by Jim Relsh in comp.arch.embedded9 years ago

http://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO Hi, Although Real Time Linux isn't necessarily new, most solutions use a RTOS kernel...

http://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO Hi, Although Real Time Linux isn't necessarily new, most solutions use a RTOS kernel which runs the Linux kernel as a low-priority thread and having some intercommunications between it and Linux. But when I read about the RT-PREEMPT patch I got pretty excited because it looks like it allows a vanilla Linux kernel to run Linux prog...


Anyone familiar with the "RTK" kernel ???

Started by Mr_D in comp.arch.embedded12 years ago 3 replies

Hi, I'm looking at taking a contract, but this is one kernel I've never heard of. Probing the web seems fruitless. Person I talked...

Hi, I'm looking at taking a contract, but this is one kernel I've never heard of. Probing the web seems fruitless. Person I talked with claims that this is actually the trade name of the kernel. It's running on a PPC 860 under the GNU compiler ... Any background or a URL greatly appreciated. -D


Kernel image size

Started by Nobby Anderson in comp.arch.embedded8 years ago 6 replies

I've recently upgraded a ppc405 build for a Virtex 4 device from kernel 2.6.15 (arch/ppc) to 2.6.31 (arch/powerpc) and the size of the image has...

I've recently upgraded a ppc405 build for a Virtex 4 device from kernel 2.6.15 (arch/ppc) to 2.6.31 (arch/powerpc) and the size of the image has increased from about 900k to 1.4M. As far as I can tell I've pretty much the same config options set. The 2.6.15 kernel was straight from the kernel mainline with some xilinx drivers hacked in, the .31 is straight from git.xilinx.com with nothing ...


u-boot on AT91RM9200DK does not boot up the linux kernel

Started by rohshall in comp.arch.embedded9 years ago

Hi, I compiled the kernel image using buildroot for the at91rm9200 development kit (at91rm9200-dk). And I am trying to boot up the kernel using...

Hi, I compiled the kernel image using buildroot for the at91rm9200 development kit (at91rm9200-dk). And I am trying to boot up the kernel using u-boot. I have tried two ways of booting it up. 1. Using bootm command (after downloading uImage): But though u-boot successfully identifies the image, the kernel does not boot up. Here is what I see on console: [/START] U-Boot> bootm 20008000


How to redirect kernel messages to serial console

Started by tamamontu in comp.arch.embedded8 years ago 2 replies

Hi, I am trying to redirect kernel message to serial console. I am trying to modify LCD device driver for cirrus EP9307 board. We are using...

Hi, I am trying to redirect kernel message to serial console. I am trying to modify LCD device driver for cirrus EP9307 board. We are using 2.6.8.1 kernel and reboot as bootloader. I have enabled support for serial console in kernel config using menuconfig. The default console is set to tty0 which is lcd in our case. How can i change this to ttys0(uart1). On net there is some informatio...


Embedded kernel with C source?

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

Hi. I'm looking for a 32-bit kernel with preemptive multitasking (realtime is not required). It should be simple & lightweight, and be...

Hi. I'm looking for a 32-bit kernel with preemptive multitasking (realtime is not required). It should be simple & lightweight, and be written in hardware independant C (with full sourcecode). Considering that my project requires a TCP/IP stack, I would prefer a kernel for which such support modules have already been ported. This is for replacing an 8-bit system to PowerPC. While I do...


ARM LINUX: linker script

Started by [LT] CodeC in comp.arch.embedded10 years ago

Hi All, I want to compile vanila kernel (2.6.23-14) for ARM920T MCU. It should be a XIP kernel. In menuconfig I have set 0x10020000 physical...

Hi All, I want to compile vanila kernel (2.6.23-14) for ARM920T MCU. It should be a XIP kernel. In menuconfig I have set 0x10020000 physical XIP address. After compiling I see, that my kernel binary is linked to 0xBF020000 address. Auto-generated linker script (arch/arm/kernel/vmlinux.lds) starts with these lines: SECTIONS { . = ((((0xc0000000)) - 16*1048576) + ((0x10020000) & 0x000ffff...


Kernel panic / page fault help

Started by roboman152 in comp.arch.embedded11 years ago 1 reply

Hi, Im a newb to working at this level with the kernel. (mainly a hardware guy) Anyways im trying to get 2.6.14 to run on my custom board. Ive...

Hi, Im a newb to working at this level with the kernel. (mainly a hardware guy) Anyways im trying to get 2.6.14 to run on my custom board. Ive got 16MB of SDRAM and 2MB of Dataflash, it enters the kernel but page faults, below is the whole nitty gritty, any suggestions on what could cause this/ were to look for a solution? U-Boot 1.1.2 (May 17 2006 - 15:46:16) U-Boot code: 20F00000 ->


Porting linux on PPC 750 Cxe error after Freeing unused kernel memory: 248k init

Started by Kiran in comp.arch.embedded13 years ago 1 reply

Hi all, We are porting linux on to a PPC750 Cxe based board. We are successful enough to get the kernel messages on to the serial...

Hi all, We are porting linux on to a PPC750 Cxe based board. We are successful enough to get the kernel messages on to the serial console. Following is the console ouput on the hyperterminal... No output is printed after the message "Freeing unused kernel memory: 248k init" But kernel is still alive. It is not hanging as well. Hope you can throw light on this. Regards Kiran Kuma...


Applications "buying" resources

Started by D Yuniskis in comp.arch.embedded7 years ago 77 replies

Hi, My RTOS has hooks that let the "kernel" ask tasks (forget how that is defined) to voluntarily shed resources (time, memory, power). This...

Hi, My RTOS has hooks that let the "kernel" ask tasks (forget how that is defined) to voluntarily shed resources (time, memory, power). This lets the kernel (actually, a "special" user-land task that makes decisions *for* the kernel) throttle back the demands placed on the *fixed* resources to better adjust to the current demands placed on them. So, if some "new" task needs to be spaw...


Evaluation of real time kernel performance

Started by brOS in comp.arch.embedded8 years ago

hi all, I'm wondering what are the main parameters when talking about kernel performance...and when I say kernel I mean basic stuff, like...

hi all, I'm wondering what are the main parameters when talking about kernel performance...and when I say kernel I mean basic stuff, like context switching, blocking time, time for finding task of the highest priority etc... I am familiar with following parameters: -interrupt latency(which is, as I understand, directly proportional to length of sections of code where interrupts are disabled...


Unable to handle kernel paging request at virtual address -- ARM linux

Started by francesco in comp.arch.embedded10 years ago

Hello, i'm trying to boot a linux image (ftp://ftp.arm.linux.org.uk/ pub/armli...in/zImage.qvga) on a PXA270 processor based board. I am...

Hello, i'm trying to boot a linux image (ftp://ftp.arm.linux.org.uk/ pub/armli...in/zImage.qvga) on a PXA270 processor based board. I am getting this crash dump, but I don't have any idea how to fix this. Any suggestions please? Starting kernel ... Uncompressing Linux............................................................. ......................... done, booting the kernel. Li...


Optimizing Linux on ARM920T (MXL from Freescale)

Started by [LT] CodeC in comp.arch.embedded10 years ago 2 replies

Hi all, I just started to develop Linux OS for arm920t processor. I want to build very simple and quick kernel, because I need...

Hi all, I just started to develop Linux OS for arm920t processor. I want to build very simple and quick kernel, because I need real-time operations. I have compiled 2.6.23 kernel (XIP, 1.1MB), have wrotten simple bootloader (1.5KB). I use uClibc and buildroot toolchain. I want to start linux kernel as quick as possible after power on (less that 1s is wanted). I will disable console, will ru...


Hello Kernel

Started by karthikbalaguru in comp.arch.embedded9 years ago 6 replies

Hi, I would like to pass commands from Shell and check the information exchanged between different routines in Kernel Space ? Other than...

Hi, I would like to pass commands from Shell and check the information exchanged between different routines in Kernel Space ? Other than printk , Is there any tool / method to do that ? Thx in advans, Karthik Balaguru


Linux Kernel speculation

Started by Nobby Anderson in comp.arch.embedded8 years ago 17 replies

We have a number of systems based on the ppc core in a Virtex 4 FX12. The system has 4MB flash RAM for program storage and 32MB RAM and uses one...

We have a number of systems based on the ppc core in a Virtex 4 FX12. The system has 4MB flash RAM for program storage and 32MB RAM and uses one of the EDK-supplied Ethernet cores for comms (temac). Some time ago I ported a 2.6.15 kernel onto it and we've been running with that ever since. The system boots with a small bootloader which loads uboot which in turn loads the Linux kernel. Th...


LTIB kernel booting problem

Started by sabarinath in comp.arch.embedded10 years ago

hai, I am sabarinath i am using LTIB MPC8555CDS_20061017-ltib.iso i customized the kernel and poted on MPC8555 series Channel card product...

hai, I am sabarinath i am using LTIB MPC8555CDS_20061017-ltib.iso i customized the kernel and poted on MPC8555 series Channel card product name "SPTWIMAXCC1E" AMC Channel Card i copied the kernel in to the RAM in the Board But at the time of booting it got shucked please see below what steps i done Advance thanks and Regards.......... => setenv bootargs root=/dev/ram rw ramd