Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02 Apr 2008 12:20 PM by  mcelweep@msoe.edu
Using LoLo with the Freescale BSP
 15 Replies
Sort:
You are not authorized to post a reply.
Author Messages
mcelweep@msoe.edu
New Member
New Member
Posts:


--
09 Aug 2007 03:56 PM
    I have been trying to use Lolo as a boot loader for the uclinux image I have built using the BSP supplied by Freescale. The image I have built downloads and runs fine using Dbug, but I cannot seem to get it to work through Lolo. I want to use Lolo, so I can do some simple logic of mounting the Compact Flash, check for a new image, dump that image to flash, dump flash image to ram, run the image. I can do all of that except for running the image. Whenever I try to load it using the command load I get the following.

    losh> load bin image.bin
    loading from image.bin:
    error: load: address space does not fit in ram (0x2ebc00 bytes at 0x7cfc0980)
    load failed

    I tried to write it to the free RAM using the raw switch on the load command and it loads it, but it doesn't seem to want to run.


    losh> load raw 0x400c0000 3748864 image.bin
    loading from image.bin:
    loading raw binary to 0x400c0000 (ram) len 00393400:
    ...................................................................................................................................:
    ea61e0b03eeb5eb7c1476472ec249b68 - addr: 400c0000 len: 00393400
    file loaded
    losh> exec 0x400c0000 - "root=romfs"
    kernel cmdline: 'root=romfs' at 4004e840


    Any ideas about how to go about this? Am I missing something simple?
    mcelweep@msoe.edu
    New Member
    New Member
    Posts:


    --
    14 Aug 2007 07:54 AM
    Well, I figured out my issue from a combination of RTM and dumb luck.

    The first issue is that BIN is not binary, but the Microsoft BIN file format, which is definately not what the the freescale LTIB builds to. So loading the image with the raw command is the correct way to go.

    Second issue, when Dbug is running, the first chunk of free RAM is at 0x40020000. When Lolo is running (i.e. after typing go_lolo in dbug), the first chunk of free RAM is at 0x400C0000.

    When configuring the Kernel there is an option under "Processor type and features" called "address of the base of kernel code". This needs to be changed to the start of the free RAM (i.e. where the image is going to be loaded to), so in Dbug it would be 0x40020000, but in Lolo it would be 0x400C0000.
    kurtl@logicpd.com
    New Member
    New Member
    Posts:


    --
    15 Aug 2007 08:24 AM
    Good find. Thanks for posting back here!
    ylyang5@yahoo.com
    New Member
    New Member
    Posts:


    --
    04 Mar 2008 09:46 AM
    Hi, pmcelwee13.

    I am using Freescale M5329EVB and uClinux 2.6.17. I am having the same problem as you had. Probably you can help me out.

    Basically everything works if I use dBUG, now I am trying to use LOLO to load uclinux image from NAND flash to RAM. The image can be copied from NAND to RAM. But the image cannot run from RAM. The following is what I changed.

    If I use Freescale dBUG, I set the following parameters in LTIB:
    1) Address of the base of RAM = 0x40020000
    2) RAM size (in bytes) = 0x1FE0000
    3) Address of the base of system vectors = 0x40000000
    4) Address of the base of kernel code = 0x40020000
    Everything works ok.

    If I use LogicPD LogicLoader, I set the following parameters in LTIB:
    1) Address of the base of RAM = 0x400C0000
    2) RAM size (in bytes) = 0x1F40000
    3) Address of the base of system vectors = 0x40000000
    4) Address of the base of kernel code = 0x400C0000
    The image doesn't work (filesystem mount error...). I just changed the above settings. Nothing else was changed in LTIB. I am not sure the above settings are correct.

    Would you please tell me what the correct settings are?

    Thanks in advance,

    Allen
    mcelweep@msoe.edu
    New Member
    New Member
    Posts:


    --
    05 Mar 2008 08:15 AM
    I don't think your problem is with where the kernel is located in memory (seeing as how *something* is running if you get a filesystem mounting error). You are seeing the kernel booting right?

    You must be having trouble mounting the filesystem, what are you mounting? If you could post the kernel boot output I might be able to help you out.
    ylyang5@yahoo.com
    New Member
    New Member
    Posts:


    --
    05 Mar 2008 09:37 AM
    Hi, pmcelwee13.

    Thank you for your reply. Please find the power-on messages from my uclinux image for LogicLoader (this one doesn't work) and dBUG (this one works).

    Again, the differences between these 2 images are the parameters I set for:

    1) Address of the base of RAM
    2) RAM size (in bytes)
    3) Address of the base of system vectors
    4) Address of the base of kernel code

    You can find those settings from the previous email.I didn't change anything else from the LTIB.

    Another thing, when I use LogicLoader, I don't use dBUG.

    Also, when I use dBUG, I download the image from PC. When I use LogicLoader, I put image in the NAND flash. uclinux image is copied from NAND flash to RAM.

    Thank you very much for your time on this matter.

    Best regards,

    Allen

    ==============================================================
    power-on messages from my uclinux image for LogicLoader (this one doesn't work)
    -------------------------------------------------------------------------------
    add-yaffs uclinux nand 0 1023
    add-yaffs: inserted: start 0 - len 1023

    mount yaffs /uclinux
    Mounting a YAFFS partition.

    ---------------------------------------------------
    Starting YAFFS file system:
    Current YAFFS partition table:
    0: /dev/nand0 uclinux B0 - B1023 ( 0)
    1: <NULL> <NULL>
    2: <NULL> <NULL>
    3: <NULL> <NULL>
    YAFFS initialized.
    ---------------------------------------------------


    load raw 0x400C0000 5344256 /uclinux/image.bin
    loading from /uclinux/image.bin:
    loading raw binary to 0x400c0000 (ram) len 00518c00:
    .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................md5sum of _loaded_ portion of the file:
    e7361bcba5cc662b67df3505271a2a8d - addr: 400c0000 len: 00518c00
    file loaded

    exec
    Linux version 2.6.17.7-uc1 (hiren@localhost.localdomain) (gcc version 4.1.0 (CodeSourcery Freescale 4.1-14)) #242 Sat Jun 9 14:37:52 EDT 2007


    uClinux/COLDFIRE(m532x)
    COLDFIRE port done by Greg Ungerer, gerg@snapgear.com
    Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
    Built 1 zonelists
    Kernel command line:
    PID hash table entries: 128 (order: 7, 512 bytes)
    Console: colour dummy device 80x25
    Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
    Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
    Memory available: 26328k/32000k RAM, (1698k kernel code, 336k data)
    Mount-cache hash table entries: 512
    NET: Registered protocol family 16
    USB-MCF532x: (HOST module) EHCI device is registered
    USB-MCF532x: (OTG module) EHCI device is registered
    USB-MCF532x: (OTG module) UDC device is registered
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    NET: Registered protocol family 2
    IP route cache hash table entries: 256 (order: -2, 1024 bytes)
    TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    TCP bind hash table entries: 512 (order: -1, 2048 bytes)
    TCP: Hash tables configured (established 1024 bind 512)
    TCP reno registered
    JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
    io scheduler noop registered
    io scheduler cfq registered (default)
    Initializing LR38825 Frame Buffer
    Console: switching to colour frame buffer device 27x22
    fb0: LR38825 FB frame buffer device
    Initializing REMOTE Keyboard driver
    Knob Enter (at 0x4018e6d0) called request_irq without a dev_id!
    Knob (at 0x4018e7d4) called request_irq without a dev_id!
    Key (at 0x4018e208) called request_irq without a dev_id!
    ISA-Philips-Basic-CAN memory mapped CAN Driver 3.0_ColdFire_FlexCAN (c) Jun 9 2007 14:35:43
    ColdFire internal UART serial driver version 1.00
    ttyS0 at 0xfc060000 (irq = 90) is a builtin ColdFire UART
    ttyS1 at 0xfc064000 (irq = 91) is a builtin ColdFire UART
    ttyS2 at 0xfc068000 (irq = 92) is a builtin ColdFire UART
    RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
    loop: loaded (max 8 devices)
    nbd: registered device at major 43
    FEC ENET Version 0.2
    fec: PHY @ 0x1, ID 0x20005c90 -- DP83848
    eth0: ethernet ff:ff:ff:ff:ff:ff
    uclinux[mtd]: RAM probe address=0x402bcdac size=0x342000
    Creating 1 MTD partitions on "RAM":
    0x00000000-0x00342000 : "ROMfs"
    uclinux[mtd]: set ROMfs to be root filesystem
    NAND device: Manufacturer ID: 0x20, Chip ID: 0x73 (ST Micro NAND 16MiB 3,3V 8-bit)
    Scanning device for bad blocks
    Creating 1 MTD partitions on "NAND 16MiB 3,3V 8-bit":
    0x00000000-0x01000000 : "M5329 flash partition 1"
    QSPI device driver installed OK
    ColdFire QSPI (at 0x401b14b0) called request_irq without a dev_id!
    MCF532x QSPI driver ok
    usbmon: debugfs is not available
    MCF532x USB EHCI: is found. ID=0x5 Rev=0x41
    ehci ehci.1: EHCI Host Controller
    ehci ehci.1: new USB bus registered, assigned bus number 1
    ehci ehci.1: irq 176, io mem 0xfc0b4000
    ehci ehci.1: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
    usb usb1: Product: EHCI Host Controller
    usb usb1: Manufacturer: uClinux 2.6.17.7-uc1 ehci_hcd
    usb usb1: SerialNumber: ehci.1
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    MCF532x USB EHCI: is found. ID=0x5 Rev=0x41
    ehci ehci.0: EHCI Host Controller
    ehci ehci.0: new USB bus registered, assigned bus number 2
    ehci ehci.0: irq 175, io mem 0xfc0b0000
    ehci ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
    usb usb2: Product: EHCI Host Controller
    usb usb2: Manufacturer: uClinux 2.6.17.7-uc1 ehci_hcd
    usb usb2: SerialNumber: ehci.0
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    ehci-mcf532x: can't find transceiver!
    Initializing USB Mass Storage driver...
    usbcore: registered new driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new driver usbhid
    drivers/usb/input/hid-core.c: v2.6:USB HID core driver
    udc: Freescale MCF532x UDC driver version 27 October 2006 init
    udc: No external transceiver!
    udc: MCF532x USB Device is found. ID=0x5 Rev=0x41
    TCP bic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    VFS: Mounted root (romfs filesystem) readonly.
    Freeing unused kernel memory: 84k freed (0x40281000 - 0x40295000)
    init started: BusyBox v1.00 (2007.06.02-15:44+0000) multi-call binaryÍSetting the hostname to freescale
    Mounting filesystems
    mount: Mounting /proc on /proc failed: Bad address
    mount: Mounting rwfs on /mnt/rwfs failed: Bad address
    mount: /proc/filesystems: No such file or directory
    cp: cannot create directory `/mnt/rwfs/tmp': Read-only file system
    mount: /proc/filesystems: No such file or directory
    cp: cannot create directory `/mnt/rwfs/etc': Read-only file system
    mount: /proc/filesystems: No such file or directory
    cp: cannot create directory `/mnt/rwfs/var': Read-only file system
    mount: /proc/filesystems: No such file or directory
    ln: /etc/mtab: Read-only file system
    Starting syslogd and klogd
    syslogd: Could not connect to socket /dev/log: Read-only file system
    Setting up networking on loopback device:
    rm: unable to remove `/etc/resolv.conf': Read-only file system
    Setting up networking on eth0:
    info, udhcpc (v0.9.9-pre) started
    eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    info, No lease, forking to background.
    Starting the boa webserver:
    [30/Nov/1999:00:00:16 +0000] log.c:53 (open_logs) - unable to open error log: Read-only file system


    BusyBox v1.00 (2007.06.02-15:44+0000) Built-in shell (msh)
    Enter 'help' for a list of built-in commands.

    #



    ==============================================================
    power-on messages from my uclinux image for dBUG (this one works)
    -------------------------------------------------------------------------------


    Power-on Reset

    ColdFire MCF532x on the M5329EVB
    Firmware v4b.1a.1d (Built on Apr 25 2006 13:34:56)
    Copyright 2006 Freescale Semiconductor, Inc.

    Enter 'help' for help.

    dBUG> dn
    Downloading Image 'image.bin' from 192.168.126.223
    TFTP transfer completed
    Read 5344256 bytes (10439 blocks)
    dBUG> go 0x40020000
    Linux version 2.6.17.7-uc1 (hiren@localhost.localdomain) (gcc version 4.1.0 (CodeSourcery Freescale 4.1-14)) #241 Sat Jun 9 13:48:12 EDT 2007


    uClinux/COLDFIRE(m532x)
    COLDFIRE port done by Greg Ungerer, gerg@snapgear.com
    Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
    Built 1 zonelists
    Kernel command line: rootfstype=romfs
    PID hash table entries: 128 (order: 7, 512 bytes)
    Console: colour dummy device 80x25
    Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
    Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
    Memory available: 26968k/32640k RAM, (1698k kernel code, 336k data)
    Mount-cache hash table entries: 512
    NET: Registered protocol family 16
    USB-MCF532x: (HOST module) EHCI device is registered
    USB-MCF532x: (OTG module) EHCI device is registered
    USB-MCF532x: (OTG module) UDC device is registered
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    NET: Registered protocol family 2
    IP route cache hash table entries: 256 (order: -2, 1024 bytes)
    TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    TCP bind hash table entries: 512 (order: -1, 2048 bytes)
    TCP: Hash tables configured (established 1024 bind 512)
    TCP reno registered
    JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
    io scheduler noop registered
    io scheduler cfq registered (default)
    Initializing LR38825 Frame Buffer
    Console: switching to colour frame buffer device 27x22
    fb0: LR38825 FB frame buffer device
    Initializing REMOTE Keyboard driver
    Knob Enter (at 0x400ee6d0) called request_irq without a dev_id!
    Knob (at 0x400ee7d4) called request_irq without a dev_id!
    Key (at 0x400ee208) called request_irq without a dev_id!
    ISA-Philips-Basic-CAN memory mapped CAN Driver 3.0_ColdFire_FlexCAN (c) Jun 9 2007 12:18:14
    ColdFire internal UART serial driver version 1.00
    ttyS0 at 0xfc060000 (irq = 90) is a builtin ColdFire UART
    ttyS1 at 0xfc064000 (irq = 91) is a builtin ColdFire UART
    ttyS2 at 0xfc068000 (irq = 92) is a builtin ColdFire UART
    RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
    loop: loaded (max 8 devices)
    nbd: registered device at major 43
    FEC ENET Version 0.2
    fec: PHY @ 0x1, ID 0x20005c90 -- DP83848
    eth0: ethernet 00:cf:53:29:cf:01
    uclinux[mtd]: RAM probe address=0x4021cdac size=0x342000
    Creating 1 MTD partitions on "RAM":
    0x00000000-0x00342000 : "ROMfs"
    uclinux[mtd]: set ROMfs to be root filesystem
    NAND device: Manufacturer ID: 0x20, Chip ID: 0x73 (ST Micro NAND 16MiB 3,3V 8-bit)
    Scanning device for bad blocks
    Creating 1 MTD partitions on "NAND 16MiB 3,3V 8-bit":
    0x00000000-0x01000000 : "M5329 flash partition 1"
    QSPI device driver installed OK
    ColdFire QSPI (at 0x401114b0) called request_irq without a dev_id!
    MCF532x QSPI driver ok
    usbmon: debugfs is not available
    MCF532x USB EHCI: is found. ID=0x5 Rev=0x41
    ehci ehci.1: EHCI Host Controller
    ehci ehci.1: new USB bus registered, assigned bus number 1
    ehci ehci.1: irq 176, io mem 0xfc0b4000
    ehci ehci.1: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
    usb usb1: Product: EHCI Host Controller
    usb usb1: Manufacturer: uClinux 2.6.17.7-uc1 ehci_hcd
    usb usb1: SerialNumber: ehci.1
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    MCF532x USB EHCI: is found. ID=0x5 Rev=0x41
    ehci ehci.0: EHCI Host Controller
    ehci ehci.0: new USB bus registered, assigned bus number 2
    ehci ehci.0: irq 175, io mem 0xfc0b0000
    ehci ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
    usb usb2: Product: EHCI Host Controller
    usb usb2: Manufacturer: uClinux 2.6.17.7-uc1 ehci_hcd
    usb usb2: SerialNumber: ehci.0
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    ehci-mcf532x: can't find transceiver!
    Initializing USB Mass Storage driver...
    usbcore: registered new driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new driver usbhid
    drivers/usb/input/hid-core.c: v2.6:USB HID core driver
    udc: Freescale MCF532x UDC driver version 27 October 2006 init
    udc: No external transceiver!
    udc: MCF532x USB Device is found. ID=0x5 Rev=0x41
    TCP bic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    VFS: Mounted root (romfs filesystem) readonly.
    Freeing unused kernel memory: 84k freed (0x401e1000 - 0x401f5000)
    Setting the hostname to freescale7.06.02-15:44+0000) multi-call binary
    Mounting filesystems
    Starting syslogd and klogd
    Setting up networking on loopback device:
    Setting up networking on eth0:
    info, udhcpc (v0.9.9-pre) started
    eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending select for 192.168.127.16...
    info, Lease of 192.168.127.16 obtained, lease time 345600
    deleting routers
    route: SIOC[ADD|DEL]RT: No such process
    adding dns 192.168.126.6
    adding dns 192.168.126.5
    Starting the boa webserver:


    BusyBox v1.00 (2007.06.02-15:44+0000) Built-in shell (msh)
    Enter 'help' for a list of built-in commands.

    #
    mcelweep@msoe.edu
    New Member
    New Member
    Posts:


    --
    07 Mar 2008 12:04 PM
    Maybe you have configured it to be a read only file system? I think you can place certain folders in ram and you can also configure it to be an NFS, romfs, or ramfs. Obviously, if you configure it to be a romfs, you can't write files to it, so the bootup isn't able to be create the proc directory and stuff. One thing that might be useful is to put the kernel config file up here so that I can just verify that you have it setup right. I can guarantee you that the problem does not lie in the location because it is obviously being put in the right location and it is executing properly.

    Honestly I don't mount the proc, etc, or mnt folders. I don't really need them, so I just edited them out of the bootup stuff ( I needed to boot as quickly as possible). I do mount a small partition of the nand flash on tmp so I can write some files to it.
    ylyang5@yahoo.com
    New Member
    New Member
    Posts:


    --
    07 Mar 2008 12:16 PM
    Thanks for your reply, pmcelwee13. I will try ramfs.

    One thing I don't understand is everything is working if I use dBUG. When I switch to LogicLoader and changed "Address of the base of kernel code" to 0x400C0000, the problem happens. I didn't change anything else from LTIB.
    ylyang5@yahoo.com
    New Member
    New Member
    Posts:


    --
    07 Mar 2008 12:56 PM
    The following is my configurations: (ltib-m532xevb-20061117/config/platform/m532xevb/linux-2.6.17.7.config.dev)

    I guess some settings might work for dBUG but not for LogicLoader.

    Thanks again for your time.

    =============================================
    #
    # Automatically generated make config: don't edit
    # Linux kernel version: 2.6.17.7-uc1
    #
    CONFIG_M68K=y
    # CONFIG_MMU is not set
    # CONFIG_FPU is not set
    CONFIG_RWSEM_GENERIC_SPINLOCK=y
    # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
    CONFIG_GENERIC_FIND_NEXT_BIT=y
    CONFIG_GENERIC_HWEIGHT=y
    CONFIG_GENERIC_CALIBRATE_DELAY=y
    CONFIG_TIME_LOW_RES=y

    #
    # Code maturity level options
    #
    CONFIG_EXPERIMENTAL=y
    CONFIG_BROKEN_ON_SMP=y
    CONFIG_INIT_ENV_ARG_LIMIT=32

    #
    # General setup
    #
    CONFIG_LOCALVERSION=""
    CONFIG_LOCALVERSION_AUTO=y
    CONFIG_SYSVIPC=y
    # CONFIG_POSIX_MQUEUE is not set
    # CONFIG_BSD_PROCESS_ACCT is not set
    CONFIG_SYSCTL=y
    # CONFIG_AUDIT is not set
    # CONFIG_IKCONFIG is not set
    # CONFIG_RELAY is not set
    CONFIG_INITRAMFS_SOURCE=""
    CONFIG_UID16=y
    # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
    CONFIG_EMBEDDED=y
    # CONFIG_KALLSYMS is not set
    # CONFIG_HOTPLUG is not set
    CONFIG_PRINTK=y
    CONFIG_BUG=y
    CONFIG_ELF_CORE=y
    CONFIG_BASE_FULL=y
    CONFIG_FUTEX=y
    CONFIG_EPOLL=y
    CONFIG_SLAB=y
    CONFIG_TINY_SHMEM=y
    CONFIG_BASE_SMALL=0
    # CONFIG_SLOB is not set

    #
    # Loadable module support
    #
    CONFIG_MODULES=y
    CONFIG_MODULE_UNLOAD=y
    # CONFIG_MODULE_FORCE_UNLOAD is not set
    # CONFIG_MODVERSIONS is not set
    # CONFIG_MODULE_SRCVERSION_ALL is not set
    # CONFIG_KMOD is not set

    #
    # Block layer
    #
    # CONFIG_BLK_DEV_IO_TRACE is not set

    #
    # IO Schedulers
    #
    CONFIG_IOSCHED_NOOP=y
    # CONFIG_IOSCHED_AS is not set
    # CONFIG_IOSCHED_DEADLINE is not set
    CONFIG_IOSCHED_CFQ=y
    # CONFIG_DEFAULT_AS is not set
    # CONFIG_DEFAULT_DEADLINE is not set
    CONFIG_DEFAULT_CFQ=y
    # CONFIG_DEFAULT_NOOP is not set
    CONFIG_DEFAULT_IOSCHED="cfq"

    #
    # Processor type and features
    #
    # CONFIG_M68328 is not set
    # CONFIG_M68EZ328 is not set
    # CONFIG_M68VZ328 is not set
    # CONFIG_M68360 is not set
    # CONFIG_M5206 is not set
    # CONFIG_M5206e is not set
    # CONFIG_M520x is not set
    # CONFIG_M523x is not set
    # CONFIG_M5249 is not set
    # CONFIG_M5253 is not set
    # CONFIG_M5271 is not set
    # CONFIG_M5272 is not set
    # CONFIG_M5275 is not set
    # CONFIG_M528x is not set
    # CONFIG_M5307 is not set
    CONFIG_M532x=y
    # CONFIG_M5407 is not set
    CONFIG_COLDFIRE=y
    CONFIG_CLOCK_SET=y
    CONFIG_CLOCK_FREQ=240000000
    CONFIG_CLOCK_DIV=3

    #
    # Platform
    #
    CONFIG_M5329EVB=y
    # CONFIG_COBRA5329 is not set
    CONFIG_FREESCALE=y
    # CONFIG_LARGE_ALLOCS is not set
    CONFIG_4KSTACKS=y

    #
    # RAM configuration
    #
    CONFIG_RAMBASE=0x40000000
    CONFIG_RAMSIZE=0x2000000
    CONFIG_VECTORBASE=0x40000000
    CONFIG_KERNELBASE=0x400C0000
    # CONFIG_RAMAUTOBIT is not set
    # CONFIG_RAM8BIT is not set
    CONFIG_RAM16BIT=y
    # CONFIG_RAM32BIT is not set

    #
    # ROM configuration
    #
    # CONFIG_ROM is not set
    CONFIG_RAMKERNEL=y
    # CONFIG_ROMKERNEL is not set
    CONFIG_CF_SHARED_INTS=y
    CONFIG_AFLAGS_KERNEL="-Wa,-gdwarf2 "
    CONFIG_SELECT_MEMORY_MODEL=y
    CONFIG_FLATMEM_MANUAL=y
    # CONFIG_DISCONTIGMEM_MANUAL is not set
    # CONFIG_SPARSEMEM_MANUAL is not set
    CONFIG_FLATMEM=y
    CONFIG_FLAT_NODE_MEM_MAP=y
    # CONFIG_SPARSEMEM_STATIC is not set
    CONFIG_SPLIT_PTLOCK_CPUS=4
    CONFIG_ISA_DMA_API=y

    #
    # Bus options (PCI, PCMCIA, EISA, MCA, ISA)
    #
    # CONFIG_PCI is not set

    #
    # PCCARD (PCMCIA/CardBus) support
    #
    # CONFIG_PCCARD is not set

    #
    # PCI Hotplug Support
    #

    #
    # Executable file formats
    #
    CONFIG_BINFMT_FLAT=y
    # CONFIG_BINFMT_ZFLAT is not set
    # CONFIG_BINFMT_SHARED_FLAT is not set
    # CONFIG_BINFMT_AOUT is not set
    # CONFIG_BINFMT_MISC is not set

    #
    # Power management options
    #
    # CONFIG_PM is not set

    #
    # Networking
    #
    CONFIG_NET=y

    #
    # Networking options
    #
    # CONFIG_NETDEBUG is not set
    CONFIG_PACKET=y
    # CONFIG_PACKET_MMAP is not set
    CONFIG_UNIX=y
    # CONFIG_NET_KEY is not set
    CONFIG_INET=y
    # CONFIG_IP_MULTICAST is not set
    # CONFIG_IP_ADVANCED_ROUTER is not set
    CONFIG_IP_FIB_HASH=y
    CONFIG_IP_PNP=y
    CONFIG_IP_PNP_DHCP=y
    # CONFIG_IP_PNP_BOOTP is not set
    # CONFIG_IP_PNP_RARP is not set
    # CONFIG_NET_IPIP is not set
    # CONFIG_NET_IPGRE is not set
    # CONFIG_ARPD is not set
    # CONFIG_SYN_COOKIES is not set
    # CONFIG_INET_AH is not set
    # CONFIG_INET_ESP is not set
    # CONFIG_INET_IPCOMP is not set
    # CONFIG_INET_XFRM_TUNNEL is not set
    # CONFIG_INET_TUNNEL is not set
    CONFIG_INET_DIAG=y
    CONFIG_INET_TCP_DIAG=y
    # CONFIG_TCP_CONG_ADVANCED is not set
    CONFIG_TCP_CONG_BIC=y
    # CONFIG_IPV6 is not set
    # CONFIG_INET6_XFRM_TUNNEL is not set
    # CONFIG_INET6_TUNNEL is not set
    # CONFIG_NETFILTER is not set

    #
    # DCCP Configuration (EXPERIMENTAL)
    #
    # CONFIG_IP_DCCP is not set

    #
    # SCTP Configuration (EXPERIMENTAL)
    #
    # CONFIG_IP_SCTP is not set

    #
    # TIPC Configuration (EXPERIMENTAL)
    #
    # CONFIG_TIPC is not set
    # CONFIG_ATM is not set
    # CONFIG_BRIDGE is not set
    # CONFIG_VLAN_8021Q is not set
    # CONFIG_DECNET is not set
    # CONFIG_LLC2 is not set
    # CONFIG_IPX is not set
    # CONFIG_ATALK is not set
    # CONFIG_X25 is not set
    # CONFIG_LAPB is not set
    # CONFIG_NET_DIVERT is not set
    # CONFIG_ECONET is not set
    # CONFIG_WAN_ROUTER is not set

    #
    # QoS and/or fair queueing
    #
    # CONFIG_NET_SCHED is not set

    #
    # Network testing
    #
    # CONFIG_NET_PKTGEN is not set
    # CONFIG_HAMRADIO is not set
    # CONFIG_IRDA is not set
    # CONFIG_BT is not set
    # CONFIG_IEEE80211 is not set

    #
    # Device Drivers
    #

    #
    # Generic Driver Options
    #
    CONFIG_STANDALONE=y
    CONFIG_PREVENT_FIRMWARE_BUILD=y
    # CONFIG_FW_LOADER is not set

    #
    # Connector - unified userspace <-> kernelspace linker
    #
    # CONFIG_CONNECTOR is not set

    #
    # Memory Technology Devices (MTD)
    #
    CONFIG_MTD=y
    # CONFIG_MTD_DEBUG is not set
    # CONFIG_MTD_CONCAT is not set
    CONFIG_MTD_PARTITIONS=y
    # CONFIG_MTD_REDBOOT_PARTS is not set
    # CONFIG_MTD_CMDLINE_PARTS is not set

    #
    # User Modules And Translation Layers
    #
    CONFIG_MTD_CHAR=y
    CONFIG_MTD_BLOCK=y
    # CONFIG_FTL is not set
    # CONFIG_NFTL is not set
    # CONFIG_INFTL is not set
    # CONFIG_RFD_FTL is not set

    #
    # RAM/ROM/Flash chip drivers
    #
    # CONFIG_MTD_CFI is not set
    # CONFIG_MTD_JEDECPROBE is not set
    CONFIG_MTD_MAP_BANK_WIDTH_1=y
    CONFIG_MTD_MAP_BANK_WIDTH_2=y
    CONFIG_MTD_MAP_BANK_WIDTH_4=y
    # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
    # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
    # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
    CONFIG_MTD_CFI_I1=y
    CONFIG_MTD_CFI_I2=y
    # CONFIG_MTD_CFI_I4 is not set
    # CONFIG_MTD_CFI_I8 is not set
    CONFIG_MTD_RAM=y
    # CONFIG_MTD_ROM is not set
    # CONFIG_MTD_ABSENT is not set
    # CONFIG_MTD_OBSOLETE_CHIPS is not set

    #
    # Mapping drivers for chip access
    #
    # CONFIG_MTD_COMPLEX_MAPPINGS is not set
    CONFIG_MTD_UCLINUX=y
    # CONFIG_MTD_M520x is not set
    # CONFIG_MTD_PLATRAM is not set
    # CONFIG_MTD_M5253 is not set

    #
    # Self-contained MTD device drivers
    #
    # CONFIG_MTD_DATAFLASH is not set
    # CONFIG_MTD_M25P80 is not set
    # CONFIG_MTD_SLRAM is not set
    # CONFIG_MTD_PHRAM is not set
    # CONFIG_MTD_MTDRAM is not set
    # CONFIG_MTD_BLOCK2MTD is not set

    #
    # Disk-On-Chip Device Drivers
    #
    # CONFIG_MTD_DOC2000 is not set
    # CONFIG_MTD_DOC2001 is not set
    # CONFIG_MTD_DOC2001PLUS is not set

    #
    # NAND Flash Device Drivers
    #
    CONFIG_MTD_NAND=y
    # CONFIG_MTD_NAND_VERIFY_WRITE is not set
    CONFIG_MTD_NAND_M5329=y
    CONFIG_MTD_NAND_IDS=y
    # CONFIG_MTD_NAND_DISKONCHIP is not set
    # CONFIG_MTD_NAND_NANDSIM is not set

    #
    # OneNAND Flash Device Drivers
    #
    # CONFIG_MTD_ONENAND is not set

    #
    # Parallel port support
    #
    # CONFIG_PARPORT is not set

    #
    # Plug and Play support
    #

    #
    # Block devices
    #
    # CONFIG_BLK_DEV_COW_COMMON is not set
    CONFIG_BLK_DEV_LOOP=y
    # CONFIG_BLK_DEV_CRYPTOLOOP is not set
    CONFIG_BLK_DEV_NBD=y
    # CONFIG_BLK_DEV_UB is not set
    CONFIG_BLK_DEV_RAM=y
    CONFIG_BLK_DEV_RAM_COUNT=16
    CONFIG_BLK_DEV_RAM_SIZE=4096
    # CONFIG_BLK_DEV_INITRD is not set
    # CONFIG_CDROM_PKTCDVD is not set
    # CONFIG_ATA_OVER_ETH is not set

    #
    # ATA/ATAPI/MFM/RLL support
    #
    # CONFIG_IDE is not set

    #
    # SCSI device support
    #
    # CONFIG_RAID_ATTRS is not set
    CONFIG_SCSI=y
    # CONFIG_SCSI_PROC_FS is not set

    #
    # SCSI support type (disk, tape, CD-ROM)
    #
    CONFIG_BLK_DEV_SD=y
    # CONFIG_CHR_DEV_ST is not set
    # CONFIG_CHR_DEV_OSST is not set
    # CONFIG_BLK_DEV_SR is not set
    CONFIG_CHR_DEV_SG=y
    # CONFIG_CHR_DEV_SCH is not set

    #
    # Some SCSI devices (e.g. CD jukebox) support multiple LUNs
    #
    CONFIG_SCSI_MULTI_LUN=y
    # CONFIG_SCSI_CONSTANTS is not set
    # CONFIG_SCSI_LOGGING is not set

    #
    # SCSI Transport Attributes
    #
    # CONFIG_SCSI_SPI_ATTRS is not set
    # CONFIG_SCSI_FC_ATTRS is not set
    # CONFIG_SCSI_ISCSI_ATTRS is not set
    # CONFIG_SCSI_SAS_ATTRS is not set

    #
    # SCSI low-level drivers
    #
    # CONFIG_ISCSI_TCP is not set
    # CONFIG_SCSI_SATA is not set
    # CONFIG_SCSI_DEBUG is not set

    #
    # Multi-device support (RAID and LVM)
    #
    # CONFIG_MD is not set

    #
    # Fusion MPT device support
    #
    # CONFIG_FUSION is not set

    #
    # IEEE 1394 (FireWire) support
    #

    #
    # I2O device support
    #

    #
    # Network device support
    #
    CONFIG_NETDEVICES=y
    # CONFIG_DUMMY is not set
    # CONFIG_BONDING is not set
    # CONFIG_EQUALIZER is not set
    # CONFIG_TUN is not set

    #
    # PHY device support
    #
    # CONFIG_PHYLIB is not set

    #
    # Ethernet (10 or 100Mbit)
    #
    CONFIG_NET_ETHERNET=y
    # CONFIG_MII is not set
    # CONFIG_NET_VENDOR_SMC is not set
    # CONFIG_NE2000 is not set
    # CONFIG_NET_PCI is not set
    CONFIG_FEC=y
    # CONFIG_FEC2 is not set

    #
    # Ethernet (1000 Mbit)
    #

    #
    # Ethernet (10000 Mbit)
    #

    #
    # Token Ring devices
    #

    #
    # Wireless LAN (non-hamradio)
    #
    # CONFIG_NET_RADIO is not set

    #
    # Wan interfaces
    #
    # CONFIG_WAN is not set
    # CONFIG_PPP is not set
    # CONFIG_SLIP is not set
    # CONFIG_SHAPER is not set
    # CONFIG_NETCONSOLE is not set
    # CONFIG_NETPOLL is not set
    # CONFIG_NET_POLL_CONTROLLER is not set

    #
    # ISDN subsystem
    #
    # CONFIG_ISDN is not set

    #
    # Telephony Support
    #
    # CONFIG_PHONE is not set

    #
    # Input device support
    #
    CONFIG_INPUT=y

    #
    # Userland interfaces
    #
    # CONFIG_INPUT_MOUSEDEV is not set
    # CONFIG_INPUT_JOYDEV is not set
    # CONFIG_INPUT_TSDEV is not set
    # CONFIG_INPUT_EVDEV is not set
    # CONFIG_INPUT_EVBUG is not set

    #
    # Input Device Drivers
    #
    # CONFIG_INPUT_KEYBOARD is not set
    # CONFIG_INPUT_MOUSE is not set
    # CONFIG_INPUT_JOYSTICK is not set
    # CONFIG_INPUT_TOUCHSCREEN is not set
    # CONFIG_INPUT_MISC is not set

    #
    # Hardware I/O ports
    #
    # CONFIG_SERIO is not set
    # CONFIG_GAMEPORT is not set

    #
    # Character devices
    #
    CONFIG_VT=y
    # CONFIG_VT_CONSOLE is not set
    CONFIG_HW_CONSOLE=y
    # CONFIG_SERIAL_NONSTANDARD is not set

    #
    # Serial drivers
    #
    # CONFIG_SERIAL_8250 is not set

    #
    # Non-8250 serial port support
    #
    CONFIG_SERIAL_COLDFIRE=y
    # CONFIG_UNIX98_PTYS is not set
    CONFIG_LEGACY_PTYS=y
    CONFIG_LEGACY_PTY_COUNT=256

    #
    # IPMI
    #
    # CONFIG_IPMI_HANDLER is not set

    #
    # Watchdog Cards
    #
    # CONFIG_WATCHDOG is not set
    # CONFIG_GEN_RTC is not set
    # CONFIG_DTLK is not set
    # CONFIG_R3964 is not set

    #
    # Ftape, the floppy tape device driver
    #
    # CONFIG_RAW_DRIVER is not set

    #
    # TPM devices
    #
    # CONFIG_TCG_TPM is not set
    # CONFIG_TELCLOCK is not set
    CONFIG_FLEXCAN=y
    CONFIG_FLEXCAN_CAN0=y
    # CONFIG_FLEXCAN_CAN1 is not set
    CONFIG_NUCOMM_KBD_DRIVERS=y
    CONFIG_KBD_RMT_DRIVER=y

    #
    # I2C support
    #
    # CONFIG_I2C is not set

    #
    # SPI support
    #
    CONFIG_SPI=y
    CONFIG_SPI_MASTER=y

    #
    # SPI Master Controller Drivers
    #
    # CONFIG_SPI_BITBANG is not set
    # CONFIG_SPI_COLDFIRE is not set
    CONFIG_MCFQSPI=y

    #
    # SPI Protocol Masters
    #

    #
    # Dallas's 1-wire bus
    #
    # CONFIG_W1 is not set

    #
    # Hardware Monitoring support
    #
    # CONFIG_HWMON is not set
    # CONFIG_HWMON_VID is not set

    #
    # Misc devices
    #

    #
    # Multimedia devices
    #
    # CONFIG_VIDEO_DEV is not set
    CONFIG_VIDEO_V4L2=y

    #
    # Digital Video Broadcasting Devices
    #
    # CONFIG_DVB is not set
    # CONFIG_USB_DABUSB is not set

    #
    # Graphics support
    #
    CONFIG_FB=y
    CONFIG_FB_CFB_FILLRECT=y
    CONFIG_FB_CFB_COPYAREA=y
    CONFIG_FB_CFB_IMAGEBLIT=y
    # CONFIG_FB_MACMODES is not set
    CONFIG_FB_FIRMWARE_EDID=y
    # CONFIG_FB_MODE_HELPERS is not set
    # CONFIG_FB_TILEBLITTING is not set
    # CONFIG_FB_S1D13XXX is not set
    # CONFIG_FB_M532x is not set
    CONFIG_FB_LR38825=y
    # CONFIG_FB_VIRTUAL is not set

    #
    # Console display driver support
    #
    CONFIG_DUMMY_CONSOLE=y
    CONFIG_FRAMEBUFFER_CONSOLE=y
    # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
    CONFIG_FONTS=y
    CONFIG_FONT_8x8=y
    # CONFIG_FONT_8x16 is not set
    # CONFIG_FONT_6x11 is not set
    # CONFIG_FONT_7x14 is not set
    # CONFIG_FONT_PEARL_8x8 is not set
    # CONFIG_FONT_ACORN_8x8 is not set
    # CONFIG_FONT_MINI_4x6 is not set
    # CONFIG_FONT_SUN8x16 is not set
    # CONFIG_FONT_SUN12x22 is not set
    # CONFIG_FONT_10x18 is not set

    #
    # Logo configuration
    #
    CONFIG_LOGO=y
    CONFIG_LOGO_LINUX_MONO=y
    CONFIG_LOGO_LINUX_VGA16=y
    CONFIG_LOGO_LINUX_CLUT224=y
    # CONFIG_BACKLIGHT_LCD_SUPPORT is not set

    #
    # Sound
    #
    # CONFIG_SOUND is not set

    #
    # USB support
    #
    CONFIG_USB_ARCH_HAS_HCD=y
    # CONFIG_USB_ARCH_HAS_OHCI is not set
    CONFIG_USB_ARCH_HAS_EHCI=y
    CONFIG_USB=y
    CONFIG_USB_DEBUG=y

    #
    # Miscellaneous USB options
    #
    CONFIG_USB_DEVICEFS=y
    # CONFIG_USB_BANDWIDTH is not set
    # CONFIG_USB_DYNAMIC_MINORS is not set
    # CONFIG_USB_OTG is not set

    #
    # USB Host Controller Drivers
    #
    CONFIG_USB_EHCI_HCD=y
    # CONFIG_USB_EHCI_SPLIT_ISO is not set
    CONFIG_USB_EHCI_ROOT_HUB_TT=y
    CONFIG_USB_EHCI_BIG_ENDIAN=y
    # CONFIG_USB_ISP116X_HCD is not set
    # CONFIG_USB_SL811_HCD is not set

    #
    # USB Device Class drivers
    #
    # CONFIG_USB_ACM is not set
    # CONFIG_USB_PRINTER is not set

    #
    # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
    #

    #
    # may also be needed; see USB_STORAGE Help for more information
    #
    CONFIG_USB_STORAGE=y
    CONFIG_USB_STORAGE_DEBUG=y
    # CONFIG_USB_STORAGE_DATAFAB is not set
    # CONFIG_USB_STORAGE_FREECOM is not set
    # CONFIG_USB_STORAGE_DPCM is not set
    # CONFIG_USB_STORAGE_USBAT is not set
    # CONFIG_USB_STORAGE_SDDR09 is not set
    # CONFIG_USB_STORAGE_SDDR55 is not set
    # CONFIG_USB_STORAGE_JUMPSHOT is not set
    # CONFIG_USB_STORAGE_ALAUDA is not set
    # CONFIG_USB_LIBUSUAL is not set

    #
    # USB Input Devices
    #
    CONFIG_USB_HID=y
    CONFIG_USB_HIDINPUT=y
    # CONFIG_USB_HIDINPUT_POWERBOOK is not set
    # CONFIG_HID_FF is not set
    # CONFIG_USB_HIDDEV is not set
    # CONFIG_USB_AIPTEK is not set
    # CONFIG_USB_WACOM is not set
    # CONFIG_USB_ACECAD is not set
    # CONFIG_USB_KBTAB is not set
    # CONFIG_USB_POWERMATE is not set
    # CONFIG_USB_TOUCHSCREEN is not set
    # CONFIG_USB_YEALINK is not set
    # CONFIG_USB_XPAD is not set
    # CONFIG_USB_ATI_REMOTE is not set
    # CONFIG_USB_ATI_REMOTE2 is not set
    # CONFIG_USB_KEYSPAN_REMOTE is not set
    # CONFIG_USB_APPLETOUCH is not set

    #
    # USB Imaging devices
    #
    # CONFIG_USB_MDC800 is not set
    # CONFIG_USB_MICROTEK is not set

    #
    # USB Network Adapters
    #
    # CONFIG_USB_CATC is not set
    # CONFIG_USB_KAWETH is not set
    # CONFIG_USB_PEGASUS is not set
    # CONFIG_USB_RTL8150 is not set
    # CONFIG_USB_USBNET is not set
    CONFIG_USB_MON=y

    #
    # USB port drivers
    #

    #
    # USB Serial Converter support
    #
    # CONFIG_USB_SERIAL is not set

    #
    # USB Miscellaneous drivers
    #
    # CONFIG_USB_EMI62 is not set
    # CONFIG_USB_EMI26 is not set
    # CONFIG_USB_AUERSWALD is not set
    # CONFIG_USB_RIO500 is not set
    # CONFIG_USB_LEGOTOWER is not set
    # CONFIG_USB_LCD is not set
    # CONFIG_USB_LED is not set
    # CONFIG_USB_CYTHERM is not set
    # CONFIG_USB_PHIDGETKIT is not set
    # CONFIG_USB_PHIDGETSERVO is not set
    # CONFIG_USB_IDMOUSE is not set
    # CONFIG_USB_SISUSBVGA is not set
    # CONFIG_USB_LD is not set
    # CONFIG_USB_TEST is not set

    #
    # USB DSL modem support
    #

    #
    # USB Gadget Support
    #
    CONFIG_USB_GADGET=y
    # CONFIG_USB_GADGET_DEBUG_FILES is not set
    CONFIG_USB_GADGET_SELECTED=y
    # CONFIG_USB_GADGET_NET2280 is not set
    # CONFIG_USB_GADGET_PXA2XX is not set
    # CONFIG_USB_GADGET_GOKU is not set
    # CONFIG_USB_GADGET_LH7A40X is not set
    CONFIG_USB_GADGET_MCF532x=y
    CONFIG_USB_MCF532x=y
    # CONFIG_USB_GADGET_OMAP is not set
    # CONFIG_USB_GADGET_AT91 is not set
    # CONFIG_USB_GADGET_DUMMY_HCD is not set
    # CONFIG_USB_GADGET_DUALSPEED is not set
    # CONFIG_USB_ZERO is not set
    # CONFIG_USB_ETH is not set
    # CONFIG_USB_GADGETFS is not set
    CONFIG_USB_FILE_STORAGE=m
    # CONFIG_USB_FILE_STORAGE_TEST is not set
    # CONFIG_USB_G_SERIAL is not set

    #
    # MMC/SD Card support
    #
    # CONFIG_MMC is not set

    #
    # LED devices
    #
    # CONFIG_NEW_LEDS is not set

    #
    # LED drivers
    #

    #
    # LED Triggers
    #

    #
    # InfiniBand support
    #

    #
    # EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
    #

    #
    # Real Time Clock
    #
    # CONFIG_RTC_CLASS is not set

    #
    # File systems
    #
    CONFIG_EXT2_FS=y
    # CONFIG_EXT2_FS_XATTR is not set
    # CONFIG_EXT2_FS_XIP is not set
    # CONFIG_EXT3_FS is not set
    # CONFIG_REISERFS_FS is not set
    # CONFIG_JFS_FS is not set
    # CONFIG_FS_POSIX_ACL is not set
    # CONFIG_XFS_FS is not set
    # CONFIG_OCFS2_FS is not set
    # CONFIG_MINIX_FS is not set
    CONFIG_ROMFS_FS=y
    CONFIG_INOTIFY=y
    # CONFIG_QUOTA is not set
    CONFIG_DNOTIFY=y
    # CONFIG_AUTOFS_FS is not set
    # CONFIG_AUTOFS4_FS is not set
    # CONFIG_FUSE_FS is not set

    #
    # CD-ROM/DVD Filesystems
    #
    # CONFIG_ISO9660_FS is not set
    # CONFIG_UDF_FS is not set

    #
    # DOS/FAT/NT Filesystems
    #
    CONFIG_FAT_FS=y
    CONFIG_MSDOS_FS=y
    CONFIG_VFAT_FS=y
    CONFIG_FAT_DEFAULT_CODEPAGE=437
    CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
    # CONFIG_NTFS_FS is not set

    #
    # Pseudo filesystems
    #
    CONFIG_PROC_FS=y
    CONFIG_SYSFS=y
    CONFIG_TMPFS=y
    # CONFIG_HUGETLB_PAGE is not set
    CONFIG_RAMFS=y
    # CONFIG_CONFIGFS_FS is not set

    #
    # Miscellaneous filesystems
    #
    # CONFIG_ADFS_FS is not set
    # CONFIG_AFFS_FS is not set
    # CONFIG_HFS_FS is not set
    # CONFIG_HFSPLUS_FS is not set
    # CONFIG_BEFS_FS is not set
    # CONFIG_BFS_FS is not set
    # CONFIG_EFS_FS is not set
    # CONFIG_JFFS_FS is not set
    CONFIG_JFFS2_FS=y
    CONFIG_JFFS2_FS_DEBUG=0
    CONFIG_JFFS2_FS_WRITEBUFFER=y
    # CONFIG_JFFS2_SUMMARY is not set
    # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
    CONFIG_JFFS2_ZLIB=y
    CONFIG_JFFS2_RTIME=y
    # CONFIG_JFFS2_RUBIN is not set
    # CONFIG_CRAMFS is not set
    # CONFIG_VXFS_FS is not set
    # CONFIG_HPFS_FS is not set
    # CONFIG_QNX4FS_FS is not set
    # CONFIG_SYSV_FS is not set
    # CONFIG_UFS_FS is not set

    #
    # Network File Systems
    #
    CONFIG_NFS_FS=y
    CONFIG_NFS_V3=y
    # CONFIG_NFS_V3_ACL is not set
    # CONFIG_NFS_V4 is not set
    # CONFIG_NFS_DIRECTIO is not set
    # CONFIG_NFSD is not set
    CONFIG_ROOT_NFS=y
    CONFIG_LOCKD=y
    CONFIG_LOCKD_V4=y
    CONFIG_NFS_COMMON=y
    CONFIG_SUNRPC=y
    # CONFIG_RPCSEC_GSS_KRB5 is not set
    # CONFIG_RPCSEC_GSS_SPKM3 is not set
    # CONFIG_SMB_FS is not set
    # CONFIG_CIFS is not set
    # CONFIG_NCP_FS is not set
    # CONFIG_CODA_FS is not set
    # CONFIG_AFS_FS is not set
    # CONFIG_9P_FS is not set

    #
    # Partition Types
    #
    CONFIG_PARTITION_ADVANCED=y
    # CONFIG_ACORN_PARTITION is not set
    # CONFIG_OSF_PARTITION is not set
    # CONFIG_AMIGA_PARTITION is not set
    # CONFIG_ATARI_PARTITION is not set
    # CONFIG_MAC_PARTITION is not set
    CONFIG_MSDOS_PARTITION=y
    # CONFIG_BSD_DISKLABEL is not set
    # CONFIG_MINIX_SUBPARTITION is not set
    # CONFIG_SOLARIS_X86_PARTITION is not set
    # CONFIG_UNIXWARE_DISKLABEL is not set
    # CONFIG_LDM_PARTITION is not set
    # CONFIG_SGI_PARTITION is not set
    # CONFIG_ULTRIX_PARTITION is not set
    # CONFIG_SUN_PARTITION is not set
    # CONFIG_KARMA_PARTITION is not set
    # CONFIG_EFI_PARTITION is not set

    #
    # Native Language Support
    #
    CONFIG_NLS=y
    CONFIG_NLS_DEFAULT="iso8859-1"
    CONFIG_NLS_CODEPAGE_437=y
    # CONFIG_NLS_CODEPAGE_737 is not set
    # CONFIG_NLS_CODEPAGE_775 is not set
    # CONFIG_NLS_CODEPAGE_850 is not set
    # CONFIG_NLS_CODEPAGE_852 is not set
    # CONFIG_NLS_CODEPAGE_855 is not set
    # CONFIG_NLS_CODEPAGE_857 is not set
    # CONFIG_NLS_CODEPAGE_860 is not set
    # CONFIG_NLS_CODEPAGE_861 is not set
    # CONFIG_NLS_CODEPAGE_862 is not set
    # CONFIG_NLS_CODEPAGE_863 is not set
    # CONFIG_NLS_CODEPAGE_864 is not set
    # CONFIG_NLS_CODEPAGE_865 is not set
    # CONFIG_NLS_CODEPAGE_866 is not set
    # CONFIG_NLS_CODEPAGE_869 is not set
    # CONFIG_NLS_CODEPAGE_936 is not set
    # CONFIG_NLS_CODEPAGE_950 is not set
    # CONFIG_NLS_CODEPAGE_932 is not set
    # CONFIG_NLS_CODEPAGE_949 is not set
    # CONFIG_NLS_CODEPAGE_874 is not set
    # CONFIG_NLS_ISO8859_8 is not set
    # CONFIG_NLS_CODEPAGE_1250 is not set
    # CONFIG_NLS_CODEPAGE_1251 is not set
    # CONFIG_NLS_ASCII is not set
    # CONFIG_NLS_ISO8859_1 is not set
    # CONFIG_NLS_ISO8859_2 is not set
    # CONFIG_NLS_ISO8859_3 is not set
    # CONFIG_NLS_ISO8859_4 is not set
    # CONFIG_NLS_ISO8859_5 is not set
    # CONFIG_NLS_ISO8859_6 is not set
    # CONFIG_NLS_ISO8859_7 is not set
    # CONFIG_NLS_ISO8859_9 is not set
    # CONFIG_NLS_ISO8859_13 is not set
    # CONFIG_NLS_ISO8859_14 is not set
    # CONFIG_NLS_ISO8859_15 is not set
    # CONFIG_NLS_KOI8_R is not set
    # CONFIG_NLS_KOI8_U is not set
    # CONFIG_NLS_UTF8 is not set

    #
    # Kernel hacking
    #
    # CONFIG_PRINTK_TIME is not set
    # CONFIG_MAGIC_SYSRQ is not set
    # CONFIG_DEBUG_KERNEL is not set
    CONFIG_LOG_BUF_SHIFT=14
    # CONFIG_DEBUG_BUGVERBOSE is not set
    # CONFIG_DEBUG_FS is not set
    # CONFIG_UNWIND_INFO is not set
    CONFIG_FULLDEBUG=y
    # CONFIG_HIGHPROFILE is not set
    # CONFIG_BOOTPARAM is not set
    # CONFIG_DUMPTOFLASH is not set
    # CONFIG_NO_KERNEL_MSG is not set
    # CONFIG_BDM_DISABLE is not set

    #
    # CodeTEST Setup
    #
    # CONFIG_CODETEST is not set

    #
    # Security options
    #
    # CONFIG_KEYS is not set
    # CONFIG_SECURITY is not set

    #
    # Cryptographic options
    #
    # CONFIG_CRYPTO is not set

    #
    # Hardware crypto devices
    #

    #
    # Library routines
    #
    # CONFIG_CRC_CCITT is not set
    # CONFIG_CRC16 is not set
    CONFIG_CRC32=y
    # CONFIG_LIBCRC32C is not set
    CONFIG_ZLIB_INFLATE=y
    CONFIG_ZLIB_DEFLATE=y
    mcelweep@msoe.edu
    New Member
    New Member
    Posts:


    --
    10 Mar 2008 12:56 PM
    So is the situation resolved? Does it work when you have a RAMfs?

    As for the whole, it works from dbug and not from lolo thing, I guess the best explanation I could come up with is that dbug and lolo leave the hardware in a different state ( maybe some registers and stuff that control memory access are set differently ). I will have to defer to the Logic people and ask them if they noticed a dbug to lolo transition issue. I do know that lolo runs a stripped down version of the linux kernel itself, whereas I think dbug is a bare metal implementation.

    It is probably better to setup your configuration explicitly anyway instead of depending on Dbug or lolo to do it for you.
    ylyang5@yahoo.com
    New Member
    New Member
    Posts:


    --
    11 Mar 2008 08:00 AM
    Problem is NOT resolved. It still exists.

    I am pretty new to uClinux. I am trying to figure out how to set up RAMfs.

    pmcelwee13, is it possible you can send your configurations to my email address (ayang@nucomm.com) or post here so that I can check the difference between our configurations?

    Logic Staff:

    Do you guys have any idea why this problem happens (my configurations work for dBug, not LogicLoader)?
    mcelweep@msoe.edu
    New Member
    New Member
    Posts:


    --
    11 Mar 2008 12:29 PM
    Well your configuration for the kernel seems fine. I took out all the USB/Networking stuff cause I don't use it. Also I have included my ltib configuration (which is where you specify the filesystem you want to use. That is where you would configure it to use RAMFS, ROMFS, NFS, CRAMFS, or JFFS2. Here are my files:

    First the LTIB


    #
    # Automatically generated make config: don't edit
    #
    CONFIG_CONFIG_TITLE="LTIB: Host support packages"
    CONFIG_PLATFORM_COMMENT="Host support packages"
    CONFIG_VENDOR="Freescale"
    CONFIG_PLATFORM="host"
    CONFIG_GNUTARCH="buildarch"
    CONFIG_LINTARCH="buildarch"
    CONFIG_CFGHOST="buildarch"
    CONFIG_ENDIAN="little"

    #
    # Choose the target C library type
    #
    CONFIG_GLIBC=y
    # CONFIG_UCLIBC is not set

    #
    # Choose your toolchain
    #
    CONFIG_TOOLCHAIN_CUSTOM=y
    CONFIG_TOOLCHAIN_PATH="/usr"
    CONFIG_TOOLCHAIN_PREFIX=""
    CONFIG_TOOLCHAIN_CFLAGS=""

    #
    # Choose your Kernel
    #
    CONFIG_KERNEL_NONE=y
    CONFIG_DISTRO="dist/lfs-5.1"

    #
    # Package selection
    #

    #
    # Package list
    #
    CONFIG_PKG_AUTOCONF=y
    # CONFIG_PKG_AUTOMAKE is not set
    # CONFIG_LIBC_WANTED is not set
    # CONFIG_PKG_BASH is not set
    # CONFIG_PKG_BINUTILS is not set
    CONFIG_PKG_BISON=y
    # CONFIG_PKG_BOA is not set
    # CONFIG_PKG_BUSYBOX is not set
    # CONFIG_PKG_BZIP2 is not set
    # CONFIG_PKG_CAN4LINUX is not set
    # CONFIG_PKG_CPIO is not set
    # CONFIG_PKG_CRACKLIB is not set
    CONFIG_PKG_CRAMFS=y
    # CONFIG_PKG_COREUTILS is not set
    # CONFIG_PKG_DB1 is not set
    # CONFIG_PKG_DEV is not set
    # CONFIG_PKG_DIFFUTILS is not set
    CONFIG_PKG_DISTCC=y
    CONFIG_PKG_DTC=y
    # CONFIG_PKG_DROPBEAR is not set
    # CONFIG_PKG_E2FSPROGS is not set
    # CONFIG_PKG_ED is not set
    # CONFIG_PKG_ETHTOOL is not set
    # CONFIG_PKG_EXPAT is not set
    # CONFIG_PKG_FAKEROOT is not set
    CONFIG_PKG_FAKE_PROVIDES=y
    # CONFIG_PKG_FILE is not set
    # CONFIG_PKG_FINDUTILS is not set
    CONFIG_PKG_FLEX=y
    # CONFIG_PKG_FREETYPE is not set
    # CONFIG_PKG_GAWK is not set
    # CONFIG_PKG_GCC is not set
    # CONFIG_PKG_GDB is not set
    CONFIG_PKG_GENEXT2FS=y
    CONFIG_PKG_GENROMFS=y
    # CONFIG_PKG_GETTEXT is not set
    # CONFIG_PKG_GREP is not set
    # CONFIG_PKG_GROFF is not set
    # CONFIG_PKG_GRUB is not set
    # CONFIG_PKG_HDPARM is not set
    # CONFIG_PKG_HELLOWORLD is not set
    # CONFIG_PKG_HESIOD is not set
    # CONFIG_PKG_HOTPLUG is not set
    # CONFIG_PKG_I2C_TOOLS is not set
    # CONFIG_PKG_INETUTILS is not set
    # CONFIG_PKG_IPSEC_TOOLS is not set
    # CONFIG_PKG_IPSECADM is not set
    # CONFIG_PKG_IPUTILS is not set
    # CONFIG_PKG_IRATTACH is not set
    # CONFIG_PKG_KBD is not set
    # CONFIG_PKG_LESS is not set
    # CONFIG_PKG_LFS_UTILS is not set
    # CONFIG_PKG_LIBELF is not set
    # CONFIG_PKG_LIBPCAP is not set
    # CONFIG_PKG_LIBTERMCAP is not set
    CONFIG_PKG_LIBTOOL=y
    # CONFIG_PKG_LIBUSB is not set
    CONFIG_PKG_LKC=y
    # CONFIG_PKG_LTP is not set
    # CONFIG_PKG_M4 is not set
    # CONFIG_PKG_MAKE is not set
    # CONFIG_PKG_MAN is not set
    CONFIG_PKG_MKSPOOFLINKS=y
    # CONFIG_PKG_MODUTILS is not set
    # CONFIG_PKG_MODULE_INIT_TOOLS is not set
    CONFIG_MODUTILS_NONE=y
    CONFIG_PKG_MTD_UTILS=y
    # CONFIG_PKG_NCURSES is not set
    # CONFIG_PKG_NET_TOOLS is not set
    # CONFIG_PKG_NTPCLIENT is not set
    # CONFIG_PKG_OPENSSL is not set
    # CONFIG_PKG_OPROFILE is not set
    # CONFIG_PKG_PATCH is not set
    # CONFIG_PKG_PCIUTILS is not set
    # CONFIG_PKG_PERL is not set
    # CONFIG_PKG_POPT is not set
    # CONFIG_PKG_PORTMAP is not set
    # CONFIG_PKG_PROCINFO is not set
    # CONFIG_PKG_PROCPS is not set
    # CONFIG_PKG_PSMISC is not set
    # CONFIG_PKG_RSYNC is not set
    # CONFIG_PKG_SED is not set
    # CONFIG_PKG_SKELL is not set
    # CONFIG_PKG_STRACE is not set
    # CONFIG_PKG_SYSCONFIG is not set
    # CONFIG_PKG_SYSKLOGD is not set
    # CONFIG_PKG_SYSVINIT is not set
    # CONFIG_PKG_TAR is not set
    # CONFIG_PKG_TCPDUMP is not set
    # CONFIG_PKG_TCP_WRAPPERS is not set
    CONFIG_PKG_TEXINFO=y
    # CONFIG_PKG_TIME is not set
    # CONFIG_PKG_TINYLOGIN is not set
    # CONFIG_PKG_USBUTILS is not set
    # CONFIG_PKG_UTIL_LINUX is not set
    CONFIG_PKG_U_BOOT_TOOLS=y
    # CONFIG_PKG_VIM is not set
    # CONFIG_PKG_VSFTPD is not set
    CONFIG_PKG_WGET=y
    CONFIG_PKG_UCLINUX_CKSUM=y
    # CONFIG_PKG_WHICH is not set
    # CONFIG_PKG_WIRELESS_TOOLS is not set
    # CONFIG_PKG_ZLIB is not set

    #
    # Target System Configuration
    #

    #
    # Options
    #
    CONFIG_SYSCFG_HOSTNAME="freescale"
    # CONFIG_SYSCFG_WANT_LOGIN_TTY is not set
    CONFIG_SYSCFG_MODLIST=""
    CONFIG_SYSCFG_SETTIME=y
    CONFIG_SYSCFG_START_SYSLOG=y
    CONFIG_SYSCFG_START_NETWORK=y

    #
    # Network setup
    #
    # CONFIG_SYSCFG_DHCPC is not set
    CONFIG_SYSCFG_NET_INTERFACE="eth0"
    CONFIG_SYSCFG_IPADDR="192.168.0.254"
    CONFIG_SYSCFG_NET_MASK="255.255.255.0"
    CONFIG_SYSCFG_NET_BROADCAST="192.168.0.255"
    CONFIG_SYSCFG_NET_GATEWAY="192.168.0.1"
    CONFIG_SYSCFG_NAMESERVER="192.168.0.1"
    CONFIG_SYSCFG_START_INETD=y

    #
    # Target Image Generation
    #

    #
    # Option
    #

    #
    # Target kernel options
    #

    #
    # Choose your root filesystem image type
    #
    # CONFIG_DEPLOYMENT_JFFS2 is not set
    # CONFIG_DEPLOYMENT_RAMDISK is not set
    # CONFIG_DEPLOYMENT_CRAMFS is not set
    CONFIG_DEPLOYMENT_NFS=y
    # CONFIG_SYSCFG_READONLY_FS is not set
    CONFIG_SYSCFG_RAM_DIRS=""
    CONFIG_SYSCFG_SYSLOG_SOCKET_FILE=""
    CONFIG_ERASE_BLOCK_SIZE="64"
    CONFIG_CAP_UCLIBC=y
    CONFIG_CAP_GLIBC=y
    CONFIG_CAP_LFS_5_1=y


    Then the kernel config:


    #
    # Automatically generated make config: don't edit
    # Linux kernel version: 2.6.17.7-uc1
    #
    CONFIG_M68K=y
    # CONFIG_MMU is not set
    # CONFIG_FPU is not set
    CONFIG_RWSEM_GENERIC_SPINLOCK=y
    # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
    CONFIG_GENERIC_FIND_NEXT_BIT=y
    CONFIG_GENERIC_HWEIGHT=y
    CONFIG_GENERIC_CALIBRATE_DELAY=y
    CONFIG_TIME_LOW_RES=y

    #
    # Code maturity level options
    #
    CONFIG_EXPERIMENTAL=y
    CONFIG_BROKEN_ON_SMP=y
    CONFIG_INIT_ENV_ARG_LIMIT=32

    #
    # General setup
    #
    CONFIG_LOCALVERSION=""
    CONFIG_LOCALVERSION_AUTO=y
    # CONFIG_SYSVIPC is not set
    # CONFIG_BSD_PROCESS_ACCT is not set
    CONFIG_SYSCTL=y
    # CONFIG_IKCONFIG is not set
    # CONFIG_RELAY is not set
    CONFIG_INITRAMFS_SOURCE=""
    CONFIG_UID16=y
    # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
    CONFIG_EMBEDDED=y
    # CONFIG_KALLSYMS is not set
    # CONFIG_HOTPLUG is not set
    CONFIG_PRINTK=y
    CONFIG_BUG=y
    CONFIG_ELF_CORE=y
    CONFIG_BASE_FULL=y
    CONFIG_FUTEX=y
    CONFIG_EPOLL=y
    CONFIG_SLAB=y
    CONFIG_TINY_SHMEM=y
    CONFIG_BASE_SMALL=0
    # CONFIG_SLOB is not set

    #
    # Loadable module support
    #
    CONFIG_MODULES=y
    CONFIG_MODULE_UNLOAD=y
    # CONFIG_MODULE_FORCE_UNLOAD is not set
    # CONFIG_MODVERSIONS is not set
    # CONFIG_MODULE_SRCVERSION_ALL is not set
    # CONFIG_KMOD is not set

    #
    # Block layer
    #
    # CONFIG_BLK_DEV_IO_TRACE is not set

    #
    # IO Schedulers
    #
    CONFIG_IOSCHED_NOOP=y
    # CONFIG_IOSCHED_AS is not set
    # CONFIG_IOSCHED_DEADLINE is not set
    CONFIG_IOSCHED_CFQ=y
    # CONFIG_DEFAULT_AS is not set
    # CONFIG_DEFAULT_DEADLINE is not set
    CONFIG_DEFAULT_CFQ=y
    # CONFIG_DEFAULT_NOOP is not set
    CONFIG_DEFAULT_IOSCHED="cfq"

    #
    # Processor type and features
    #
    # CONFIG_M68328 is not set
    # CONFIG_M68EZ328 is not set
    # CONFIG_M68VZ328 is not set
    # CONFIG_M68360 is not set
    # CONFIG_M5206 is not set
    # CONFIG_M5206e is not set
    # CONFIG_M520x is not set
    # CONFIG_M523x is not set
    # CONFIG_M5249 is not set
    # CONFIG_M5253 is not set
    # CONFIG_M5271 is not set
    # CONFIG_M5272 is not set
    # CONFIG_M5275 is not set
    # CONFIG_M528x is not set
    # CONFIG_M5307 is not set
    CONFIG_M532x=y
    # CONFIG_M5407 is not set
    CONFIG_COLDFIRE=y
    CONFIG_CLOCK_SET=y
    CONFIG_CLOCK_FREQ=240000000
    CONFIG_CLOCK_DIV=3

    #
    # Platform
    #
    CONFIG_M5329EVB=y
    # CONFIG_COBRA5329 is not set
    CONFIG_FREESCALE=y
    CONFIG_LARGE_ALLOCS=y
    CONFIG_4KSTACKS=y

    #
    # RAM configuration
    #
    CONFIG_RAMBASE=0x40000000
    CONFIG_RAMSIZE=0x2000000
    CONFIG_VECTORBASE=0x40000000
    CONFIG_KERNELBASE=0x400C0000
    # CONFIG_RAMAUTOBIT is not set
    # CONFIG_RAM8BIT is not set
    CONFIG_RAM16BIT=y
    # CONFIG_RAM32BIT is not set

    #
    # ROM configuration
    #
    # CONFIG_ROM is not set
    CONFIG_RAMKERNEL=y
    # CONFIG_ROMKERNEL is not set
    CONFIG_CF_SHARED_INTS=y
    CONFIG_AFLAGS_KERNEL="-Wa,-gdwarf2 "
    CONFIG_SELECT_MEMORY_MODEL=y
    CONFIG_FLATMEM_MANUAL=y
    # CONFIG_DISCONTIGMEM_MANUAL is not set
    # CONFIG_SPARSEMEM_MANUAL is not set
    CONFIG_FLATMEM=y
    CONFIG_FLAT_NODE_MEM_MAP=y
    # CONFIG_SPARSEMEM_STATIC is not set
    CONFIG_SPLIT_PTLOCK_CPUS=4
    CONFIG_ISA_DMA_API=y

    #
    # Bus options (PCI, PCMCIA, EISA, MCA, ISA)
    #
    # CONFIG_PCI is not set

    #
    # PCCARD (PCMCIA/CardBus) support
    #
    # CONFIG_PCCARD is not set

    #
    # PCI Hotplug Support
    #

    #
    # Executable file formats
    #
    CONFIG_BINFMT_FLAT=y
    # CONFIG_BINFMT_ZFLAT is not set
    # CONFIG_BINFMT_SHARED_FLAT is not set
    # CONFIG_BINFMT_AOUT is not set
    # CONFIG_BINFMT_MISC is not set

    #
    # Power management options
    #
    # CONFIG_PM is not set

    #
    # Networking
    #
    # CONFIG_NET is not set

    #
    # Device Drivers
    #

    #
    # Generic Driver Options
    #
    CONFIG_STANDALONE=y
    CONFIG_PREVENT_FIRMWARE_BUILD=y
    # CONFIG_FW_LOADER is not set

    #
    # Connector - unified userspace <-> kernelspace linker
    #

    #
    # Memory Technology Devices (MTD)
    #
    CONFIG_MTD=y
    # CONFIG_MTD_DEBUG is not set
    # CONFIG_MTD_CONCAT is not set
    CONFIG_MTD_PARTITIONS=y
    # CONFIG_MTD_REDBOOT_PARTS is not set
    # CONFIG_MTD_CMDLINE_PARTS is not set

    #
    # User Modules And Translation Layers
    #
    CONFIG_MTD_CHAR=y
    CONFIG_MTD_BLOCK=y
    # CONFIG_FTL is not set
    # CONFIG_NFTL is not set
    # CONFIG_INFTL is not set
    # CONFIG_RFD_FTL is not set

    #
    # RAM/ROM/Flash chip drivers
    #
    # CONFIG_MTD_CFI is not set
    # CONFIG_MTD_JEDECPROBE is not set
    CONFIG_MTD_MAP_BANK_WIDTH_1=y
    CONFIG_MTD_MAP_BANK_WIDTH_2=y
    CONFIG_MTD_MAP_BANK_WIDTH_4=y
    # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
    # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
    # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
    CONFIG_MTD_CFI_I1=y
    CONFIG_MTD_CFI_I2=y
    # CONFIG_MTD_CFI_I4 is not set
    # CONFIG_MTD_CFI_I8 is not set
    CONFIG_MTD_RAM=y
    # CONFIG_MTD_ROM is not set
    # CONFIG_MTD_ABSENT is not set
    # CONFIG_MTD_OBSOLETE_CHIPS is not set

    #
    # Mapping drivers for chip access
    #
    # CONFIG_MTD_COMPLEX_MAPPINGS is not set
    CONFIG_MTD_UCLINUX=y
    # CONFIG_MTD_M520x is not set
    # CONFIG_MTD_PLATRAM is not set
    # CONFIG_MTD_M5253 is not set

    #
    # Self-contained MTD device drivers
    #
    # CONFIG_MTD_DATAFLASH is not set
    # CONFIG_MTD_M25P80 is not set
    # CONFIG_MTD_SLRAM is not set
    # CONFIG_MTD_PHRAM is not set
    # CONFIG_MTD_MTDRAM is not set
    CONFIG_MTD_BLOCK2MTD=y

    #
    # Disk-On-Chip Device Drivers
    #
    # CONFIG_MTD_DOC2000 is not set
    # CONFIG_MTD_DOC2001 is not set
    # CONFIG_MTD_DOC2001PLUS is not set

    #
    # NAND Flash Device Drivers
    #
    CONFIG_MTD_NAND=y
    # CONFIG_MTD_NAND_VERIFY_WRITE is not set
    CONFIG_MTD_NAND_M5329=y
    CONFIG_MTD_NAND_IDS=y
    # CONFIG_MTD_NAND_DISKONCHIP is not set
    # CONFIG_MTD_NAND_NANDSIM is not set

    #
    # OneNAND Flash Device Drivers
    #
    # CONFIG_MTD_ONENAND is not set

    #
    # Parallel port support
    #
    # CONFIG_PARPORT is not set

    #
    # Plug and Play support
    #

    #
    # Block devices
    #
    # CONFIG_BLK_DEV_COW_COMMON is not set
    CONFIG_BLK_DEV_LOOP=y
    # CONFIG_BLK_DEV_CRYPTOLOOP is not set
    CONFIG_BLK_DEV_RAM=y
    CONFIG_BLK_DEV_RAM_COUNT=16
    CONFIG_BLK_DEV_RAM_SIZE=4096
    # CONFIG_BLK_DEV_INITRD is not set
    # CONFIG_CDROM_PKTCDVD is not set

    #
    # ATA/ATAPI/MFM/RLL support
    #
    # CONFIG_IDE is not set

    #
    # SCSI device support
    #
    # CONFIG_RAID_ATTRS is not set
    CONFIG_SCSI=y
    # CONFIG_SCSI_PROC_FS is not set

    #
    # SCSI support type (disk, tape, CD-ROM)
    #
    # CONFIG_BLK_DEV_SD is not set
    # CONFIG_CHR_DEV_ST is not set
    # CONFIG_CHR_DEV_OSST is not set
    # CONFIG_BLK_DEV_SR is not set
    # CONFIG_CHR_DEV_SG is not set
    # CONFIG_CHR_DEV_SCH is not set

    #
    # Some SCSI devices (e.g. CD jukebox) support multiple LUNs
    #
    # CONFIG_SCSI_MULTI_LUN is not set
    # CONFIG_SCSI_CONSTANTS is not set
    # CONFIG_SCSI_LOGGING is not set

    #
    # SCSI Transport Attributes
    #
    # CONFIG_SCSI_SPI_ATTRS is not set
    # CONFIG_SCSI_FC_ATTRS is not set
    # CONFIG_SCSI_SAS_ATTRS is not set

    #
    # SCSI low-level drivers
    #
    # CONFIG_SCSI_SATA is not set
    # CONFIG_SCSI_DEBUG is not set

    #
    # Multi-device support (RAID and LVM)
    #
    # CONFIG_MD is not set

    #
    # Fusion MPT device support
    #
    # CONFIG_FUSION is not set

    #
    # IEEE 1394 (FireWire) support
    #

    #
    # I2O device support
    #

    #
    # ISDN subsystem
    #

    #
    # Telephony Support
    #
    # CONFIG_PHONE is not set

    #
    # Input device support
    #
    CONFIG_INPUT=y

    #
    # Userland interfaces
    #
    # CONFIG_INPUT_MOUSEDEV is not set
    # CONFIG_INPUT_JOYDEV is not set
    # CONFIG_INPUT_TSDEV is not set
    # CONFIG_INPUT_EVDEV is not set
    # CONFIG_INPUT_EVBUG is not set

    #
    # Input Device Drivers
    #
    # CONFIG_INPUT_KEYBOARD is not set
    # CONFIG_INPUT_MOUSE is not set
    # CONFIG_INPUT_JOYSTICK is not set
    # CONFIG_INPUT_TOUCHSCREEN is not set
    # CONFIG_INPUT_MISC is not set

    #
    # Hardware I/O ports
    #
    # CONFIG_SERIO is not set
    # CONFIG_GAMEPORT is not set

    #
    # Character devices
    #
    CONFIG_VT=y
    # CONFIG_VT_CONSOLE is not set
    CONFIG_HW_CONSOLE=y
    # CONFIG_SERIAL_NONSTANDARD is not set

    #
    # Serial drivers
    #
    # CONFIG_SERIAL_8250 is not set

    #
    # Non-8250 serial port support
    #
    CONFIG_SERIAL_COLDFIRE=y
    # CONFIG_UNIX98_PTYS is not set
    CONFIG_LEGACY_PTYS=y
    CONFIG_LEGACY_PTY_COUNT=256

    #
    # IPMI
    #
    # CONFIG_IPMI_HANDLER is not set

    #
    # Watchdog Cards
    #
    # CONFIG_WATCHDOG is not set
    # CONFIG_GEN_RTC is not set
    # CONFIG_DTLK is not set
    # CONFIG_R3964 is not set

    #
    # Ftape, the floppy tape device driver
    #
    # CONFIG_RAW_DRIVER is not set

    #
    # TPM devices
    #
    # CONFIG_TCG_TPM is not set
    # CONFIG_TELCLOCK is not set
    CONFIG_FLEXCAN=y
    CONFIG_FLEXCAN_CAN0=y
    # CONFIG_FLEXCAN_CAN1 is not set

    #
    # I2C support
    #
    # CONFIG_I2C is not set

    #
    # SPI support
    #
    CONFIG_SPI=y
    CONFIG_SPI_MASTER=y

    #
    # SPI Master Controller Drivers
    #
    # CONFIG_SPI_BITBANG is not set
    # CONFIG_SPI_COLDFIRE is not set
    CONFIG_MCFQSPI=y

    #
    # SPI Protocol Masters
    #

    #
    # Dallas's 1-wire bus
    #
    # CONFIG_W1 is not set

    #
    # Hardware Monitoring support
    #
    # CONFIG_HWMON is not set
    # CONFIG_HWMON_VID is not set

    #
    # Misc devices
    #

    #
    # Multimedia devices
    #
    # CONFIG_VIDEO_DEV is not set
    CONFIG_VIDEO_V4L2=y

    #
    # Digital Video Broadcasting Devices
    #

    #
    # Graphics support
    #
    CONFIG_FB=y
    CONFIG_FB_CFB_FILLRECT=y
    CONFIG_FB_CFB_COPYAREA=y
    CONFIG_FB_CFB_IMAGEBLIT=y
    # CONFIG_FB_MACMODES is not set
    CONFIG_FB_FIRMWARE_EDID=y
    # CONFIG_FB_MODE_HELPERS is not set
    # CONFIG_FB_TILEBLITTING is not set
    # CONFIG_FB_S1D13XXX is not set
    CONFIG_FB_M532x=y
    # CONFIG_LCD_640x480 is not set
    CONFIG_LCD_800x600=y
    # CONFIG_LCD_240x320 is not set
    # CONFIG_FB_VIRTUAL is not set

    #
    # Console display driver support
    #
    CONFIG_DUMMY_CONSOLE=y
    CONFIG_FRAMEBUFFER_CONSOLE=y
    # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
    CONFIG_FONTS=y
    CONFIG_FONT_8x8=y
    CONFIG_FONT_8x16=y
    # CONFIG_FONT_6x11 is not set
    # CONFIG_FONT_7x14 is not set
    # CONFIG_FONT_PEARL_8x8 is not set
    # CONFIG_FONT_ACORN_8x8 is not set
    CONFIG_FONT_MINI_4x6=y
    # CONFIG_FONT_SUN8x16 is not set
    # CONFIG_FONT_SUN12x22 is not set
    # CONFIG_FONT_10x18 is not set

    #
    # Logo configuration
    #
    CONFIG_LOGO=y
    # CONFIG_LOGO_LINUX_MONO is not set
    # CONFIG_LOGO_LINUX_VGA16 is not set
    CONFIG_LOGO_LINUX_CLUT224=y
    # CONFIG_BACKLIGHT_LCD_SUPPORT is not set

    #
    # Sound
    #
    # CONFIG_SOUND is not set

    #
    # USB support
    #
    CONFIG_USB_ARCH_HAS_HCD=y
    # CONFIG_USB_ARCH_HAS_OHCI is not set
    CONFIG_USB_ARCH_HAS_EHCI=y
    # CONFIG_USB is not set

    #
    # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
    #

    #
    # USB Gadget Support
    #
    # CONFIG_USB_GADGET is not set

    #
    # MMC/SD Card support
    #
    # CONFIG_MMC is not set

    #
    # LED devices
    #
    # CONFIG_NEW_LEDS is not set

    #
    # LED drivers
    #

    #
    # LED Triggers
    #

    #
    # InfiniBand support
    #

    #
    # EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
    #

    #
    # Real Time Clock
    #
    # CONFIG_RTC_CLASS is not set

    #
    # File systems
    #
    # CONFIG_EXT2_FS is not set
    # CONFIG_EXT3_FS is not set
    # CONFIG_REISERFS_FS is not set
    # CONFIG_JFS_FS is not set
    # CONFIG_FS_POSIX_ACL is not set
    # CONFIG_XFS_FS is not set
    # CONFIG_MINIX_FS is not set
    CONFIG_ROMFS_FS=y
    CONFIG_INOTIFY=y
    # CONFIG_QUOTA is not set
    CONFIG_DNOTIFY=y
    # CONFIG_AUTOFS_FS is not set
    # CONFIG_AUTOFS4_FS is not set
    # CONFIG_FUSE_FS is not set

    #
    # CD-ROM/DVD Filesystems
    #
    # CONFIG_ISO9660_FS is not set
    # CONFIG_UDF_FS is not set

    #
    # DOS/FAT/NT Filesystems
    #
    CONFIG_FAT_FS=y
    CONFIG_MSDOS_FS=y
    CONFIG_VFAT_FS=y
    CONFIG_FAT_DEFAULT_CODEPAGE=437
    CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
    # CONFIG_NTFS_FS is not set

    #
    # Pseudo filesystems
    #
    CONFIG_PROC_FS=y
    CONFIG_SYSFS=y
    CONFIG_TMPFS=y
    # CONFIG_HUGETLB_PAGE is not set
    CONFIG_RAMFS=y
    # CONFIG_CONFIGFS_FS is not set

    #
    # Miscellaneous filesystems
    #
    # CONFIG_ADFS_FS is not set
    # CONFIG_AFFS_FS is not set
    # CONFIG_HFS_FS is not set
    # CONFIG_HFSPLUS_FS is not set
    # CONFIG_BEFS_FS is not set
    # CONFIG_BFS_FS is not set
    # CONFIG_EFS_FS is not set
    # CONFIG_JFFS_FS is not set
    CONFIG_JFFS2_FS=y
    CONFIG_JFFS2_FS_DEBUG=0
    CONFIG_JFFS2_FS_WRITEBUFFER=y
    # CONFIG_JFFS2_SUMMARY is not set
    # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
    CONFIG_JFFS2_ZLIB=y
    CONFIG_JFFS2_RTIME=y
    # CONFIG_JFFS2_RUBIN is not set
    # CONFIG_CRAMFS is not set
    # CONFIG_VXFS_FS is not set
    # CONFIG_HPFS_FS is not set
    # CONFIG_QNX4FS_FS is not set
    # CONFIG_SYSV_FS is not set
    # CONFIG_UFS_FS is not set

    #
    # Partition Types
    #
    CONFIG_PARTITION_ADVANCED=y
    # CONFIG_ACORN_PARTITION is not set
    # CONFIG_OSF_PARTITION is not set
    # CONFIG_AMIGA_PARTITION is not set
    # CONFIG_ATARI_PARTITION is not set
    # CONFIG_MAC_PARTITION is not set
    CONFIG_MSDOS_PARTITION=y
    # CONFIG_BSD_DISKLABEL is not set
    # CONFIG_MINIX_SUBPARTITION is not set
    # CONFIG_SOLARIS_X86_PARTITION is not set
    # CONFIG_UNIXWARE_DISKLABEL is not set
    # CONFIG_LDM_PARTITION is not set
    # CONFIG_SGI_PARTITION is not set
    # CONFIG_ULTRIX_PARTITION is not set
    # CONFIG_SUN_PARTITION is not set
    # CONFIG_KARMA_PARTITION is not set
    # CONFIG_EFI_PARTITION is not set

    #
    # Native Language Support
    #
    CONFIG_NLS=y
    CONFIG_NLS_DEFAULT="iso8859-1"
    CONFIG_NLS_CODEPAGE_437=y
    # CONFIG_NLS_CODEPAGE_737 is not set
    # CONFIG_NLS_CODEPAGE_775 is not set
    # CONFIG_NLS_CODEPAGE_850 is not set
    # CONFIG_NLS_CODEPAGE_852 is not set
    # CONFIG_NLS_CODEPAGE_855 is not set
    # CONFIG_NLS_CODEPAGE_857 is not set
    # CONFIG_NLS_CODEPAGE_860 is not set
    # CONFIG_NLS_CODEPAGE_861 is not set
    # CONFIG_NLS_CODEPAGE_862 is not set
    # CONFIG_NLS_CODEPAGE_863 is not set
    # CONFIG_NLS_CODEPAGE_864 is not set
    # CONFIG_NLS_CODEPAGE_865 is not set
    # CONFIG_NLS_CODEPAGE_866 is not set
    # CONFIG_NLS_CODEPAGE_869 is not set
    # CONFIG_NLS_CODEPAGE_936 is not set
    # CONFIG_NLS_CODEPAGE_950 is not set
    # CONFIG_NLS_CODEPAGE_932 is not set
    # CONFIG_NLS_CODEPAGE_949 is not set
    # CONFIG_NLS_CODEPAGE_874 is not set
    # CONFIG_NLS_ISO8859_8 is not set
    # CONFIG_NLS_CODEPAGE_1250 is not set
    # CONFIG_NLS_CODEPAGE_1251 is not set
    # CONFIG_NLS_ASCII is not set
    # CONFIG_NLS_ISO8859_1 is not set
    # CONFIG_NLS_ISO8859_2 is not set
    # CONFIG_NLS_ISO8859_3 is not set
    # CONFIG_NLS_ISO8859_4 is not set
    # CONFIG_NLS_ISO8859_5 is not set
    # CONFIG_NLS_ISO8859_6 is not set
    # CONFIG_NLS_ISO8859_7 is not set
    # CONFIG_NLS_ISO8859_9 is not set
    # CONFIG_NLS_ISO8859_13 is not set
    # CONFIG_NLS_ISO8859_14 is not set
    # CONFIG_NLS_ISO8859_15 is not set
    # CONFIG_NLS_KOI8_R is not set
    # CONFIG_NLS_KOI8_U is not set
    # CONFIG_NLS_UTF8 is not set

    #
    # Kernel hacking
    #
    # CONFIG_PRINTK_TIME is not set
    # CONFIG_MAGIC_SYSRQ is not set
    # CONFIG_DEBUG_KERNEL is not set
    CONFIG_LOG_BUF_SHIFT=14
    # CONFIG_DEBUG_BUGVERBOSE is not set
    # CONFIG_DEBUG_FS is not set
    # CONFIG_UNWIND_INFO is not set
    # CONFIG_FULLDEBUG is not set
    # CONFIG_HIGHPROFILE is not set
    # CONFIG_BOOTPARAM is not set
    # CONFIG_DUMPTOFLASH is not set
    # CONFIG_NO_KERNEL_MSG is not set
    # CONFIG_BDM_DISABLE is not set

    #
    # CodeTEST Setup
    #
    # CONFIG_CODETEST is not set

    #
    # Security options
    #
    # CONFIG_KEYS is not set
    # CONFIG_SECURITY is not set

    #
    # Cryptographic options
    #
    # CONFIG_CRYPTO is not set

    #
    # Hardware crypto devices
    #

    #
    # Library routines
    #
    # CONFIG_CRC_CCITT is not set
    # CONFIG_CRC16 is not set
    CONFIG_CRC32=y
    # CONFIG_LIBCRC32C is not set
    CONFIG_ZLIB_INFLATE=y
    CONFIG_ZLIB_DEFLATE=y


    Have fun!
    ylyang5@yahoo.com
    New Member
    New Member
    Posts:


    --
    12 Mar 2008 02:17 PM
    I was checking the difference between your LTIB configurations and my LTIB configurations. I found they are almost totally different.

    Finally I realize that you probably posted LTIB preconfig file:
    /ltib-m532xevb-20061117/config/platform/host/ltib.preconfig

    Is it correct?

    I think the following file is your LTIB config file:
    /ltib-m532xevb-20061117/config/platform/m532xevb/defconfig.dev

    Would you please post your "/ltib-m532xevb-20061117/config/platform/m532xevb/defconfig.dev" here again?

    Thanks again for your time.


    Here is my LTIB config file:

    Quote:

    #
    # Automatically generated make config: don't edit
    # LTIB version: 6.2.1
    #
    CONFIG_CONFIG_TITLE="LTIB: Freescale M532xEVB Coldfire/M68k (noMMU)"
    CONFIG_PLATFORM_COMMENT="Freescale M532xEVB Coldfire/M68k (noMMU)"
    CONFIG_VENDOR="Freescale"
    CONFIG_PLATFORM="m532xevb"
    CONFIG_GNUTARCH="m68knommu"
    CONFIG_LINTARCH="m68knommu"
    CONFIG_CFGHOST="m68k-linux"
    CONFIG_UCLIBC=y
    CONFIG_ERASE_BLOCK_SIZE="64"
    # CONFIG_CAP_GLIBC is not set
    CONFIG_CAP_DEPLOYMENT_ROMFS=y
    CONFIG_SYSCFG_TMPFS="ramfs"
    CONFIG_SYSCFG_BOOTLOADER="dBUG"
    CONFIG_ENDIAN="big"

    #
    # Choose the target C library type
    #
    # CONFIG_GLIBC is not set

    #
    # Choose your toolchain
    #
    CONFIG_TOOLCHAIN1=y
    # CONFIG_TOOLCHAIN_CUSTOM is not set
    CONFIG_TOOLCHAIN="freescale-coldfire-m68k-uclinux-4.1-14.i686.rpm"
    CONFIG_TOOLCHAIN_PATH="/opt/freescale/usr/local/gcc-4.1-uclibc-0.9/m68k-uclibc"
    CONFIG_TOOLCHAIN_PREFIX="m68k-uclinux-"
    CONFIG_TOOLCHAIN_CFLAGS="-m5307 -DCONFIG_COLDFIRE -DCONFIG_CLOCK_240MHz"

    #
    # Bootloader
    #
    # CONFIG_BOOTLOADER1 is not set

    #
    # Choose your Kernel
    #
    # CONFIG_KERNEL1 is not set
    CONFIG_KERNEL2=y
    # CONFIG_KERNEL_DIR_BUILD is not set
    # CONFIG_KERNEL_NONE is not set
    CONFIG_PKG_KERNEL="kernel-2.6.17.7-uc1"
    CONFIG_PKG_KERNEL_WANT_OBJCOPY=y
    CONFIG_PKG_KERNEL_WANT_HEADERS=y
    CONFIG_PKG_KERNEL_PRECONFIG="linux-2.6.17.7.config"
    # CONFIG_PKG_KERNEL_WANT_CF is not set
    # CONFIG_PKG_KERNEL_LEAVESRC is not set
    CONFIG_DISTRO="dist/lfs-5.1"

    #
    # Package selection
    #

    #
    # Package list
    #
    CONFIG_PKG_APPTRK_M68K=y
    # CONFIG_PKG_AUTOCONF is not set
    # CONFIG_PKG_AUTOMAKE is not set
    # CONFIG_LIBC_WANTED is not set
    # CONFIG_PKG_ALSA_LIB is not set
    # CONFIG_PKG_ALSA_UTILS is not set
    # CONFIG_PKG_BASH is not set
    # CONFIG_PKG_BIND is not set
    # CONFIG_PKG_BINUTILS is not set
    # CONFIG_PKG_BISON is not set
    CONFIG_PKG_BOA=y
    # CONFIG_PKG_BONNIE_PLUS_PLUS is not set
    # CONFIG_PKG_BRIDGE_UTILS is not set
    CONFIG_PKG_BUSYBOX=y
    CONFIG_PKG_BUSYBOX_PRECONFIG="busybox.config"
    # CONFIG_PKG_BUSYBOX_WANT_CF is not set
    # CONFIG_PKG_BZIP2 is not set
    CONFIG_PKG_CAN4LINUX=y
    # CONFIG_PKG_CLAMAV is not set
    # CONFIG_PKG_COREUTILS is not set
    # CONFIG_PKG_CPIO is not set
    # CONFIG_PKG_CRACKLIB is not set
    # CONFIG_PKG_CRAMFS is not set
    # CONFIG_PKG_DAEMONIZER is not set
    # CONFIG_PKG_DEVMEM2 is not set
    # CONFIG_PKG_DHCP is not set
    # CONFIG_PKG_DB1 is not set
    CONFIG_PKG_DEV=y
    # CONFIG_PKG_DEVFSD is not set
    # CONFIG_PKG_DEV_NONE is not set
    # CONFIG_PKG_DIFFUTILS is not set
    # CONFIG_PKG_DIRECTFB is not set
    # CONFIG_PKG_DISTCC is not set
    # CONFIG_PKG_DOSFSTOOLS is not set
    # CONFIG_PKG_DROPBEAR is not set
    # CONFIG_PKG_DTC is not set
    # CONFIG_PKG_E2FSPROGS is not set
    # CONFIG_PKG_ED is not set
    # CONFIG_PKG_ETHTOOL is not set
    # CONFIG_PKG_EXPAT is not set
    # CONFIG_PKG_FAKEROOT is not set
    CONFIG_PKG_FAKE_PROVIDES=y
    # CONFIG_PKG_FINDUTILS is not set
    # CONFIG_PKG_FLEX is not set
    # CONFIG_PKG_FREETYPE is not set
    # CONFIG_PKG_GAWK is not set
    # CONFIG_PKG_GCC is not set
    CONFIG_PKG_GDB=y
    # CONFIG_PKG_GDB_NATIVE_WANT_ED is not set
    CONFIG_PKG_GDB_CROSS_WANT_ED=y
    CONFIG_PKG_GDB_SERVER_WANT_ED=y
    # CONFIG_PKG_GDB_M68K_BDM_WANT_ED is not set
    # CONFIG_PKG_GENEXT2FS is not set
    # CONFIG_PKG_GENROMFS is not set
    # CONFIG_PKG_GETTEXT is not set
    # CONFIG_PKG_GMP is not set
    # CONFIG_PKG_GREP is not set
    # CONFIG_PKG_GROFF is not set
    # CONFIG_PKG_HDPARM is not set
    # CONFIG_PKG_HELLOWORLD is not set
    # CONFIG_PKG_HOTPLUG is not set
    # CONFIG_PKG_HTTPD is not set
    # CONFIG_PKG_I2C_TOOLS is not set
    # CONFIG_PKG_IPROUTE is not set
    # CONFIG_PKG_PIDENTD is not set
    # CONFIG_PKG_INETUTILS is not set
    # CONFIG_PKG_IPERF is not set
    # CONFIG_PKG_IPSEC_TOOLS is not set
    # CONFIG_PKG_IPSECADM is not set
    # CONFIG_PKG_IPTABLES is not set
    # CONFIG_PKG_IPUTILS is not set
    # CONFIG_PKG_IRATTACH is not set
    # CONFIG_PKG_KBD is not set
    # CONFIG_PKG_LESS is not set
    # CONFIG_PKG_LFS_UTILS is not set
    # CONFIG_PKG_LIBID3TAG is not set
    # CONFIG_PKG_LIBMAD is not set
    # CONFIG_PKG_LIBJPEG is not set
    # CONFIG_PKG_LIBELF is not set
    # CONFIG_PKG_LIBPCAP is not set
    # CONFIG_PKG_LIBPNG is not set
    # CONFIG_PKG_LIBTERMCAP is not set
    # CONFIG_PKG_LIBTOOL is not set
    # CONFIG_PKG_LIBUSB is not set
    # CONFIG_PKG_LIBXML2 is not set
    # CONFIG_PKG_LINUX_ATM is not set
    # CONFIG_PKG_LKC is not set
    # CONFIG_PKG_LTP is not set
    # CONFIG_PKG_LMBENCH is not set
    # CONFIG_PKG_LRZSZ is not set
    # CONFIG_PKG_M4 is not set
    # CONFIG_PKG_MADPLAY is not set
    # CONFIG_PKG_MAKE is not set
    # CONFIG_PKG_MAN is not set
    # CONFIG_PKG_MDADM is not set
    CONFIG_PKG_MERGE=y
    CONFIG_PKG_MICROWINDOWS=y
    # CONFIG_PKG_MODUTILS is not set
    # CONFIG_PKG_MODULE_INIT_TOOLS is not set
    CONFIG_MODUTILS_NONE=y
    CONFIG_PKG_MTD_UTILS=y
    # CONFIG_PKG_MYSQL is not set
    # CONFIG_PKG_NCURSES is not set
    # CONFIG_PKG_NET_TOOLS is not set
    # CONFIG_PKG_NETPERF is not set
    # CONFIG_PKG_NTPCLIENT is not set
    # CONFIG_PKG_OPENSSH is not set
    # CONFIG_PKG_OPENSSL is not set
    # CONFIG_PKG_OPENSWAN is not set
    # CONFIG_PKG_OPROFILE is not set
    # CONFIG_PKG_PATCH is not set
    # CONFIG_PKG_PCIUTILS is not set
    # CONFIG_PKG_PCMCIA_CS is not set
    # CONFIG_PKG_PCRE is not set
    # CONFIG_PKG_PERL is not set
    # CONFIG_PKG_PHP is not set
    # CONFIG_PKG_POPT is not set
    # CONFIG_PKG_PORTMAP is not set
    # CONFIG_PKG_PPP is not set
    # CONFIG_PKG_PROCINFO is not set
    # CONFIG_PKG_PROCPS is not set
    # CONFIG_PKG_PSMISC is not set
    # CONFIG_PKG_PTPD is not set
    # CONFIG_PKG_PYTHON is not set
    # CONFIG_PKG_QTOPIA is not set
    # CONFIG_PKG_RPM is not set
    # CONFIG_PKG_RNG_TOOLS is not set
    # CONFIG_PKG_RSYNC is not set
    # CONFIG_PKG_SAMBA is not set
    # CONFIG_PKG_SASH is not set
    # CONFIG_PKG_SCHEDUTILS is not set
    # CONFIG_PKG_SED is not set
    # CONFIG_PKG_SEQ is not set
    # CONFIG_PKG_SETSERIAL is not set
    CONFIG_PKG_SKELL=y
    # CONFIG_PKG_SKELL_WANT_TERMINFO is not set
    CONFIG_PKG_STRACE=y
    CONFIG_PKG_SYSCONFIG=y
    # CONFIG_PKG_SYSKLOGD is not set
    # CONFIG_PKG_SYSVINIT is not set
    # CONFIG_PKG_TAR is not set
    # CONFIG_PKG_TCPDUMP is not set
    # CONFIG_PKG_TCP_WRAPPERS is not set
    # CONFIG_PKG_TEXINFO is not set
    # CONFIG_PKG_TIME is not set
    # CONFIG_PKG_TIMEZONE is not set
    # CONFIG_PKG_TINYLOGIN is not set
    # CONFIG_PKG_UDEV is not set
    # CONFIG_PKG_USBUTILS is not set
    # CONFIG_PKG_UCLINUX_CKSUM is not set
    # CONFIG_PKG_UTIL_LINUX is not set
    # CONFIG_PKG_U_BOOT_TOOLS is not set
    # CONFIG_PKG_UNZIP is not set
    # CONFIG_PKG_VIM is not set
    # CONFIG_PKG_VSFTPD is not set
    # CONFIG_PKG_WGET is not set
    # CONFIG_PKG_WHICH is not set
    # CONFIG_PKG_WIRELESS_TOOLS is not set
    # CONFIG_PKG_YAFFS_UTILS is not set
    CONFIG_PKG_ZLIB=y

    #
    # Target System Configuration
    #

    #
    # Options
    #
    CONFIG_SYSCFG_HOSTNAME="freescale"
    # CONFIG_SYSCFG_WANT_LOGIN_TTY is not set
    CONFIG_SYSCFG_MODLIST=""
    # CONFIG_SYSCFG_START_DEVFSD is not set
    CONFIG_SYSCFG_START_NETWORK=y

    #
    # Network setup
    #

    #
    #
    #
    CONFIG_SYSCFG_IFACE0=y
    CONFIG_SYSCFG_NET_INTERFACE0="eth0"
    CONFIG_SYSCFG_DHCPC0=y

    #
    #
    #
    # CONFIG_SYSCFG_IFACE1 is not set

    #
    #
    #
    # CONFIG_SYSCFG_IFACE2 is not set

    #
    #
    #
    # CONFIG_SYSCFG_IFACE3 is not set

    #
    #
    #
    # CONFIG_SYSCFG_IFACE4 is not set
    CONFIG_SYSCFG_DHCPC_CMD="udhcpc -b -i "
    CONFIG_SYSCFG_SETTIME=y
    CONFIG_SYSCFG_START_SYSLOG=y
    CONFIG_SYSCFG_START_INETD=y
    CONFIG_SYSCFG_INETD_ARGS=""
    CONFIG_SYSCFG_START_BOA=y
    CONFIG_SYSCFG_BOA_ARGS="-c /etc"

    #
    # Target Image Generation
    #

    #
    # Options
    #

    #
    # Choose your root filesystem image type
    #
    # CONFIG_DEPLOYMENT_JFFS2 is not set
    # CONFIG_DEPLOYMENT_RAMDISK is not set
    # CONFIG_DEPLOYMENT_CRAMFS is not set
    CONFIG_DEPLOYMENT_ROMFS=y
    # CONFIG_DEPLOYMENT_NFS is not set
    CONFIG_SYSCFG_DEPLOYMENT_STYLE="ROMFS"
    CONFIG_DEPLOYMENT_ZIP=y
    # CONFIG_SYSCFG_READONLY_FS is not set
    CONFIG_SYSCFG_RAM_DIRS="/tmp /etc /var"
    CONFIG_DEPLOYMENT_ROOTFS_DIR=""
    # CONFIG_DEPLOYMENT_ROOTFS_KEEPSTAGE is not set
    CONFIG_DEPLOYMENT_RM_DOCS=y
    CONFIG_DEPLOYMENT_RM_BOOT=y
    CONFIG_DEPLOYMENT_RM_USR_SRC=y
    CONFIG_DEPLOYMENT_RM_USR_INCLUDE=y
    CONFIG_DEPLOYMENT_RM_USER_DIRS=""
    CONFIG_DEPLOYMENT_RM_USER_FILES=""
    CONFIG_DEPLOYMENT_RM_STATIC_LIBS=y
    CONFIG_DEPLOYMENT_STRIP=y
    CONFIG_DEPLOYMENT_PADDING_KB="0"
    CONFIG_CAP_UCLIBC=y
    CONFIG_CAP_LFS_5_1=y
    CONFIG_INITTAB_LINE="::respawn:/sbin/getty -L console 0 screen"
    CONFIG_LTIB_RELEASE="6.2.1"
    mcelweep@msoe.edu
    New Member
    New Member
    Posts:


    --
    13 Mar 2008 01:49 PM
    Whoops! I actually had a fun time remembering the ltib build cycle and changing packages as I had to resolve an issue in our product that had arisen. I made myself some notes so it is easier next time!

    Here is my defconfig. Canbusmonitor is a custom program that I made for our product.

    #
    # Automatically generated make config: don't edit
    # LTIB version: 6.2.1
    #
    CONFIG_CONFIG_TITLE="LTIB: Freescale M532xEVB Coldfire/M68k (noMMU)"
    CONFIG_PLATFORM_COMMENT="Freescale M532xEVB Coldfire/M68k (noMMU)"
    CONFIG_VENDOR="Freescale"
    CONFIG_PLATFORM="m532xevb"
    CONFIG_GNUTARCH="m68knommu"
    CONFIG_LINTARCH="m68knommu"
    CONFIG_CFGHOST="m68k-linux"
    CONFIG_UCLIBC=y
    CONFIG_ERASE_BLOCK_SIZE="64"
    # CONFIG_CAP_GLIBC is not set
    CONFIG_CAP_DEPLOYMENT_ROMFS=y
    CONFIG_SYSCFG_TMPFS="ramfs"
    CONFIG_SYSCFG_BOOTLOADER="dBUG"
    CONFIG_ENDIAN="big"

    #
    # Choose the target C library type
    #
    # CONFIG_GLIBC is not set

    #
    # Choose your toolchain
    #
    CONFIG_TOOLCHAIN1=y
    # CONFIG_TOOLCHAIN_CUSTOM is not set
    CONFIG_TOOLCHAIN="freescale-coldfire-m68k-uclinux-4.1-14.i686.rpm"
    CONFIG_TOOLCHAIN_PATH="/opt/freescale/usr/local/gcc-4.1-uclibc-0.9/m68k-uclibc"
    CONFIG_TOOLCHAIN_PREFIX="m68k-uclinux-"
    CONFIG_TOOLCHAIN_CFLAGS="-m5307 -DCONFIG_COLDFIRE -DCONFIG_CLOCK_240MHz"

    #
    # Bootloader
    #
    # CONFIG_BOOTLOADER1 is not set

    #
    # Choose your Kernel
    #
    # CONFIG_KERNEL1 is not set
    CONFIG_KERNEL2=y
    # CONFIG_KERNEL_DIR_BUILD is not set
    # CONFIG_KERNEL_NONE is not set
    CONFIG_PKG_KERNEL="kernel-2.6.17.7-uc1"
    CONFIG_PKG_KERNEL_WANT_OBJCOPY=y
    # CONFIG_PKG_KERNEL_WANT_HEADERS is not set
    CONFIG_PKG_KERNEL_PRECONFIG="linux-2.6.17.7.config"
    # CONFIG_PKG_KERNEL_WANT_CF is not set
    # CONFIG_PKG_KERNEL_LEAVESRC is not set
    CONFIG_DISTRO="dist/lfs-5.1"

    #
    # Package selection
    #

    #
    # Package list
    #
    CONFIG_PKG_CANBUSMONITOR=y
    # CONFIG_PKG_APPTRK_M68K is not set
    # CONFIG_PKG_AUTOCONF is not set
    # CONFIG_PKG_AUTOMAKE is not set
    # CONFIG_LIBC_WANTED is not set
    # CONFIG_PKG_ALSA_LIB is not set
    # CONFIG_PKG_ALSA_UTILS is not set
    # CONFIG_PKG_BASH is not set
    # CONFIG_PKG_BIND is not set
    # CONFIG_PKG_BINUTILS is not set
    # CONFIG_PKG_BISON is not set
    # CONFIG_PKG_BOA is not set
    # CONFIG_PKG_BONNIE_PLUS_PLUS is not set
    # CONFIG_PKG_BRIDGE_UTILS is not set
    # CONFIG_PKG_BUSYBOX is not set
    # CONFIG_PKG_BZIP2 is not set
    # CONFIG_PKG_CAN4LINUX is not set
    # CONFIG_PKG_CLAMAV is not set
    # CONFIG_PKG_COREUTILS is not set
    # CONFIG_PKG_CPIO is not set
    # CONFIG_PKG_CRACKLIB is not set
    # CONFIG_PKG_CRAMFS is not set
    # CONFIG_PKG_DAEMONIZER is not set
    # CONFIG_PKG_DEVMEM2 is not set
    # CONFIG_PKG_DHCP is not set
    # CONFIG_PKG_DB1 is not set
    CONFIG_PKG_DEV=y
    # CONFIG_PKG_DEVFSD is not set
    # CONFIG_PKG_DEV_NONE is not set
    # CONFIG_PKG_DIFFUTILS is not set
    # CONFIG_PKG_DIRECTFB is not set
    # CONFIG_PKG_DISTCC is not set
    # CONFIG_PKG_DOSFSTOOLS is not set
    # CONFIG_PKG_DROPBEAR is not set
    # CONFIG_PKG_DTC is not set
    # CONFIG_PKG_E2FSPROGS is not set
    # CONFIG_PKG_ED is not set
    # CONFIG_PKG_ETHTOOL is not set
    # CONFIG_PKG_EXPAT is not set
    # CONFIG_PKG_FAKEROOT is not set
    CONFIG_PKG_FAKE_PROVIDES=y
    # CONFIG_PKG_FINDUTILS is not set
    # CONFIG_PKG_FLEX is not set
    CONFIG_PKG_FREETYPE=y
    # CONFIG_PKG_GAWK is not set
    # CONFIG_PKG_GCC is not set
    # CONFIG_PKG_GDB is not set
    # CONFIG_PKG_GENEXT2FS is not set
    # CONFIG_PKG_GENROMFS is not set
    # CONFIG_PKG_GETTEXT is not set
    # CONFIG_PKG_GMP is not set
    # CONFIG_PKG_GREP is not set
    # CONFIG_PKG_GROFF is not set
    # CONFIG_PKG_HDPARM is not set
    # CONFIG_PKG_HELLOWORLD is not set
    # CONFIG_PKG_HOTPLUG is not set
    # CONFIG_PKG_HTTPD is not set
    # CONFIG_PKG_I2C_TOOLS is not set
    # CONFIG_PKG_IPROUTE is not set
    # CONFIG_PKG_PIDENTD is not set
    # CONFIG_PKG_INETUTILS is not set
    # CONFIG_PKG_IPERF is not set
    # CONFIG_PKG_IPSEC_TOOLS is not set
    # CONFIG_PKG_IPSECADM is not set
    # CONFIG_PKG_IPTABLES is not set
    # CONFIG_PKG_IPUTILS is not set
    # CONFIG_PKG_IRATTACH is not set
    # CONFIG_PKG_KBD is not set
    # CONFIG_PKG_LESS is not set
    # CONFIG_PKG_LFS_UTILS is not set
    # CONFIG_PKG_LIBID3TAG is not set
    # CONFIG_PKG_LIBMAD is not set
    # CONFIG_PKG_LIBJPEG is not set
    # CONFIG_PKG_LIBELF is not set
    # CONFIG_PKG_LIBPCAP is not set
    # CONFIG_PKG_LIBPNG is not set
    # CONFIG_PKG_LIBTERMCAP is not set
    # CONFIG_PKG_LIBTOOL is not set
    # CONFIG_PKG_LIBUSB is not set
    # CONFIG_PKG_LIBXML2 is not set
    # CONFIG_PKG_LINUX_ATM is not set
    # CONFIG_PKG_LKC is not set
    # CONFIG_PKG_LTP is not set
    # CONFIG_PKG_LMBENCH is not set
    # CONFIG_PKG_LRZSZ is not set
    # CONFIG_PKG_M4 is not set
    # CONFIG_PKG_MADPLAY is not set
    # CONFIG_PKG_MAKE is not set
    # CONFIG_PKG_MAN is not set
    # CONFIG_PKG_MDADM is not set
    CONFIG_PKG_MERGE=y
    # CONFIG_PKG_MICROWINDOWS is not set
    # CONFIG_PKG_MODUTILS is not set
    # CONFIG_PKG_MODULE_INIT_TOOLS is not set
    CONFIG_MODUTILS_NONE=y
    # CONFIG_PKG_MTD_UTILS is not set
    # CONFIG_PKG_MYSQL is not set
    # CONFIG_PKG_NCURSES is not set
    # CONFIG_PKG_NET_TOOLS is not set
    # CONFIG_PKG_NETPERF is not set
    # CONFIG_PKG_NTPCLIENT is not set
    # CONFIG_PKG_OPENSSH is not set
    # CONFIG_PKG_OPENSSL is not set
    # CONFIG_PKG_OPENSWAN is not set
    # CONFIG_PKG_OPROFILE is not set
    # CONFIG_PKG_PATCH is not set
    # CONFIG_PKG_PCIUTILS is not set
    # CONFIG_PKG_PCMCIA_CS is not set
    # CONFIG_PKG_PCRE is not set
    # CONFIG_PKG_PERL is not set
    # CONFIG_PKG_PHP is not set
    # CONFIG_PKG_POPT is not set
    # CONFIG_PKG_PORTMAP is not set
    # CONFIG_PKG_PPP is not set
    # CONFIG_PKG_PROCINFO is not set
    # CONFIG_PKG_PROCPS is not set
    # CONFIG_PKG_PSMISC is not set
    # CONFIG_PKG_PTPD is not set
    # CONFIG_PKG_PYTHON is not set
    # CONFIG_PKG_QTOPIA is not set
    # CONFIG_PKG_RPM is not set
    # CONFIG_PKG_RNG_TOOLS is not set
    # CONFIG_PKG_RSYNC is not set
    # CONFIG_PKG_SAMBA is not set
    # CONFIG_PKG_SASH is not set
    # CONFIG_PKG_SCHEDUTILS is not set
    # CONFIG_PKG_SED is not set
    # CONFIG_PKG_SEQ is not set
    # CONFIG_PKG_SETSERIAL is not set
    CONFIG_PKG_SKELL=y
    # CONFIG_PKG_SKELL_WANT_TERMINFO is not set
    # CONFIG_PKG_STRACE is not set
    CONFIG_PKG_SYSCONFIG=y
    # CONFIG_PKG_SYSKLOGD is not set
    # CONFIG_PKG_SYSVINIT is not set
    # CONFIG_PKG_TAR is not set
    # CONFIG_PKG_TCPDUMP is not set
    # CONFIG_PKG_TCP_WRAPPERS is not set
    # CONFIG_PKG_TEXINFO is not set
    # CONFIG_PKG_TIME is not set
    # CONFIG_PKG_TIMEZONE is not set
    # CONFIG_PKG_TINYLOGIN is not set
    # CONFIG_PKG_UDEV is not set
    # CONFIG_PKG_USBUTILS is not set
    # CONFIG_PKG_UCLINUX_CKSUM is not set
    # CONFIG_PKG_UTIL_LINUX is not set
    # CONFIG_PKG_U_BOOT_TOOLS is not set
    # CONFIG_PKG_UNZIP is not set
    # CONFIG_PKG_VIM is not set
    # CONFIG_PKG_VSFTPD is not set
    # CONFIG_PKG_WGET is not set
    # CONFIG_PKG_WHICH is not set
    # CONFIG_PKG_WIRELESS_TOOLS is not set
    # CONFIG_PKG_YAFFS_UTILS is not set
    CONFIG_PKG_ZLIB=y

    #
    # Target System Configuration
    #

    #
    # Options
    #
    CONFIG_SYSCFG_HOSTNAME="freescale"
    # CONFIG_SYSCFG_WANT_LOGIN_TTY is not set
    CONFIG_SYSCFG_MODLIST=""
    # CONFIG_SYSCFG_START_DEVFSD is not set
    # CONFIG_SYSCFG_START_NETWORK is not set
    # CONFIG_SYSCFG_SETTIME is not set
    # CONFIG_SYSCFG_START_SYSLOG is not set
    # CONFIG_SYSCFG_START_INETD is not set

    #
    # Target Image Generation
    #

    #
    # Options
    #

    #
    # Choose your root filesystem image type
    #
    # CONFIG_DEPLOYMENT_JFFS2 is not set
    # CONFIG_DEPLOYMENT_RAMDISK is not set
    # CONFIG_DEPLOYMENT_CRAMFS is not set
    CONFIG_DEPLOYMENT_ROMFS=y
    # CONFIG_DEPLOYMENT_NFS is not set
    CONFIG_SYSCFG_DEPLOYMENT_STYLE="ROMFS"
    # CONFIG_DEPLOYMENT_ZIP is not set
    # CONFIG_SYSCFG_READONLY_FS is not set
    CONFIG_SYSCFG_RAM_DIRS="/tmp /etc /var"
    CONFIG_DEPLOYMENT_ROOTFS_DIR=""
    # CONFIG_DEPLOYMENT_ROOTFS_KEEPSTAGE is not set
    CONFIG_DEPLOYMENT_RM_DOCS=y
    CONFIG_DEPLOYMENT_RM_BOOT=y
    CONFIG_DEPLOYMENT_RM_USR_SRC=y
    CONFIG_DEPLOYMENT_RM_USR_INCLUDE=y
    CONFIG_DEPLOYMENT_RM_USER_DIRS=""
    CONFIG_DEPLOYMENT_RM_USER_FILES=""
    CONFIG_DEPLOYMENT_RM_STATIC_LIBS=y
    CONFIG_DEPLOYMENT_STRIP=y
    CONFIG_DEPLOYMENT_PADDING_KB="0"
    CONFIG_CAP_UCLIBC=y
    CONFIG_CAP_LFS_5_1=y
    CONFIG_INITTAB_LINE="::respawn:/sbin/getty -L console 0 screen"
    CONFIG_LTIB_RELEASE="6.2.1"
    ylyang5@yahoo.com
    New Member
    New Member
    Posts:


    --
    01 Apr 2008 07:10 AM
    Finally I found that this package cause the problem:

    CONFIG_PKG_APPTRK_M68K=y

    If I don't select it like the following, the problem goes away.

    # CONFIG_PKG_APPTRK_M68K is not set

    I used Freescale CodeWarrior IDE to debug my software so APPTRK needs to be enabled.

    I still don't know why LogicLoader doesn't like this package. dBUG works well with it. Currently I disable this package so that I can go ahead to release my software. Later I will switch to GDB to debug my software.

    Thanks for your time.
    mcelweep@msoe.edu
    New Member
    New Member
    Posts:


    --
    02 Apr 2008 12:20 PM
    Interesting that it turned out to be this apptrk? You said the codewarrior IDE needs it? It probably does some funny mounting / JTAG stuff. I am glad that you got your issue resolved. If you want to get more information about exactly what that package was doing, take look in the ltib\dist\lfs-5.1\ folder for the setup stuff. Also take a look at the package itself.
    You are not authorized to post a reply.