[uClinux-dev] [PATCH]uClinux patch for NXP LPC288x

Lucy Wang lucy.wang at nxp.com
Wed Apr 9 11:54:37 EDT 2008


Hi All,

Under below link you can find the NXP LPC288x patch against linux-2.6.21
kernel, the vendor/NXP directory for uClinux.
While the document <Getting Started uClinux with LPC288x> can give you an
idea on how to start uClinux with NXP LPC288x MCU, including how to setup
the system, build and program images as well as how to connect USB and
MMC/SD card devices.

http://tech.groups.yahoo.com/group/lpc2400_uclinux/files


A snapshot of the console output:

   U-Boot 1.1.6 (Jan  9 2008 - 01:56:04)

   DRAM:  16 MB
   Flash:  9 MB
   *** Warning - bad CRC, using default environment

   In:    serial
   Out:   serial
   Err:   serial
   U-Boot> go 0x30008000

   Linux version 2.6.21-uc1 (root at localhost.localdomain) (gcc version
   3.4.4) #690 Wed Jan 9 10:46:01 CST 2008
   CPU: NXP-LPC2888 [00007700] revision 0 (ARMv3), cr=00000001
   Machine: LPC28XX
   Warning: bad configuration page, trying to continue
   Built 1 zonelists.  Total pages: 4064
   Kernel command line: root=/dev/ram0 initrd=0x30900000,4096k keepinitrd
   console=ttyS0,115200N8
   PID hash table entries: 64 (order: 6, 256 bytes)
   lpc28xx_time_init
   Console: colour dummy device 80x30
   Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
   Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
   Memory: 16MB = 16MB total
   Memory: 13628KB available (2256K code, 257K data, 88K init)
   Mount-cache hash table entries: 512
   NET: Registered protocol family 16
   SCSI subsystem initialized
   NET: Registered protocol family 2
   IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
   TCP established hash table entries: 512 (order: 0, 4096 bytes)
   TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
   TCP: Hash tables configured (established 512 bind 1024)
   TCP reno registered
   checking if image is initramfs...it isn't (bad gzip magic numbers);
   looks like an initrd
   NetWinder Floating Point Emulator V0.97 (double precision)
   io scheduler noop registered (default)
   lpc28xx lcd: driver loaded
   Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing
   disabled
   Serial8250: ttyS0 at MMIO 0x0 (irq = 12) is a 16550A
   RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
   loop: loaded (max 8 devices)
   register lpc28xx_udc
   ether gadget: using random host ethernet address
   usb0: Ethernet Gadget, version: May Day 2005
   usb0: using lpc28xx_udc, OUT ep1out IN ep1in STATUS ep2in
   usb0: MAC 12:34:56:78:99:aa
   usb0: HOST MAC 26:5c:d7:66:2e:4d
   usb0: RNDIS ready
   lpc28xx rtc init
   Open rtc...
   lpc28xx_rtc lpc28xx_rtc: rtc core: registered lpc28xx_rtc as rtc0
   LPC28XX Real Time Clock driver.
   lpc28xx_mci: Multimedia Card Interface driver for NXP LPC22XX.
   TCP cubic registered
   NET: Registered protocol family 1
   NET: Registered protocol family 17
   lpc28xx_rtc_readtime(): 2969-08-03 17:22:55
   lpc28xx_rtc lpc28xx_rtc: setting the system clock to 2969-08-03 17:22:55
   (1479240303)
   RAMDISK: romfs filesystem found at block 0
   RAMDISK: Loading 751KiB [1 disk] into ram disk... <6>usb0: high speed
   config #2: 100 mA, Ethernet Gadget, using RNDIS
   done.
   VFS: Mounted root (romfs filesystem) readonly.
   Freeing init memory: 88K
   mmcblk0: mmc0:d99b S016B 14560KiB
    mmcblk0: unknown partition table
   Welcome to
             ____ _  _
            /  __| ||_|
       _   _| |  | | _ ____  _   _  _  _
      | | | | |  | || |  _ \| | | |\ \/ /
      | |_| | |__| || | | | | |_| |/    \
      |  ___\____|_||_|_| |_|\____|\_/\_/
      | |
      |_|

   For further information check:
   http://www.uclinux.org/

   #


Best Regards,
Lucy Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20080409/977f0e1b/attachment.html>


More information about the uClinux-dev mailing list