[uClinux-dev] uClinux-dist-test-20050808 linux 2.6.x MCF5282

boris-nikolov.koprinarov at stud.tu-ilmenau.de boris-nikolov.koprinarov at stud.tu-ilmenau.de
Tue Aug 23 04:52:35 EDT 2005



Hi ,
I am trying to get uClinux-dist-test-20050808 with kernel version 2.6.x  on
mcf5282 board running. In conf file seems everything ok and the compilation is
running without mistakes. But when I start the uClinux it doses nothing. I
become no messages on the screen. I looked in the vmlinux.lds  and
vmlinux.lds.S files, but  there is everything all right. Can you tell me where
to look for? I tried to debug the kernel, but I am not sure if this is the
right way. GDB stops on the function init_bootmem_core and after that it is
going in the default_idle. Here is my .config file:


# Automatically generated make config: don't edit
# Linux kernel version: 2.6.12-uc0
# Mon Aug 22 14:37:11 2005
#
CONFIG_M68KNOMMU=y
# CONFIG_MMU is not set
# CONFIG_FPU is not set
CONFIG_UID16=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
CONFIG_GENERIC_CALIBRATE_DELAY=y

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

#
# General setup
#
CONFIG_LOCALVERSION=""
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_SYSCTL is not set
# CONFIG_AUDIT is not set
# CONFIG_HOTPLUG is not set
CONFIG_KOBJECT_UEVENT=y
# CONFIG_IKCONFIG is not set
CONFIG_EMBEDDED=y
# CONFIG_KALLSYMS is not set
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_BASE_FULL=y
# CONFIG_FUTEX is not set
# CONFIG_EPOLL is not set
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_CC_ALIGN_FUNCTIONS=0
CONFIG_CC_ALIGN_LABELS=0
CONFIG_CC_ALIGN_LOOPS=0
CONFIG_CC_ALIGN_JUMPS=0
CONFIG_BASE_SMALL=0

#
# Loadable module support
#
# CONFIG_MODULES is not set

#
# 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_M523x is not set
# CONFIG_M5249 is not set
# CONFIG_M5271 is not set
# CONFIG_M5272 is not set
# CONFIG_M5275 is not set
CONFIG_M528x=y
# CONFIG_M5307 is not set
# CONFIG_M5407 is not set
CONFIG_COLDFIRE=y
# CONFIG_CLOCK_AUTO is not set
# CONFIG_CLOCK_11MHz is not set
# CONFIG_CLOCK_16MHz is not set
# CONFIG_CLOCK_20MHz is not set
# CONFIG_CLOCK_24MHz is not set
# CONFIG_CLOCK_25MHz is not set
# CONFIG_CLOCK_33MHz is not set
# CONFIG_CLOCK_40MHz is not set
# CONFIG_CLOCK_45MHz is not set
# CONFIG_CLOCK_48MHz is not set
# CONFIG_CLOCK_50MHz is not set
# CONFIG_CLOCK_54MHz is not set
# CONFIG_CLOCK_60MHz is not set
# CONFIG_CLOCK_62_5MHz is not set
CONFIG_CLOCK_64MHz=y
# CONFIG_CLOCK_66MHz is not set
# CONFIG_CLOCK_70MHz is not set
# CONFIG_CLOCK_100MHz is not set
# CONFIG_CLOCK_140MHz is not set
# CONFIG_CLOCK_150MHz is not set
# CONFIG_CLOCK_166MHz is not set

#
# Platform
#
# CONFIG_M5282EVB is not set
CONFIG_COBRA5282=y
# CONFIG_SOM5282EM is not set
CONFIG_senTec=y
# CONFIG_LARGE_ALLOCS is not set
CONFIG_4KSTACKS=y
# CONFIG_RAMAUTO is not set
# CONFIG_RAM4MB is not set
CONFIG_RAM8MB=y
# CONFIG_RAM16MB is not set
# CONFIG_RAM32MB is not set
# CONFIG_RAMAUTOBIT is not set
# CONFIG_RAM8BIT is not set
# CONFIG_RAM16BIT is not set
CONFIG_RAM32BIT=y
CONFIG_RAMKERNEL=y
# CONFIG_ROMKERNEL is not set
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_MISC is not set

#
# Power management options
#
# CONFIG_PM is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
# CONFIG_FW_LOADER 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

#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=y
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_GEN_PROBE=y
# CONFIG_MTD_CFI_ADV_OPTIONS 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_CFI_INTELEXT is not set
# CONFIG_MTD_CFI_AMDSTD is not set
# CONFIG_MTD_CFI_STAA is not set
CONFIG_MTD_RAM=y
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PHYSMAP is not set
CONFIG_MTD_UCLINUX=y
# CONFIG_MTD_SNAPGEARuC is not set

#
# Self-contained MTD device drivers



  And the log from bdm-gdb :


gdb)
31            for (; temp; temp--)
(gdb)

35        if (count & 2)
(gdb)

41        if (count & 1)
(gdb)

46        return xs;
(gdb)
47      }
(gdb)

init_bootmem_core (pgdat=0x4e754e71, mapstart=1314258944, start=1215889424,
end=828393582) at mm/bootmem.c:71
71              return mapsize;
(gdb)

72      }

(gdb)








Program received signal SIGTSTP, Stopped (user).
default_idle () at arch/m68knommu/kernel/process.c:52
52                      local_irq_disable();
(gdb) c
Continuing.


P.S: I tried to debug with DDD, but I got “Segmentation Fault” when I am
connecting with the target. With m68k-bdm-elf-gdb everything is running and I
become no errors.  I have started DDD with --trace option, but that dose not
helped.
Do you have any ideas how to fix this problem.

Thanks

Boris Koprinarov


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the uClinux-dev mailing list