Linux version 2.6.19 (cspan@varahi) (gcc version 3.2.1 Axis release R64/1.64) #1 Mon Aug 16 17:42:24 CEST 2010 ROM fs in RAM, size 15728640 bytes Setting up paging and the MMU. command line found: "root=/dev/mtdblock3 init=/linuxrc rootfstype=jffs2 mac=000E64000000 nfs=192.168.0.15:/nfs/latest80 cmd=flashita" Linux/CRISv32 port on ETRAX FS (C) 2003, 2004 Axis Communications AB Built 1 zonelists. Total pages: 8160 Kernel command line: root=/dev/mtdblock3 init=/linuxrc rootfstype=jffs2 mac=000E64000000 nfs=192.168.0.15:/nfs/latest80 cmd=flashital PID hash table entries: 256 (order: 8, 1024 bytes) Dentry cache hash table entries: 8192 (order: 2, 32768 bytes) Inode-cache hash table entries: 4096 (order: 1, 16384 bytes) Memory: 26016k/65536k available (1739k kernel code, 39520k reserved, 606k data, 72k init) Mount-cache hash table entries: 1024 NET: Registered protocol family 16 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -2, 2048 bytes) TCP established hash table entries: 2048 (order: 0, 8192 bytes) TCP bind hash table entries: 1024 (order: -1, 4096 bytes) TCP: Hash tables configured (established 2048 bind 1024) TCP reno registered Check hardware configuration of Elphel 353 camera Elphel 10349/10369 IO extension board is present fast_timer_init() JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. io scheduler noop registered (default) Serial: CRISv32 driver $Revision: 1.78 $ <6>ttyS0 at I/O 0xb0026000 (irq = 68) is a CRISv32 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize PPP generic driver version 2.4.2 ETRAX FS 10/100MBit ethernet v0.01 (c) 2003 Axis Communications AB eth0: changed MAC to 00:40:8C:CD:00:00 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx ide: ETRAX FS built-in ATA DMA controller cris_ide_init() Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver usbserial drivers/usb/serial/usb-serial.c: USB Serial support registered for generic usbcore: registered new interface driver usbserial_generic drivers/usb/serial/usb-serial.c: USB Serial Driver core drivers/usb/serial/usb-serial.c: USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter usbcore: registered new interface driver belkin drivers/usb/serial/belkin_sa.c: USB Belkin Serial converter driver v1.2 drivers/usb/serial/usb-serial.c: USB Serial support registered for cp2101 usbcore: registered new interface driver cp2101 drivers/usb/serial/cp2101.c: Silicon Labs CP2101/CP2102 RS232 serial adaptor driver v0.07 drivers/usb/serial/usb-serial.c: USB Serial support registered for Garmin GPS usb/tty usbcore: registered new interface driver garmin_gps drivers/usb/serial/garmin_gps.c: garmin gps driver v0.28 drivers/usb/serial/usb-serial.c: USB Serial support registered for MCT U232 usbcore: registered new interface driver mct_u232 drivers/usb/serial/mct_u232.c: Magic Control Technology USB-RS232 converter driver z2.0 drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303 usbcore: registered new interface driver pl2303 drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver ETRAX FS stream co-processor driver v0.01, (c) 2003 Axis Communications AB stream co-processor: init done. axisflashmap: ... NAND device: Manufacturer ID: 0x20, Chip ID: 0xf1 (ST Micro NAND 128MiB 3,3V 8-bit) Additional Info: ID byte3=0x80, byte4=0x1d Flash is rated 30 ns, modifying bif_core_rw_grp3: old=0x6300483, new=0x6300001 NAND 128MiB 3,3V 8-bit: 0x08000000 bytes of NAND flash memory. axisflashmap: Set to boot from NAND flash, making NAND flash primary device. axisflashmap: flash read 512 bytes at 0x00040000, data: 00 b0 05 f0 25 ff ed 9c axisflashmap: partition table offset 10, data: ef be 84 00 05 0e 00 00 axisflashmap: Found a valid partition table at 0xc02fd9ae-0xc02fda3a. offset == 0x00040000, size == 0x007C0000 offset == 0x00800000, size == 0x01800000 offset == 0x02000000, size == 0x05000000 offset == 0x07000000, size == 0x00C00000 axisflashmap: Adding partition for root file system image in RAM Creating 1 MTD partitions on "NAND 128MiB 3,3V 8-bit": 0x00000000-0x08000000 : "main" Creating 1 MTD partitions on "NAND 128MiB 3,3V 8-bit": 0x00000000-0x00040000 : "part0" Creating 1 MTD partitions on "NAND 128MiB 3,3V 8-bit": 0x00040000-0x00800000 : "part1" axisflashmap: Adding RAM partition for rootfs image. Creating 1 MTD partitions on "NAND 128MiB 3,3V 8-bit": 0x02000000-0x07000000 : "part3" Creating 1 MTD partitions on "NAND 128MiB 3,3V 8-bit": 0x07000000-0x07c00000 : "part4" ETRAX FS GPIO driver v2.5, (c) 2003-2006 Axis Communications AB Elphel (R) model 353 FPGA (Xilinx (R) XC3S1200E) configuration driver - 132 Elphel (R) model 353 system clocks (PLL frequency synth.) driver - 133 fpga_control- 129 arch/cris/arch-v32/drivers/elphel/framepars.c:387:initGlobalPars GLOBALPARS(G_DEBUG)=0 arch/cris/arch-v32/drivers/elphel/framepars.c:417:initMultiPars GLOBALPARS(G_MULTI_NUM)=0 Elphel (R) Model 353 Frame Parameters device driver - 130 Elphel FPGA interrupts initialized Initializing DMA registers for EXTDMA3 - Elphel (R) Model 353 Camera Driver - 126 Elphel (R) model 353 i2c character device driver - 134, 2 channels Raw image access driver- 131 Elphel (R) Model 353 video buffer device driver- 135 Elphel (R) model 353 Exif device driver - 125 Starting Elphel (R) Model 353 Gamma Tables device driver - 137 Elphel (R) Model 353 Gamma Tables device driver - 137 Elphel (R) Model 353 Histograms device driver TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 VFS: Mounted root (jffs2 filesystem) readonly. Freeing unused kernel memory: 72k freed /linuxrc: Mounting /mnt/flash... done /linuxrc: Starting init. init: starting up. Starting system initialization. Axis Linux, http://developer.axis.com/ Copyright (C) 2000-2007 Axis Communications AB Elphel (R) Model 353 Camera release 8.0.8.42 * Mounting filesystems... [ ok ] * Initializing /var... [ ok ] * Determining MAC address... + using serial number as MAC address: OOOE6:40:00:00:0 /etc/rcS.d/S20mac: 46: cannot create /etc/conf.d/mac: Read-only file system + MAC address saved: OOOE6:40:00:00:0 [ ok ] * Initializing random number generator... [ ok ] * Setting hostname... + hostname: "Elphel353" [ ok ] * Initializing volatile resolver configuration... [ ok ] * Setting FPGA master clock to 160 MHz... [ ok ] * Programming FPGA with /etc/x353.bit... [ ok ] * Loaded FPGA rev... [ 3534024 ] * Adjusting DDR SDRAM clock phase... [ PH 180/33 ] * Turn on xtall output (12MHz) to FPGA... [ ok ] * Some CMOS-based sensor board attached... [ assuming 10338 ] * Configure broadcast ping... [ ok ] System initialization is done. New runlevel: 4 * Bringing lo up... [ ok ] * Bringing eth0 up... + skip save MAC in bootblock eth0: changed MAC to 00:0E:64:00:00:00 + hardware address from kernel command line: 00:0E:64:00:00:00 + media: auto + eth0 going up eth0: changed MAC to 00:0E:64:00:00:00 + IPv4 on eth0 + boot protocol: none + IP address: 192.168.0.9 + netmask: 255.255.255.0 + broadcast address: 192.168.0.255 + default IPv4 gateway: 192.168.0.15 + set MDI to MDI (normal) mode y + done [ ok ] * Waiting for a network interface... + eth0 is up [ ok ] * Starting ipsetd... [ ok ] * Starting ftp server... sendto: No such file or directory respawn-on: Could not send message to respawnd! ! respawn-on /bin/vftpd -r failed! [ ok ] * Starting mii-diag... [ ok ] * Starting lighttpd web server... /sbin/start-stop-daemon: stat /usr/local/sbin/lighttpd: No such file or[ fail ]ry running start in / NFS=192.168.0.15:/nfs/latest80 NFS_ROOT=192.168.0.15:/nfs NFS_DIR=latest80 Mounting remote file system 192.168.0.15:/nfs to get upgrade information Mounting done. Entering remote file system MD5SUM logs part0.img part3.img kimage nfs_flashitall part1.img partitions.conf list nfs_update part2.img running flashitall no_reboot in /var/tmp/nfs_mount_point/latest80 mount rootfs on / type rootfs (rw) /dev/root on / type jffs2 (ro) /dev/part/rwfsblock on /mnt/flash type jffs2 (rw) proc on /proc type proc (rw) tmpfs on /var type tmpfs (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw) none on /proc/bus/usb type usbfs (rw) 192.168.0.15:/nfs/ on /var/tmp/nfs_mount_point type nfs (rw,vers=3,rsize=131072,wsize=131072,hard,nolock,proto=tcp,timeo=70,retrans=3) DIRNAME == latest80 mount | grep -c DIRNAME == 0 $NFS_MOUNT_POINT=/var/tmp/nfs_mount_point LOG == /var/tmp/nfs_mount_point/logs/flash.log LOCK == /var/tmp/nfs_mount_point/logs/lock ls == images latest80 logs try to store IP conf check MD5SUMs MD5SUMs correct check NFS filesystem RW/RO mode NFS filesystem in RW mode Killing applications... PID USER VSZ STAT COMMAND 1 root 1128 S init 2 root 0 SWN [ksoftirqd/0] 3 root 0 SW [watchdog/0] 4 root 0 SW< [events/0] 5 root 0 SW< [khelper] 6 root 0 SW< [kthread] 8 root 0 SW< [kblockd/0] 11 root 0 SW< [khubd] 23 root 0 SW [pdflush] 24 root 0 SW [pdflush] 25 root 0 DW< [kswapd0] 26 root 0 SW< [aio/0] 565 root 0 SW [mtdblockd] 599 root 0 SWN [jffs2_gcd_mtd4] 653 root 1320 S /bin/sh /etc/init.d/rc 4 729 root 1136 S /sbin/ipsetd -i eth0 -t 120 -l 408 -e /etc/ipsetd.script 732 root 1360 S /bin/vftpd -r 736 root 1152 S /usr/sbin/mii-diag -t 60 -v -w eth0 737 root 1456 S cat 740 root 1320 S /bin/sh /etc/rc4.d/S99flash start 798 root 0 SW< [rpciod/0] 803 root 1320 S /bin/sh ./nfs_update flashitall no_reboot 864 root 1472 R ps -w kill: 162: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or kill -l [exitstatus] PID USER VSZ STAT COMMAND 1 root 1128 S init 2 root 0 SWN [ksoftirqd/0] 3 root 0 SW [watchdog/0] 4 root 0 SW< [events/0] 5 root 0 SW< [khelper] 6 root 0 SW< [kthread] 8 root 0 SW< [kblockd/0] 11 root 0 SW< [khubd] 23 root 0 SW [pdflush] 24 root 0 SW [pdflush] 25 root 0 SW< [kswapd0] 26 root 0 SW< [aio/0] 565 root 0 SW [mtdblockd] 599 root 0 SWN [jffs2_gcd_mtd4] 653 root 1320 S /bin/sh /etc/init.d/rc 4 729 root 1136 S /sbin/ipsetd -i eth0 -t 120 -l 408 -e /etc/ipsetd.script 732 root 1360 S /bin/vftpd -r 736 root 1152 S /usr/sbin/mii-diag -t 60 -v -w eth0 737 root 1456 S cat 740 root 1320 S /bin/sh /etc/rc4.d/S99flash start 798 root 0 SW< [rpciod/0] 803 root 1320 R /bin/sh ./nfs_update flashitall no_reboot 865 root 1472 R ps -w Disabling DMA from FPGA... ffff 0 prepare for reflash reflash and write log to /var/tmp/nfs_mount_point/logs/flash.log.OOOE64000000 on NFS server You should ignore all messages below like JFFS2 notice: (864) jffs2_get_inode_nodes: Node header CRC failed at 0x91794c we can't unmount partitions before reflashing, but they are in read-only mode so this notices are confusion of the FS driver about changes in rewritten FS and can't affect the new flashed filesystem. ==== camera reflashing done ==== don't reboot - wait for reset by power turn off yellow lamp on the camera y write to register MR23 value 0x0014