Thanks, Chiachen, But, what I want to know is how the kernel knows the parameters at the beginning before mounting the root file system?
Best Regards, Daniel (Youngwhan) Song 2009/12/15 chiachen <[email protected]> > The parameter in the command line is transferred to the kernel firstly, > when the file system is mounted, they are transferred to /proc/cmdline. > Other shell script need the parameter will analysis it later. > > ------------------------------ > *发件人:*Daniel (Youngwhan) Song <[email protected]> > *发送日期:*2009-12-16 09:40 > *收件人:*abhijeet tripathi <[email protected]> > *抄送:*[email protected] Niamathullah sharief <[email protected]> > *主题:* Re: Boting error in freescale board > > Just a quick question. > > How is "console" booting parameter transferred to linux? Could somebody > point me out good docs for it, please? > > Thanks, > > Best Regards, > Daniel (Youngwhan) Song > > > > On Tue, Dec 15, 2009 at 6:15 AM, abhijeet tripathi < > [email protected]> wrote: > >> >> --- On Tue, 15/12/09, Niamathullah sharief <[email protected]> wrote: >> >> > From: Niamathullah sharief <[email protected]> >> > Subject: Boting error in freescale board >> > To: [email protected] >> > Date: Tuesday, 15 December, 2009, 3:22 PM >> > Hello, >> > ?�i am used pegetron freescale processor >> >> > board. it that when i enter into minicom its not getting the >> > correct booting....see this what i am getting . >> > >> > ar...@ariem-desktop:~$ minicom -s >> > >> > >> > >> > Welcome to minicom 2.3 >> > >> > OPTIONS: I18n >> > Compiled on Oct 24 2008, 06:37:44. >> > Port /dev/ttyUSB0 >> > >> > ????????�Press CTRL-A Z for help on special keys >> >> > >> > >> > >> > >> > ++Initializing SPI-NOR flash... >> > >> > JEDEC ID: 0xbf:0x25:0x4a >> > >> > SPI NOR: block_size=0x10000, blocks=0x40, start=0x00000000, >> > end=0x00400000 >> > >> > ... Read from 0x1fef0000-0x1ff00000 at 0x00080000: . >> > ... Read from 0x1fee3000-0x1fee4000 at 0x0008f000: . >> > PMIC ID: 0x000041d0 [Rev: 2.0] >> > [Warning] FEC not connect right PHY: ID=0 >> > FEC: [ HALF_DUPLEX ] [ disconnected ] [ 10M bps ]: >> > >> > Ethernet mxc_fec: MAC address 00:00:45:67:89:ab >> > No IP info for device! >> > >> > Reset reason: Power-on reset >> > fis/fconfig from SPI-NOR >> > Boot switch: INTERNAL >> > >> > ????EXPANSION: SPI-NOR: eCSPI1 >> > >> > RedBoot(tm) bootstrap and debug environment [ROMRAM] >> > Non-certified release, version FSL 200910_P1 - built >> > 16:07:20, Jul 15 2009 >> > >> > Platform: MX51 Babbage (Freescale i.MX51 based) PASS 2.0 >> > [x32 DDR] >> > >> > Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. >> > Copyright (C) 2003, 2004, 2005, 2006 eCosCentric Limited >> > >> > RAM: 0x00000000-0x1ff00000, [0x00094fb8-0x1fee1000] >> > available >> > FLASH: 0x00000000 - 0x400000, 64 blocks of 0x00010000 bytes >> > each. >> > >> > == Executing boot script in 1.000 seconds - enter ^C to >> > abort >> > RedBoot> pmic 15 0x00400022 >> > ????val: 0x00400022 >> > >> > RedBoot> mfill -b 0x73f88000 -p 0x01025200 -l 0x04 -4 >> > RedBoot> mfill -b 0x73f84000 -p 0x20 -l 0x04 -4 >> > >> > RedBoot> fis load kernel >> > ... Read from 0x1fef0000-0x1feff000 at 0x00080000: . >> > ... Read from 0x00100000-0x00380000 at 0x00100000: . >> > RedBoot> e -c "root=/dev/sda1 ro quite >> > splash" >> > entry=0x90008000, target=0x90008000 >> > >> > Using base address 0x00100000 and length 0x00280000 >> > Uncompressing >> > >> Linux................................................................................................................................. >> >> IIRC, you need to pass "console=<UART>,<BAUD-RATE>" �in your kernel command >> line. >> e.g.: console=ttyS0,115200n8 >> >> > done, bo. >> > >> > >> > after this i am not getting anything.what to >> > do? >> > >> >> Best regards, >> Abhijeet >> >> >> ??�The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. >> http://in.yahoo.com/ >> >> >> -- >> To unsubscribe from this list: send an email with >> "unsubscribe kernelnewbies" to [email protected]<[email protected]> >> Please read the FAQ at http://kernelnewbies.org/FAQ >> >> > >
