Hello all,
I'm working on the porting of uClinux 2.6.19 for a new architecture.
The system is booting without problems, but I have a problem
concerning timekeeping.
Indeed, the date command shows that time runs too fast
(5 sec in reality for around 10 minutes in Linux...).
So I have read documenta
Hello all,
I'm porting uClinux for a new architecture and I have a problem with
printf messages from sh. Indeed, the prompt is printed twice.
For instance, when typing the command 'ls -C' the system output the
following:
/> /> ls -C
bin dev etc home
Hello all,
I'm doing the porting of uClinux to a new architecture and I have a
problem with the sys_close system call.
Indeed, init process open a first time bin/sh to read and execute the
commands of etc/rc.
When sh terminates, the filp_close() function resets the 'next' field of
the console filp.
Hello all,
I'm porting uclinux 2.6.19 on a new architecture (Cortus ASP3) and I have
a problem with the function 'check_tty_count()' (drivers/char/tty_io.c)
On my system, it creates an endless loop in
list_for_each(p, &tty->tty_files) {
count++;
}
I think something in not correclty
Thanks for your answer.
In fact I can follow the 'init' execution with a tracelog and the system
executes correctly
the system-calls, interruptions etc.. from the user mode.
Previously it was able to read the script 'rc' and even executes
commands. (it was with the user/init program).
But it
Hello all,
I'm porting uClinux 2.6 to the CORTUS aps3 processor and I have reached
the point of executing programs from user mode.
I have spend a lot of time working on "init" program from 'user/init'
but it seems that the programs from user/ are suitable for kernel 2.0.
I have read on documenta
Hi all,
I'm building the elf2flt converter in order to provide flat binaries
(init and sh) to the kernel.
The compiling has been done correctly and I have tested it with an .ELF
file.
I had received the following error message:
ERROR: text=0x667c overlaps data=0x60 ?
After investigations, it
Hi all,
I have a question concerning the compilation option (.config):
the kernel outputs the following warning and error:
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init=
option to kernel.
It seems that the kernel doesn't
Hi all,
During compiling of kernel 2.6, the directory romfs is created into
home//uClinux-dist/.
In the directory romfs/dev, all device file names begin with @ .
Does it mean that I'm using a wrong genromfs?
Thanks in advance.
Regards.
___
uClinux-d
Hello all,
I have a question concerning the end of the init() function, where the
kernel should start the shell.
In my case, the kernel outputs the well_known errors with initial
console and No init found.(see the kernel output below).
After investigations, it seems that the format of the 'init'
Hi
Ok , I have change the code manually and it has resolved my problem.
Thanks very much!
Sujit Karataparambil a écrit :
Not Really.
You may have to change the code manually to Kthread API's.
On 1/22/09, Stephane Lambert wrote:
Thanks for your answer,
Does it means that I should
http://lwn.net/Articles/188666/
On 1/20/09, Stephane Lambert wrote:
Hi all,
I'm trying to boot uClinux 2.6 on a new architecture.
I have a problem during execution of the mtd_blktrans_thread() function.
Indeed the condition for the while loop never permits to
ommand line?
Thanks very much in advance!
Regards
Greg Ungerer a écrit :
Hi Stephane,
Stephane Lambert wrote:
I'm working on mounting romfs for kernel 2.6.19 on a new architecture
and I have a question:
It is possible to mount romfs without MTD support?
Where does the romfs si
Hi all,
I'm working on mounting romfs for kernel 2.6.19 on a new architecture
and I have a question:
It is possible to mount romfs without MTD support?
Thanks in advance!
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org
Hi all,
I'm trying to boot uClinux 2.6 on a new architecture.
I have a problem during execution of the mtd_blktrans_thread() function.
Indeed the condition for the while loop never permits to terminate.
while (!tr->blkcore_priv->exiting) {
...
}
-Original Message-
From: uclinux-dev-boun...@uclinux.org [mailto:uclinux-dev-boun...@uclinux.org]
On Behalf Of Stephane Lambert
Sent: Friday, January 16, 2009 6:20 AM
To: uClinux development list
Subject: Re: [uClinux-dev] Problem with romfs
Hi,
yes CONFIG_ROMFS_FS is enabled.
I've tried to enabled C
Hi,
yes CONFIG_ROMFS_FS is enabled.
I've tried to enabled CONFIG_MTD_BLOCK, and several things have been done:
...
uclinux[mtd]: RAM probe address=0x11414 size=0x18141000
Creating 1 MTD partitions on "RAM":
0x-0x18141000 : "ROMfs"
mtd: Giving out device
Thanks all for your help.
Now, the system is able to create a partition for ROMfs.
So it seems that the kernel has found -rom1fs- thanks to uClinux.c.
ROOT_DEV has been set at 1f:00 (31, 0).
But I have still a kernel panic.
Perhaps I have missed something.
Any suggestions?
Thanks in advance.
S.La
Hello,
Thanks for your answer.
Does the CONFIG_BLKMEM available for kernel 2.6?
blkmem.c exists for kernel 2.4 but I haven't found it in kernel 2.6.
Thanks.
S.Lambert
Jate Sujjavanich a écrit :
Is CONFIG_BLKMEM enabled?
___
uClinux-dev mailing lis
iver which will give access to the romfs in memory?
Blkmem or mtd?
- Jate
-Original Message-
From: uclinux-dev-boun...@uclinux.org
[mailto:uclinux-dev-boun...@uclinux.org] On Behalf Of Stephane Lambert
Sent: Thursday, January 08, 2009 4:27 AM
To: uClinux-dev@uclinux.org; kernelnewb...@nl
Hi all,
I'm trying to boot kernel 2.6.19 in a new architecture and I have a
problem concerning romfs.
During compilation I've created a section .romfs which contains
romfs.img. I have checked with GDB and
I found correctly the magic number -rom1fs- at the expected location.
But I don't understa
Hello all,
I am having a problem during boot concerning VFS (see the kernel output
below).
I have read several posts on this subject but I haven't been able to
find the information that I need.
(Note that I'm porting uClinux to a new architecture (The Cortus APS3
processor)).
Could someone p
Hello all
I have a question concerning context switch :
When and how does the content of 'regs' (struct pt_regs) is restored
during context switch?
(especially fn, arg, and kernel_thread_helper() address, set in
kernel_thread() in order to call fn(arg)).
Thanks in advance for your responses.
Hi all,
I'm porting uClinux (linux kernel 2.6.19) on a new architecture and I
have a question concerning timer interrupts.
During the execution of the init() function, a new thread is created for
ksoftirqd.
To do this, kernel_thread() is called with the corresponding operands
and calls system_c
Hi all,
I'm porting uClinux on a new architecture and I have reached the step of
init_process creation. When 'init()' function is called (init/main.c),
After checking a trace, the process 'kthread' is also created, but after
that the system enters in Panic.
It seems to be the following BUG_ON
value in the instruction pointer. All is clear for me now.
Cheers
Stephane Lambert
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To
hello all,
I'm working on the porting of uClinux on a new platform and I have some
questions concerning the rest_init() function at the end of
start_kernel(). In fact rest_init() calls kernel_thread() with the
operand 'init' which is the function responsible for the call of the
'init' and 'sh'
Hello,
I have a strange problem concerning the 'kmem_cache_create' when it is
called by 'vfs_cache_init'. During the boot procedure,
'kmem_cache_create' is called several times in order to check if the
state of the initialisation is correct, and in my case it works correcly
until 'vfs_cache_in
Hello all,
I try to understand how printk works: I know that all printk messages
are stored in the LOG_BUF buffer before the call of console_init()
(because console_init() seems to set up the serial port). But I don't
understand what is really happening..
What involved files should I set or mo
Hello all,
I'm porting uClinux on the Cortus APS3 processor and in order to write
specifically the setup_arch function I need to understand correctly the
structure mm_struct, but I have some doubts. Could someone please
explain to me the purpose of the following variables :
(uClinux/uClinux-d
eems this error is a vmlinux script problem. But I would like to
understand what is happening to avoid this problem after, and what this
error really means, and finally add correctly my Heap section.
Could someone help me please?
Thanks in advance.
S
ld someone help me please?
Thanks in advance.
Stephane Lambert
___
GNU gdb 6.5.0 (Cortus 20080313 with DSP)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the G
32 matches
Mail list logo