Hi Sascha, The Nand port to imx27ads is booting when I use a Samsung device (128MiB, 3.3V, 8-bit, 512page).
Now my requirement is to boot from a Micron device (256MiB, 3.3V, 8-bit, 2k page). Part num: MT29F2G08AAD I modified the line in imx27ads.c to imx_nand_load_image((void *)TEXT_BASE, 256 * 1024, 2048, (2048 * 64)); //256MB, 2K Q>> Is this correct? I have also commented some lines in nand_get_flash_type which checks the Manf./device ID again! Once modified, I loaded the image to the RAM location 0xa7f00000 and executed. I get the following output. ************************************************************************************************************** U-Boot 2.0.0-rc5-git (Oct 31 2008 - 09:03:01) Board: Freescale i.MX27 ADS cfi_probe: cfi_flash base: 0xc0000000 size: 0x02000000 NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit) Scanning device for bad blocks Using environment in NAND Flash chip id: [1,882,1,01d] mpll: 398999390 Hz spll: 239999725 Hz arm: 398999390 Hz perclk1: 29555510 Hz perclk2: 26599959 Hz perclk3: 66499898 Hz perclk4: 26599959 Hz clkin26: 26000000 Hz ahb: 132999796 Hz ipg: 66499898 Hz Malloc space: 0xa7b00000 -> 0xa7f00000 (size 4 MB) Stack space : 0xa7af8000 -> 0xa7b00000 (size 32 kB) envfs: wrong magic on /dev/env0 no valid environment found on /dev/env0. Using default environment running /env/bin/init... Usage: adds a partition table to a device Hit any key to stop autoboot: 3 type update_kernel [<imagename>] to update kernel into flash type udate_root [<imagename>] to update rootfs into flash uboot:/ ********************************************************************************************************************** But once I program the uboot image to the micron flash, nothing seems to appear on the UART. I am using the Ronetix PEEDI JTAG programmer. 1. Is there anything/anywhere else I should modify the uboot code for the micron nand flash to boot? 2. How can I reduce the frequency of operation through uboot? 3. If I do single stepping, it seems that the first 2k data is being copied successfully from the SRAM to the DDR. But if I execute/give a "go" nothing appears on the UART, but PC=0x00000004. 4. How can I introduce more delay between each NAND operation? 5. How do I enable the DEBUG functions in uboot? or how do I start debuging from this point onwards? Help on these are very much appreciated. Thank You, Tiju Did you know? You can CHAT without downloading messenger. Go to http://in.webmessenger.yahoo.com/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users