Re: [uClinux-dev] [m68k] Get boot parameters

2011-08-22 Thread Greg Ungerer
Hi Viet, On 08/08/11 16:24, Viet Nguyen wrote: Thanks for your answer. However, my question is reading a boot parameter directly from my module because i need to know which device is selected for the console. For example if I pass "console=ttyS0,115200" and I want to get "ttyS0,115200" in my mod

Re: [uClinux-dev] [m68k] Get boot parameters

2011-08-07 Thread Viet Nguyen
Hi Greg, Thanks for your answer. However, my question is reading a boot parameter directly from my module because i need to know which device is selected for the console. For example if I pass "console=ttyS0,115200" and I want to get "ttyS0,115200" in my module. The system works fine, in boot proc

Re: [uClinux-dev] [m68k] Get boot parameters

2011-08-07 Thread Greg Ungerer
Hi Viet, On 02/08/11 19:34, Viet Nguyen wrote: I need to get the value of parameter "console" passed by u-boot in arch initialization stage. I think I need to touch config_BSP function. Do you mean the kernel code you are using doesn't currently get the command line at all from uboot? You wo