Hello scott. I can able make the kernel up but it hangs after probing serial driver as shown below:
It has to boot further but its not happenig.. I have attached the file i should get the log as this i also mentioned where it hangs... what may be the problem with this how could i fix this issue. manukumar signal-networks On Thu, 2012-05-31 at 11:21 -0500, Scott Wood wrote: > On 05/30/2012 11:15 PM, Manukumar wrote: > > thanks scott. > > > > i loaded my u-boot image to nand flash its fine. > > and also > > I need my kernel image and rootfs also in nand flash > > so that my system should make kernel UP using nand flash. > > how can i do this using nand flash as we are using only nand flash as > > boot device. > > Again, you need to use "nand read" to move the images from NAND to RAM > before booting. > > -Scott >
U-Boot 2010.12 (May 11 2012 - 10:14:18) CPU0: P1021, Version: 1.1, (0x80e40111) Core: E500, Version: 5.1, (0x80212051) Clock Configuration: CPU0:533.333 MHz, CPU1:1200 MHz, CCB:266.667 MHz, DDR:100 MHz (200 MT/s data rate) (Asynchronous), LBC:16.667 MHz QE:266.667 MHz L1: D-cache 32 kB enabled I-cache 32 kB enabled Board: P1021RDB CPLD: V15.15 PCBA: V15.0 Error reading i2c boot information! I2C: ready SPI: ready DRAM: DDR: failed to read SPD from address 82 SPD error! Trying fallback to raw timing calculation Detected UDIMM(s) The choosen cas latency 5 is too large 1 GiB (DDR3, 32-bit, CL=6, ECC off) **board_init_r** L2: 256 KB enabled CPU up timeout. CPU up mask is 1 should be 3 NAND: fsl_elbc_nand: address did not match any chip selects 0 MiB MMC: FSL_ESDHC: 0 *** Warning - bad CRC, using default environment PCIe1: disabled PCIe2: disabled In: serial Out: serial Err: serial Net: PHY_ADDR=4 PHY_ADDR3=5 eTSEC1: PHY is AR8021 (4dd041) MII read Phy 4 debug reg address 0x0b val:bc60 PHY_ADDR=0 PHY_ADDR3=5 eTSEC2: PHY is AR8021 (4dd041) PHY_ADDR=5 PHY_ADDR3=5 eTSEC3: No support for PHY id ffffffff; assuming generic eTSEC1, eTSEC2, eTSEC3 Hit any key to stop autoboot: 0 => setenv bootargs root=/dev/nfs rw nfsroot=192.168.1.68:/home/project/ICMv1.1/filesystem ip=192.168.1.250:192.168.1.68:192.1680 => setenv ipaddr 192.168.1.250; setenv serverip 192.168.1.68; setenv ethaddr 00:1a:b0:00:02:50; tftp 1000000 uImage_icm_v1.1;tf0 SIG_PRIN: phy addr 4 SIG_PRIN: mii_parse_link SIG_PRIN: adjust_link Speed: 100, full duplex Using eTSEC1 device TFTP from server 192.168.1.68; our IP address is 192.168.1.250 Filename 'uImage_icm_v1.1'. Load address: 0x1000000 Loading: ############Got error 14 T ##########################Got error 14 T ######Got error 14 T #################Got error 4 Abort SIG_PRIN: phy addr 4 SIG_PRIN: mii_parse_link SIG_PRIN: adjust_link Speed: 100, full duplex Using eTSEC1 device TFTP from server 192.168.1.68; our IP address is 192.168.1.250 Filename 'p1021rdb_32b.dtb'. Load address: 0xc00000 Loading: ## done Bytes transferred = 15066 (3ada hex) WARNING: adjusting available memory to 30000000 ## Booting kernel from Legacy Image at 01000000 ... Image Name: Signal ICMv1.1 Created: 2012-05-31 21:36:15 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3559856 Bytes = 3.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... Bad Data CRC ERROR: can't get kernel image! => setenv ipaddr 192.168.1.250; setenv serverip 192.168.1.68; setenv ethaddr 00:1a:b0:00:02:50; tftp 1000000 uImage_icm_v1.1;tf0 SIG_PRIN: phy addr 4 SIG_PRIN: mii_parse_link SIG_PRIN: adjust_link Speed: 100, full duplex Using eTSEC1 device TFTP from server 192.168.1.68; our IP address is 192.168.1.250 Filename 'uImage_icm_v1.1'. Load address: 0x1000000 Loading: ########################################Got error 4 T #############Got error 14 T ############ ################################################Got error 14 T ################# ################################################################# ###############################################Got error 4 T # done Bytes transferred = 3559920 (3651f0 hex) SIG_PRIN: phy addr 4 SIG_PRIN: mii_parse_link SIG_PRIN: adjust_link Speed: 100, full duplex Using eTSEC1 device TFTP from server 192.168.1.68; our IP address is 192.168.1.250 Filename 'p1021rdb_32b.dtb'. Load address: 0xc00000 Loading: ## done Bytes transferred = 15066 (3ada hex) WARNING: adjusting available memory to 30000000 ## Booting kernel from Legacy Image at 01000000 ... Image Name: Signal ICMv1.1 Created: 2012-05-31 21:36:15 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3559856 Bytes = 3.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 00c00000 Booting using the fdt blob at 0xc00000 Uncompressing Kernel Image ... OK Loading Device Tree to 00ff9000, end 00fffad9 ... OK WARNING: could not find compatiblenode fsl-usb2-dr: FDT_ERR_NOTFOUND. Using P1021 RDB-PC machine description Memory CAM mapping: 256/256/256 Mb, residual: 256Mb Linux version 2.6.35 (root@NatLAB7) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-55) ) #16 SMP Fri Jun 1 03:06:05 IST 2012 CPU maps initialized for 1 thread per core bootconsole [udbg0] enabled setup_arch: bootmem mpc85xx_rdb_setup_arch() Could not find Quicc Engine node MPC85xx RDB board from Freescale Semiconductor arch: exit Zone PFN ranges: DMA 0x00000000 -> 0x00030000 Normal empty HighMem 0x00030000 -> 0x00040000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00040000 MMU: Allocated 1088 bytes of context maps for 255 contexts PERCPU: Embedded 7 pages/cpu @c0f33000 s6880 r8192 d13600 u65536 pcpu-alloc: s6880 r8192 d13600 u65536 alloc=16*4096 pcpu-alloc: [0] 0 [0] 1 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096 Kernel command line: root=/dev/nfs rw nfsroot=192.168.1.68:/home/project/ICMv1.1/filesystem ip=192.168.1.250:192.168.1.68:192.10 PID hash table entries: 4096 (order: 2, 16384 bytes) Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1032048k/1048576k available (6856k kernel code, 16528k reserved, 288k data, 189k bss, 252k init) Kernel virtual memory layout: * 0xfffbf000..0xfffff000 : fixmap * 0xff800000..0xffc00000 : highmem PTEs * 0xff7fe000..0xff800000 : early ioremap * 0xf1000000..0xff7fe000 : vmalloc & ioremap SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 Hierarchical RCU implementation. RCU-based detection of stalled CPUs is disabled. Verbose stalled-CPUs detection is disabled. NR_IRQS:512 mpic: Setting up MPIC " OpenPIC " version 1.2 at ffe40000, max 2 CPUs mpic: ISU size: 256, shift: 8, mask: ff mpic: Initializing for 256 sources Could not find qe-ic node clocksource: timebase mult[7800001] shift[22] registered Console: colour dummy device 80x25 pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 mpic: requesting IPIs... Processor 1 is stuck. Brought up 1 CPUs xor: measuring software checksum speed 8regs : 654.000 MB/sec 8regs_prefetch: 563.000 MB/sec 32regs : 651.000 MB/sec 32regs_prefetch: 579.000 MB/sec xor: using function: 8regs (654.000 MB/sec) NET: Registered protocol family 16 tdm_init PCI: Probing PCI hardware bio: create slab <bio-0> at 0 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb raid6: int32x1 76 MB/s raid6: int32x2 133 MB/s raid6: int32x4 190 MB/s raid6: int32x8 159 MB/s raid6: using algorithm int32x4 (190 MB/s) Freescale Elo / Elo Plus DMA driver Advanced Linux Sound Architecture Driver Version 1.0.23. Switching to clocksource timebase NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1048576 bytes) TCP bind hash table entries: 65536 (order: 7, 524288 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered UDP hash table entries: 512 (order: 2, 16384 bytes) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) NET: Registered protocol family 1 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. SIGNET: qe_drv_init fsl-elo-dma ffe21300.dma: #0 (fsl,eloplus-dma-channel), irq 20 fsl-elo-dma ffe21300.dma: #1 (fsl,eloplus-dma-channel), irq 21 fsl-elo-dma ffe21300.dma: #2 (fsl,eloplus-dma-channel), irq 22 fsl-elo-dma ffe21300.dma: #3 (fsl,eloplus-dma-channel), irq 23 MPIC global timer init done... MPIC EXTERNAL INTERRUPT init done audit: initializing netlink socket (disabled) type=2000 audit(5.495:1): initialized highmem bounce pool size: 64 pages Installing knfsd (copyright (C) 1996 o...@monad.swb.de). Slow work thread pool: Starting up Slow work thread pool: Ready NTFS driver 2.1.29 [Flags: R/O]. JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc. JFFS2: default compression mode: priority SGI XFS with security attributes, large block/inode numbers, no debug enabled msgmni has been set to 1503 alg: No test for stdrng (krng) async_tx: api initialized (async) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) Generic non-volatile memory driver v1.1 Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42) is a 16550A (---------------------manu----------------------->>>>> after this it hangs in our custom board.) console [ttyS0] enabled, bootconsole disabled console [ttyS0] enabled, bootconsole disabled serial8250.0: ttyS1 at MMIO 0xffe04600 (irq = 42) is a 16550A Freescale QUICC Engine UART device driver brd: module loaded loop: module loaded st: Version 20081215, fixed bufsize 32768, s/g segs 256 of-flash ef000000.nor: do_map_probe() failed fsl-lbc ffe05000.localbus: address did not match any chip selects fsl-espi ffe07000.spi: Freescale eSPI Controller driver at 0xf110c000 (irq = 59) fsl_m25p80 spi32766.0: m25p80 (1024 Kbytes) Creating 5 MTD partitions on "SPIFLASH0": 0x000000000000-0x000000080000 : "SPI (RO) U-Boot Image" ftl_cs: FTL header not found. 0x000000080000-0x000000100000 : "SPI (RO) DTB Image" ftl_cs: FTL header not found. 0x000000100000-0x000000500000 : "SPI (RO) Linux Kernel Image" mtd: partition "SPI (RO) Linux Kernel Image" is out of reach -- disabled ftl_cs: FTL header not found. 0x000000500000-0x000000900000 : "SPI (RO) Compressed RFS Image" mtd: partition "SPI (RO) Compressed RFS Image" is out of reach -- disabled ftl_cs: FTL header not found. 0x000000900000-0x000001000000 : "SPI (RW) JFFS2 RFS" mtd: partition "SPI (RW) JFFS2 RFS" is out of reach -- disabled ftl_cs: FTL header not found. Fixed MDIO Bus: probed e1000e: Intel(R) PRO/1000 Network Driver - 1.0.2-k4 e1000e: Copyright (c) 1999 - 2009 Intel Corporation. /proc/ptp_1588 created IEEE1588: ptp-timer devicepresent in the system IEEE1588: ptp-timer initialized eth0: Gianfar Ethernet Controller Version 1.4-skbr1.1.5, 00:1a:b0:00:02:50 eth0: Running with NAPI enabled eth0: RX BD ring size for Q[0]: 128 eth0: RX BD ring size for Q[1]: 128 eth0: RX BD ring size for Q[2]: 128 eth0: RX BD ring size for Q[3]: 128 eth0: RX BD ring size for Q[4]: 128 eth0: RX BD ring size for Q[5]: 128 eth0: RX BD ring size for Q[6]: 128 eth0: RX BD ring size for Q[7]: 128 eth0: TX BD ring size for Q[0]: 128 eth0: TX BD ring size for Q[1]: 128 eth0: TX BD ring size for Q[2]: 128 eth0: TX BD ring size for Q[3]: 128 eth0: TX BD ring size for Q[4]: 128 eth0: TX BD ring size for Q[5]: 128 eth0: TX BD ring size for Q[6]: 128 eth0: TX BD ring size for Q[7]: 128 IEEE1588: ptp-timer devicepresent in the system IEEE1588: ptp-timer initialized eth1: Gianfar Ethernet Controller Version 1.4-skbr1.1.5, 00:00:00:00:00:00 eth1: Running with NAPI enabled eth1: RX BD ring size for Q[0]: 128 eth1: RX BD ring size for Q[1]: 128 eth1: RX BD ring size for Q[2]: 128 eth1: RX BD ring size for Q[3]: 128 eth1: RX BD ring size for Q[4]: 128 eth1: RX BD ring size for Q[5]: 128 eth1: RX BD ring size for Q[6]: 128 eth1: RX BD ring size for Q[7]: 128 eth1: TX BD ring size for Q[0]: 128 eth1: TX BD ring size for Q[1]: 128 eth1: TX BD ring size for Q[2]: 128 eth1: TX BD ring size for Q[3]: 128 eth1: TX BD ring size for Q[4]: 128 eth1: TX BD ring size for Q[5]: 128 eth1: TX BD ring size for Q[6]: 128 eth1: TX BD ring size for Q[7]: 128 Freescale PowerQUICC MII Bus: probed mdio_bus mdio@ffe24000: error probing PHY at address 5 Freescale PowerQUICC MII Bus: probed Freescale PowerQUICC MII Bus: probed ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver fsl-ehci fsl-ehci.0: Found HC with no IRQ! usbcore: registered new interface driver cdc_acm cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver usbserial usbserial: USB Serial Driver core Freescale USB OTG Driver loaded, $Revision: 1.55 $ i2c /dev entries driver rtc-pt7c4338 0-0068: rtc core: registered pt7c4338 as rtc0 PowerPC Book-E Watchdog Timer Loaded md: raid6 personality registered for level 6 md: raid5 personality registered for level 5 md: raid4 personality registered for level 4 sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman mmc0: SDHCI controller on ffe2e000.sdhci [ffe2e000.sdhci] using DMA <6>mknod tdm c 239 0 tdm_dev_init: registering the character device adap 0 tdm_fsl_starlite: Freescale Starlite TDM Driver Adapter:Init ucc_tdm: Freescale QE UCC TDM Driver:Init Freescale P1022 DS ALSA SoC fabric driver Freescale Synchronous Serial Interface (SSI) ASoC Driver ALSA device list: No soundcards found. IPv4 over IPv4 tunneling driver GRE over IPv4 tunneling driver TCP cubic registered Initializing XFRM netlink socket NET: Registered protocol family 10 IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 NET: Registered protocol family 15 802.1Q VLAN Support v1.8 Ben Greear <gree...@candelatech.com> All bugs added by David S. Miller <da...@redhat.com> rtc-pt7c4338 0-0068: setting system clock to 2000-01-01 00:01:25 UTC (946684885) ADDRCONF(NETDEV_UP): eth0: link is not ready IP-Config: Complete: device=eth0, addr=192.168.1.250, mask=255.255.255.0, gw=192.168.1.1, host=192.168.1.250, domain=, nis-domain=(none), bootserver=192.168.1.68, rootserver=192.168.1.68, rootpath= md: Waiting for all devices to be available before autodetect md: If you don't use raid, use raid=noautodetect md: Autodetecting RAID arrays. md: Scanned 0 and added 0 devices. md: autorun ... md: ... autorun DONE. Looking up port of RPC 100003/2 on 192.168.1.68 PHY: mdio@ffe24000:04 - Link is Up - 100/Full ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Looking up port of RPC 100005/1 on 192.168.1.68 VFS: Mounted root (nfs filesystem) on device 0:12. Freeing unused kernel memory: 252k init udev: starting version 141 udevd-event[1242]: error changing netif name eth0 to eth1: Device or resource busy FAT: unable to read boot sector EXT3-fs (md0): error: unable to read superblock EXT2-fs (md0): error: unable to read superblock EXT3-fs (md0): error: unable to read superblock EXT2-fs (md0): error: unable to read superblock FAT: unable to read boot sector INIT: Entering runlevel: 5 Starting OpenBSD Secure Shell server: sshd Privilege separation user sshd does not exist starting Busybox HTTP Daemon: httpd... done. Starting network benchmark server: netserver. sh: bad number creating NFS state directory: done starting 8 nfsd kernel threads: svc: failed to register lockdv1 RPC service (errno 97). done starting mountd: done starting statd: done Starting random number generator daemoncan't open /dev/hwrng: No such file or directory . Starting Samba: smbd nmbd. Starting syslogd/klogd: done OpenEmbedded Linux p1021rdb ttyS0 Mentor Graphics System Builder 3.0-release-20120310 p1021rdb ttyS0 p1021rdb login:
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot