As uboot starts up, interrupt the boot to get the uboot prompt. Then
run a printenv command and compare it to the other working roach. If
the configuration is bad, you might not have a useful kernel command
line or mac address available - the latter is need for the network
interface to be initialised.

regards

marc


On Wed, May 9, 2018 at 5:50 AM, Bela Dixit <[email protected]> wrote:
> Hi CASPERites,
>
>      I get a problem when I try to boot ROACH2 via netboot. I tried anther
> ROACH2 board with same machine, it successfully booted. The complete log
> message dumped on minicom during the boot procedure is reported at the end
> of this email.
> Kindly help me to fix the problem.
>
> Thanks & Regards,
> Bela
>
> *****************************************************************************************
> Welcome to minicom 2.7
>
> OPTIONS: I18n
> Compiled on Jan  1 2014, 17:13:19.
> Port /dev/ttyUSB2, 11:07:44
>
> Press CTRL-A Z for help on special keys
>
>
>
> U-Boot 2011.06-rc2-00000-gd422dc0-dirty (Nov 08 2012 - 16:04:14)
>
> CPU:   AMCC PowerPC 440EPx Rev. A at 533.333 MHz (PLB=133 OPB=66 EBC=66)
>        No Security/Kasumi support
>        Bootstrap Option C - Boot ROM Location EBC (16 bits)
>        32 kB I-Cache 32 kB D-Cache
> Board: ROACH2
> I2C:   ready
> DRAM:  512 MiB
> Flash: 128 MiB
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> CPLD:  2.1
> USB:   Host(int phy)
> SN:    ROACH2.2 batch=D#6#33 software fixups match
> WARN:  MAC not set, deriving private MAC from serial number
> MAC:   02:44:01:02:06:21
> DTT:   1 is 39 C
> DTT:   2 is 39 C
> Net:   ppc_4xx_eth0
> Sensors Config
> type run netboot to boot via dhcp+tftp+nfs
> type run soloboot to run from flash independent of network
>
> Hit any key to stop autoboot:  0
> =>  run netboot
> Waiting for PHY auto negotiation to complete.... done
> ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)
> BOOTP broadcast 1
> *** Unhandled DHCP Option in OFFER/ACK: 28
> *** Unhandled DHCP Option in OFFER/ACK: 28
> DHCP client bound to address 192.168.100.196
> Using ppc_4xx_eth0 device
> TFTP from server 192.168.100.1; our IP address is 192.168.100.196
> Filename 'uImage'.
> Load address: 0x4000000
> Loading: #################################################################
>          #################################################################
>          #################################################################
>          ############
> done
> Bytes transferred = 3034268 (2e4c9c hex)
> ## Booting kernel from Legacy Image at 04000000 ...
>    Image Name:   Linux-3.16.0-saska-03675-g1c70ff
>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>    Data Size:    3034204 Bytes = 2.9 MiB
>    Load Address: 00700000
>    Entry Point:  007010c4
>    Verifying Checksum ... OK
>    Uncompressing Kernel Image ... OK
> CPU clock-frequency <- 0x1fca0550 (533MHz)
> CPU timebase-frequency <- 0x1fca0550 (533MHz)
> /plb: clock-frequency <- 7f28154 (133MHz)
> /plb/opb: clock-frequency <- 3f940aa (67MHz)
> /plb/opb/ebc: clock-frequency <- 3f940aa (67MHz)
> /plb/opb/serial@ef600300: clock-frequency <- 54c563 (6MHz)
> /plb/opb/serial@ef600400: clock-frequency <- 54c563 (6MHz)
> /plb/opb/serial@ef600500: clock-frequency <- 54c563 (6MHz)
> /plb/opb/serial@ef600600: clock-frequency <- 54c563 (6MHz)
> Memory <- <0x0 0x0 0x3ffff000> (1023MB)
> ethernet0: local-mac-address <- 00:00:00:00:00:00
>
> zImage starting: loaded at 0x00700000 (sp: 0x1fe22b40)
> Allocating 0x6db8a8 bytes for kernel ...
> gunzipping (0x00000000 <- 0x0070f000:0x00d5f1c8)...done 0x63fa80 bytes
>
> Linux/PowerPC load: console=ttyS0,115200 root=/dev/nfs
> rootpath=192.168.100.1:/srv/roach_boot/etch ip=dhcp
> Finalizing device tree... flat tree at 0xd6c160
> [    0.000000] roach2: claiming matching platform
> [    0.000000] Using PowerPC 44x Platform machine description
> [    0.000000] Linux version 3.16.0-saska-03675-g1c70ffc (rijandn@r2d2) (gcc
> version 4.6.1 20110627 (prerelease) (GCC) ) #3 Tue Aug 26 08:52:14 SAST 2014
> [    0.000000] bootconsole [udbg0] enabled
> setup_arch: bootmem
> arch: exit
> [    0.000000] Zone ranges:
> [    0.000000]   DMA      [mem 0x00000000-0x3fffefff]
> [    0.000000]   Normal   empty
> [    0.000000] Movable zone start for each node
> [    0.000000] Early memory node ranges
> [    0.000000]   node   0: [mem 0x00000000-0x3fffefff]
> [    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total
> pages: 260095
> [    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/nfs
> rootpath=192.168.100.1:/srv/roach_boot/etch ip=dhcp
> [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
> [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288
> bytes)
> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144
> bytes)
> [    0.000000] Sorting __ex_table...
> [    0.000000] Memory: 1032440K/1048572K available (4180K kernel code, 308K
> rwdata, 1600K rodata, 300K init, 622K bss, 16132K reserved)
> [    0.000000] Kernel virtual memory layout:
> [    0.000000]   * 0xfffdf000..0xfffff000  : fixmap
> [    0.000000]   * 0xfde00000..0xfe000000  : consistent mem
> [    0.000000]   * 0xfddfe000..0xfde00000  : early ioremap
> [    0.000000]   * 0xc1000000..0xfddfe000  : vmalloc & ioremap
> [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> [    0.000000] NR_IRQS:512 nr_irqs:512 16
> [    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
> [    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
> [    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
> [    0.000023] clocksource: timebase mult[1e00000] shift[24] registered
> [    0.006381] pid_max: default: 32768 minimum: 301
> [    0.011318] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
> [    0.017905] Mountpoint-cache hash table entries: 2048 (order: 1, 8192
> bytes)
> [    0.025753] ftrace: allocating 14770 entries in 44 pages
> [    0.072898] regulator-dummy: no parameters
> [    0.079844] NET: Registered protocol family 16
> [    0.084886] cpuidle: using governor ladder
> [    0.088997] cpuidle: using governor menu
>
> [    0.103157] SCSI subsystem initialized
> [    0.108263] Switched to clocksource timebase
> [    0.128644] NET: Registered protocol family 2
> [    0.134368] TCP established hash table entries: 8192 (order: 3, 32768
> bytes)
> [    0.141565] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
> [    0.148049] TCP: Hash tables configured (established 8192 bind 8192)
> [    0.154561] TCP: reno registered
> [    0.157827] UDP hash table entries: 512 (order: 1, 8192 bytes)
> [    0.163602] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
> [    0.170159] NET: Registered protocol family 1
> [    0.175234] RPC: Registered named UNIX socket transport module.
> [    0.181160] RPC: Registered udp transport module.
> [    0.185768] RPC: Registered tcp transport module.
> [    0.190432] RPC: Registered tcp NFSv4.1 backchannel transport module.
> [    0.203319] futex hash table entries: 256 (order: -1, 3072 bytes)
> [    0.209517] audit: initializing netlink subsys (disabled)
> [    0.214955] audit: type=2000 audit(0.179:1): initialized
> [    0.234934] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> [    0.242217] NFS: Registering the id_resolver key type
> [    0.247397] Key type id_resolver registered
> [    0.251585] Key type id_legacy registered
> [    0.255614] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
> [    0.262667] ROMFS MTD (C) 2007 Red Hat, Inc.
> [    0.267288] msgmni has been set to 2016
> [    0.274980] Block layer SCSI generic (bsg) driver version 0.4 loaded
> (major 253)
> [    0.282569] io scheduler noop registered
> [    0.286515] io scheduler deadline registered (default)
> [    0.292112] io scheduler cfq registered
> [    0.296382] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
> [    0.307736] console [ttyS0] disabled
> [    0.331578] serial8250.0: ttyS0 at MMIO 0x1ef600300 (irq = 16, base_baud
> = 347222) is a 16550A
> [    0.340205] console [ttyS0] enabled
> [    0.340205] console [ttyS0] enabled
> [    0.347169] bootconsole [udbg0] disabled
> [    0.347169] bootconsole [udbg0] disabled
> [    0.375558] serial8250.0: ttyS1 at MMIO 0x1ef600400 (irq = 17, base_baud
> = 347222) is a 16550A
> [    0.404826] serial8250.0: ttyS2 at MMIO 0x1ef600500 (irq = 18, base_baud
> = 347222) is a 16550A
> [    0.433958] serial8250.0: ttyS3 at MMIO 0x1ef600600 (irq = 19, base_baud
> = 347222) is a 16550A
> [    0.443074] roach2_fpga: ROACH2 FPGA Access driver
> [    0.447958] roach2:  major 252
> [    0.451171] Virtex 5 family
> [    0.454080] roach2_fpga 1d0000000.fpga: ROACH2 FPGA driver
> [    0.459569] roach2_fpga 1d0000000.fpga: check
> parameters,addr:0x1d0000000,size:0x8000000
> [    0.473025] roach2_fpga 1d0000000.fpga: ioremap 1d0000000 to c1080000
> with size 8000000
> [    0.481260] roach2_fpga 1d0000000.fpga: ioremap 1c0100000 to c9100000
> with size 200000
> [    0.489266] roach2_fpga 1d0000000.fpga: char devices successfully
> registered
> [    0.504132] brd: module loaded
> [    0.511910] loop: module loaded
> [    0.522058] 1f8000000.nor_flash: Found 1 x16 devices at 0x0 in 16-bit
> bank. Manufacturer ID 0x000001 Chip ID 0x002801
> [    0.532731] Amd/Fujitsu Extended Query Table at 0x0040
> [    0.537895]   Amd/Fujitsu Extended Query version 1.3.
> [    0.542962] number of CFI chips: 1
> [    0.547178] 6 ofpart partitions found on MTD device 1f8000000.nor_flash
> [    0.553877] Creating 6 MTD partitions on "1f8000000.nor_flash":
> [    0.559803] 0x000000000000-0x000000400000 : "kernel"
> [    0.565866] 0x000000400000-0x000004400000 : "rootfs"
> [    0.571988] 0x000004400000-0x000007400000 : "userfs"
> [    0.578142] 0x000007400000-0x000007f00000 : "v6bitstream"
> [    0.584857] 0x000007f40000-0x000007f80000 : "ubootenv"
> [    0.591145] 0x000007f80000-0x000008000000 : "uboot"
> [    0.597447] tun: Universal TUN/TAP device driver, 1.6
> [    0.602593] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
> [    0.608934] PPC 4xx OCP EMAC driver, version 3.54
> [    0.614325] MAL v2 /plb/mcmal, 2 TX channels, 2 RX channels
> [    0.620458] ZMII /plb/opb/emac-zmii@ef600d00 initialized
> [    0.626085] RGMII /plb/opb/emac-rgmii@ef601000 initialized with MDIO
> support
> [    0.633725] /plb/opb/emac-rgmii@ef601000: input 0 in RGMII mode
> [    0.641483] eth0: EMAC-0 /plb/opb/ethernet@ef600e00, MAC
> 00:00:00:00:00:00
> [    0.648441] eth0: found Marvell 88E1111 Ethernet PHY (0x01)
> [    0.654138] PPP generic driver version 2.4.2
> [    0.659173] mousedev: PS/2 mouse device common for all mice
> [    0.665562] input: roach2chassis as /devices/virtual/input/input0
> [    0.672649] i2c /dev entries driver
> [    0.685288] ibm-iic 1ef600700.i2c: using standard (100 kHz) mode
> [    0.691875] ibm-iic 1ef600800.i2c: using standard (100 kHz) mode
> [    0.698206] ad7414 0-004c: chip found
> [    0.703078] ad7414 0-004e: chip found
> [    1.525034] max6650 0-0048: Fan voltage is set to 12V.
> [    1.530248] max6650 0-0048: Prescaler is set to 4.
> [    1.541709] max6650 0-004b: Fan voltage is set to 12V.
> [    1.546925] max6650 0-004b: Prescaler is set to 4.
> [    1.558253] max6650 0-001b: Fan voltage is set to 12V.
> [    1.563461] max6650 0-001b: Prescaler is set to 4.
> [    1.574757] max6650 0-001f: Fan voltage is set to 12V.
> [    1.579971] max6650 0-001f: Prescaler is set to 4.
> [    1.591096] ipip: IPv4 over IPv4 tunneling driver
> [    1.596869] TCP: cubic registered
> [    1.600208] Initializing XFRM netlink socket
> [    1.604629] NET: Registered protocol family 17
> [    1.609371] Key type dns_resolver registered
> [    1.614398] registered taskstats version 1
> [    1.619230] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> [    1.626566] IP-Config: Failed to open eth0
> [    1.630764] IP-Config: No network devices available
> [    1.636493] Root-NFS: no NFS server address
> [    1.640794] VFS: Unable to mount root fs via NFS, trying floppy.
> [    1.647713] VFS: Cannot open root device "nfs" or unknown-block(2,0):
> error -6
> [    1.655011] Please append a correct "root=" boot option; here are the
> available partitions:
> [    1.663380] 1f00            4096 mtdblock0  (driver?)
> [    1.668452] 1f01           65536 mtdblock1  (driver?)
> [    1.673513] 1f02           49152 mtdblock2  (driver?)
> [    1.678577] 1f03           11264 mtdblock3  (driver?)
> [    1.683640] 1f04             256 mtdblock4  (driver?)
> [    1.688710] 1f05             512 mtdblock5  (driver?)
> [    1.693773] Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(2,0)
> [    1.702012] CPU: 0 PID: 1 Comm: swapper Not tainted
> 3.16.0-saska-03675-g1c70ffc #3
> [    1.709555] Call Trace:
> [    1.712020] [bf86ddb0] [80006bc0] show_stack+0x10c/0x1c0 (unreliable)
> [    1.718481] [bf86de00] [8041410c] dump_stack+0x24/0x34
> [    1.723625] [bf86de10] [80411d20] panic+0xd0/0x234
> [    1.728428] [bf86de70] [805a8ed8] mount_block_root+0x1c8/0x26c
> [    1.734259] [bf86dec0] [805a91c0] mount_root+0x10c/0x120
> [    1.739575] [bf86def0] [805a9374] prepare_namespace+0x1a0/0x1e0
> [    1.745493] [bf86df00] [805a8b20] kernel_init_freeable+0x1a8/0x1c0
> [    1.751670] [bf86df30] [80001e30] kernel_init+0x20/0x108
> [    1.756989] [bf86df40] [8000d470] ret_from_kernel_thread+0x5c/0x64
> [    1.763161] Rebooting in 180 seconds..
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "[email protected]" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to