[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Booting uClinux



Ryan,

Attached please find the file. Hope it helps!

Cheers,
Tyrone

On 4/26/05, Ryan Ahern <supernaut@escaperisk.com> wrote:
> Tyrone,
> 
>     Would you mind posting your .config file from your linux-2.4.x
> directory? I've been playing around all day with different kernel settings
> to no avail.  It still doesn't seem to pick up the filesystem.  I know the
> hardware is setup right since your image.bin still boots.  I even downgraded
> to 2.4.27 in an effort to mimic your image to a 'T'. 
> 
>  Thanks for all the help you've provided so far -- hopefully I can get this
> thing figured out soon.
> 
> -- Ryan 
> 
> 
> 
> Ryan Ahern wrote: 
> She boots without much of a problem! Its a good start.  I've based my design
> on the files Tyrone provided and his kernel image (2.4.27-uc1) works fine. 
> The issue I'm running into now, however, is that the kernel still hangs at
> "Freeing init memory" whenever I compile my kernel (2.4.29-uc0).  Thanks to
> Tyrone, I know my EDK configuration is correct now... is there anything I'm
> missing?
> 
> I've modified the following files to reflect the design:
>     drivers/mtd/maps/mbvanilla-flash.c
>     include/asm-microblaze/mbvanilla.h
> Is there anything else?
> 
> Also, does anyone know what the BUS_WIDTH variable in mbvanilla-flash.c
> represents? Evidently not the data bus width of the flash as I had
> originally thought.
> 
> Thanks,
>     Ryan Ahern
> 
> 
> Ryan Ahern wrote: 
> This is a huge help! Thanks a lot for the new direction... I'll let you know
> how it goes.
> 
> -- Ryan
> 
> 
> Tyrone Kwok wrote: 
> Ryan,

You can download my EDK 6.2 project
> at:
http://www.eee.hku.hk/~tokwok/MB-3s400c.zip

Please
> kindly note that:
1. My system runs at 40MHz.
2. In the ZIP file, I have
> included a kernel image (image.bin) for your testing.
3. The flash is only
> used for downloading the kernel image to RAM, and hence
 I haven't enabled
> the flash in uClinux yet.

Hope this helps!

Cheers,
Tyrone


On 4/20/05,
> Ryan Ahern <supernaut@escaperisk.com> wrote:
 
> Tyrone,

 What did you use to test the flash to ensure proper
> reading/writing? 

 Would you also mind posting your MHS file? I'd really
> like to take a
look and see where my Flash settings are off.

 Thanks,
> Ryan

Tyrone Kwok wrote: 
Hi,
 
> I am also using the NuHorizons S400 board and using EDK6.2. I
 
> would
 
> like to ask if
you have enabled the RAM filesystem support in:

Memory
 
> Technology Devices (MTD) | Mapping drivers for chip access |
 
> Generic uClinux
 
> RAM/ROM filesystem support
 
> BTW, with reference to David's S1500 design
 
> files, I am able to use
 
> the flash on that board to download the kernel
 
> image. (Thanks David
 
> ;-)

Cheers,
Tyrone

 
 
> ___________________________ microblaze-uclinux mailing
> list
microblaze-uclinux@itee.uq.edu.au Project Home Page
> :
http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing
List Archive
> :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
 
> ___________________________
microblaze-uclinux mailing
> list
microblaze-uclinux@itee.uq.edu.au
Project Home Page :
> http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing
> List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/



> 
> ___________________________ microblaze-uclinux mailing list
> microblaze-uclinux@itee.uq.edu.au Project Home Page :
> http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux Mailing
> List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/ 
> ___________________________ microblaze-uclinux mailing list
> microblaze-uclinux@itee.uq.edu.au Project Home Page :
> http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux Mailing
> List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/ 
> ___________________________ microblaze-uclinux mailing list
> microblaze-uclinux@itee.uq.edu.au Project Home Page :
> http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux Mailing
> List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
#
# Automatically generated by make menuconfig: don't edit
#
CONFIG_UCLINUX=y
CONFIG_UID16=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
# CONFIG_ISA is not set
# CONFIG_ISAPNP is not set
# CONFIG_EISA is not set
# CONFIG_MCA is not set

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
# CONFIG_MODULES is not set
CONFIG_MICROBLAZE=y

#
# Processor type and features
#
# CONFIG_UCLINUX_AUTO is not set
CONFIG_MBVANILLA=y
# CONFIG_EGRET01 is not set
# CONFIG_SUZAKU is not set
CONFIG_CPU_CLOCK_FREQ=40000000
# CONFIG_MICROBLAZE_MSRSETCLR is not set
# CONFIG_MICROBLAZE_HARD_MULT is not set
# CONFIG_MICROBLAZE_HARD_DIV is not set
# CONFIG_MICROBLAZE_HARD_BARREL is not set
CONFIG_MICROBLAZE_ICACHE=y
CONFIG_MICROBLAZE_ICACHE_BASE=0x80000000
CONFIG_MICROBLAZE_ICACHE_SIZE=2048
CONFIG_MICROBLAZE_DCACHE=y
CONFIG_MICROBLAZE_DCACHE_BASE=0x80000000
CONFIG_MICROBLAZE_DCACHE_SIZE=2048
CONFIG_MICROBLAZE_DEBUG_UART=y
CONFIG_XILINX_GPIO=y
# CONFIG_XILINX_ENET is not set
# CONFIG_XILINX_SYSACE is not set
# CONFIG_MBVANILLA_CMDLINE is not set
CONFIG_ZERO_BSS=y
CONFIG_MICROBLAZE_DEBUGGING=y

#
# General setup
#
# CONFIG_NET is not set
# CONFIG_DISK is not set
# CONFIG_HOTPLUG is not set
# CONFIG_PCMCIA is not set
# CONFIG_SYSVIPC is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_SYSCTL is not set
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_FLAT=y
CONFIG_BINFMT_ZFLAT=y
# CONFIG_CONTIGUOUS_PAGE_ALLOC is not set
# CONFIG_MEM_MAP is not set
# CONFIG_NO_MMU_LARGE_ALLOCS is not set

#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=y
# CONFIG_MTD_DEBUG is not set
CONFIG_MTD_PARTITIONS=y
# CONFIG_MTD_CONCAT is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
# CONFIG_MTD_CMDLINE_PARTS is not set
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 is not set
# CONFIG_MTD_JEDECPROBE is not set
# CONFIG_MTD_GEN_PROBE 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
# CONFIG_MTD_OBSOLETE_CHIPS is not set
# CONFIG_MTD_AMDSTD is not set
# CONFIG_MTD_SHARP is not set
# CONFIG_MTD_JEDEC is not set
# CONFIG_MTD_PSD4256G is not set

#
# Mapping drivers for chip access
#
# CONFIG_MTD_PHYSMAP is not set
# CONFIG_MTD_DRAGONIX is not set
# CONFIG_MTD_NETtel is not set
# CONFIG_MTD_SNAPGEODE is not set
# CONFIG_MTD_NETteluC is not set
# CONFIG_MTD_MBVANILLA is not set
# CONFIG_MTD_SUZAKU is not set
# CONFIG_MTD_KeyTechnology is not set
# CONFIG_MTD_SED_SIOSIII is not set
CONFIG_MTD_UCLINUX=y
# CONFIG_MTD_PCI is not set
# CONFIG_MTD_PCMCIA is not set

#
# Self-contained MTD device drivers
#
# CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLKMTD is not set
# CONFIG_MTD_DOC1000 is not set
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
# CONFIG_MTD_DOC2001PLUS is not set
# CONFIG_MTD_DOCPROBE is not set

#
# NAND Flash Device Drivers
#
# CONFIG_MTD_NAND is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_CISS_SCSI_TAPE is not set
# CONFIG_CISS_MONITOR_THREAD is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_BLK_DEV_RAMDISK_DATA is not set
# CONFIG_BLK_DEV_BLKMEM is not set
# CONFIG_BLK_STATS is not set

#
# Character devices
#
# CONFIG_LEDMAN is not set
# CONFIG_SNAPDOG is not set
# CONFIG_DS1302 is not set
# CONFIG_M41T11M6 is not set
# CONFIG_VT is not set
# CONFIG_SERIAL is not set
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set
# CONFIG_SERIAL_8250_CONSOLE is not set
# CONFIG_SERIAL_8250_EXTENDED is not set
# CONFIG_SERIAL_8250_MANY_PORTS is not set
# CONFIG_SERIAL_8250_SHARE_IRQ is not set
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
# CONFIG_SERIAL_8250_MULTIPORT is not set
# CONFIG_SERIAL_8250_HUB6 is not set
# CONFIG_UNIX98_PTYS is not set

#
# I2C support
#
# CONFIG_I2C is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_MOUSE is not set
# CONFIG_EDB7312_TS is not set

#
# Joysticks
#
# CONFIG_INPUT_GAMEPORT is not set
# CONFIG_INPUT_NS558 is not set
# CONFIG_INPUT_LIGHTNING is not set
# CONFIG_INPUT_PCIGAME is not set
# CONFIG_INPUT_CS461X is not set
# CONFIG_INPUT_EMU10K1 is not set
# CONFIG_INPUT_SERIO is not set
# CONFIG_INPUT_SERPORT is not set
# CONFIG_INPUT_ANALOG is not set
# CONFIG_INPUT_A3D is not set
# CONFIG_INPUT_ADI is not set
# CONFIG_INPUT_COBRA is not set
# CONFIG_INPUT_GF2K is not set
# CONFIG_INPUT_GRIP is not set
# CONFIG_INPUT_INTERACT is not set
# CONFIG_INPUT_TMDC is not set
# CONFIG_INPUT_SIDEWINDER is not set
# CONFIG_INPUT_IFORCE_USB is not set
# CONFIG_INPUT_IFORCE_232 is not set
# CONFIG_INPUT_WARRIOR is not set
# CONFIG_INPUT_MAGELLAN is not set
# CONFIG_INPUT_SPACEORB is not set
# CONFIG_INPUT_SPACEBALL is not set
# CONFIG_INPUT_STINGER is not set
# CONFIG_INPUT_DB9 is not set
# CONFIG_INPUT_GAMECON is not set
# CONFIG_INPUT_TURBOGRAFX is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_IPMI_PANIC_EVENT is not set
# CONFIG_IPMI_DEVICE_INTERFACE is not set
# CONFIG_IPMI_KCS is not set
# CONFIG_IPMI_WATCHDOG is not set

#
# Controller Area Network Cards/Chips
#
# CONFIG_CAN4LINUX is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_SCx200 is not set
# CONFIG_SCx200_GPIO is not set
# CONFIG_AMD_PM768 is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set

#
# Direct Rendering Manager (XFree86 DRI support)
#
# CONFIG_DRM is not set

#
# Misc devices
#
# CONFIG_MICROBLAZE_FSLFIFO is not set

#
# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_QFMT_V2 is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW 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_BEFS_DEBUG is not set
# CONFIG_BFS_FS is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_JBD_DEBUG is not set
# CONFIG_FAT_FS is not set
# CONFIG_MSDOS_FS is not set
# CONFIG_UMSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_TMPFS is not set
CONFIG_RAMFS=y
# CONFIG_ISO9660_FS is not set
# CONFIG_JOLIET is not set
# CONFIG_ZISOFS is not set
# CONFIG_JFS_FS is not set
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
CONFIG_DEVFS_FS=y
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
CONFIG_ROMFS_FS=y
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
# CONFIG_UDF_FS is not set
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set
# CONFIG_XFS_FS is not set
# CONFIG_XFS_QUOTA is not set
# CONFIG_XFS_RT is not set
# CONFIG_XFS_TRACE is not set
# CONFIG_XFS_DEBUG is not set
# CONFIG_NCPFS_NLS is not set
# CONFIG_SMB_FS is not set
# CONFIG_ZISOFS_FS is not set
# CONFIG_COREDUMP_PRINTK is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
# CONFIG_SMB_NLS is not set
# CONFIG_NLS is not set

#
# Sound
#
# CONFIG_SOUND is not set

#
# USB support
#
# CONFIG_USB is not set

#
# Support for USB gadgets
#
# CONFIG_USB_GADGET is not set

#
# Kernel hacking
#
CONFIG_FULLDEBUG=y
# CONFIG_MAGIC_SYSRQ is not set
# CONFIG_PROFILE is not set
# CONFIG_NO_KERNEL_MSG is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y