Optimizing Linux on ARM920T (MXL from Freescale)

Jan 04, 2008 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 real-tim operations. I have compiled 2.6.23 kernel (XIP, 1.1MB), have wrotten simple bootloade (1.5KB). I use uClibc and buildroot toolchain. I want to start linux kernel as quick as possible after power on (les that 1s is wanted). I will disable console, will run kernel and apps from ROM, will us ramdisk and kernel modules. I will remove all stuff from kernel (minima networking, SLOB alocator, minimal dvivers and libraries).



What more optimizations ant simplifications can I made? It is possible to build single user kernel? Does anyone have experience with Linux on i.MXL processors? All info and help welcome!


A useful method to see where the kernel spends its cycles during booting is to pass the "initcall_debug" cmdline parameter, and enable the CONFIG_PRINTK_TIME option in the configuration.

Just as an embedded RTOS Linux is rather fat. You might consider other alternatives like eCos, rtems, FreeRTOS, ... These are designed for minimal resource usage, so you may push down memory requirements for the whole system to 256k or below, dependíng on you application.

Mit freundlichen Grüßen

Frank-Christian Krügel

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required