Hi BTW, what' do you mean " print text to the output" and "printk does not produce any output on the console port."??
I understand, the output is console,and it is a serial port? Regards Rui >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of ext >Crane, Matthew >Sent: Friday, June 08, 2007 4:05 AM >To: uClinux development list >Subject: RE: [uClinux-dev] how to bind console to early printk > >I know it's lame to self-reply, but I realized that manually >setting CONFIG_PRINTK in the .config never actually ended up >dirtying the printk.c file in the kernel. Once I did a make >clean and rebuilt it worked as expected and dumped the printk >to the swapped console port. > >Cheers, >Matt > >________________________________ > >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Crane, Matthew >Sent: Thursday, June 07, 2007 3:22 PM >To: uClinux development list >Subject: [uClinux-dev] how to bind console to early printk > > >Hi, > >I am trying to bring up the current dist 2.6 kernel on an >AT91x40 board. >I am using the serial_atmel module as the serial driver. The >serial_atmel console driver is initialized and registered and >I can print text to the output with the console_print_atmel >function within the module. The kernel boots to the point of >trying to mount the rootfs. > >My issue is that printk does not produce any output on the >console port. >I notice in the arch/arm directory the mach-atmel/arch.c file does not >initialize any console devices, where as the at91rm9200 does. > >Do I need to add similar init calls from a board_init function from the >MACHINE_START macro in the arch/arm/mach-atmel directory? What is the >key function/point where the serial_core and printk are >connected to the serial console? Thanks for any help, > >Matt > >_______________________________________________ >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 unsubscribe see: >http://mailman.uclinux.org/mailman/options/uclinux-dev > _______________________________________________ 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 unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev