Mefolio |
|||||
|
Subscribe
Links
Categories |
Tue, 28 Jul 2026 Hardware specifications:
Software specifications:
Disk partitions:Feelings= いいこと = = わるいこと = MODDINGFirehoseで読み込みができる、が、なぜか書き込みができない。 SETTINGSMon, 27 Jul 2026Hardware specifications:
Software specifications:
Disk partitions:Feelings= いいこと = = わるいこと = MODDINGブートローターとRTOSの両方からledを制御するためにある。 SETTINGS#show config # RTX32 Rev.11.02.09 (Thu Nov 1 09:49:58 2018) # MAC Address : -, - # Memory 128Mbytes, 2LAN # main: RTX32 ver=00 serial=- MAC-Address=- MAC-Addres s=- # Reporting Date: May 25 22:12:42 2026 login password encrypted * administrator password encrypted * login user RICOH_cdl_admin * login user ricoh * user attribute ricoh connection=http security class 2 off off off console character ascii login restrict telnet,tftp ip routing process fast ip route default gateway dhcp lan2 ip keepalive 1 icmp-echo 10 5 dhcp lan2 ip lan2 address dhcp ip lan2 secure filter in 101000 101001 101002 101003 101020 101021 101022 10102 3 101024 101025 101030 101032 101080 ip lan2 secure filter out 101010 101011 101012 101013 101020 101021 101022 1010 23 101024 101025 101081 101098 101099 dynamic 101080 101081 101082 101083 10108 4 101085 101098 101099 ip lan2 intrusion detection in on ip lan2 intrusion detection in default on reject=on ip lan2 intrusion detection out on ip lan2 intrusion detection out winny on reject=on ip lan2 intrusion detection out share on reject=on ip lan2 intrusion detection out default on reject=on ip lan2 nat descriptor 200 url lan2 filter out external-database category 10600 10727 netvolante-dns hostname host lan2 server=1 SER-- provider lan1 name LAN: provider lan2 name PRV/0/1/6/0/0/0: provider ntpdate ntp.jst.mfeed.ad.jp ip filter 101000 reject 10.0.0.0/8 * * * * ip filter 101001 reject 172.16.0.0/12 * * * * ip filter 101002 reject 192.168.0.0/16 * * * * ip filter 101003 reject 192.168.1.0/24 * * * * ip filter 101010 reject * 10.0.0.0/8 * * * ip filter 101011 reject * 172.16.0.0/12 * * * ip filter 101012 reject * 192.168.0.0/16 * * * ip filter 101013 reject * 192.168.1.0/24 * * * ip filter 101020 reject * * udp,tcp 135 * ip filter 101021 reject * * udp,tcp * 135 ip filter 101022 reject * * udp,tcp netbios_ns-netbios_ssn * ip filter 101023 reject * * udp,tcp * netbios_ns-netbios_ssn ip filter 101024 reject * * udp,tcp 445 * ip filter 101025 reject * * udp,tcp * 445 ip filter 101030 pass * * icmp * * ip filter 101031 pass * * established * * ip filter 101032 pass * * tcp * ident ip filter 101033 pass * * tcp ftpdata * ip filter 101034 pass * * tcp,udp * domain ip filter 101035 pass * * udp domain * ip filter 101036 pass * * udp * ntp ip filter 101037 pass * * udp ntp * ip filter 101080 pass 61.213.52.113-61.213.52.118 192.168.1.3 tcp * 22 ip filter 101081 pass 192.168.1.3 61.213.52.113-61.213.52.118 established * * ip filter 101098 reject-nolog * * established ip filter 101099 pass * * * * * ip filter 500000 restrict * * * * * ip filter dynamic 101080 * * ftp ip filter dynamic 101081 * * domain ip filter dynamic 101082 * * www ip filter dynamic 101083 * * smtp ip filter dynamic 101084 * * pop3 ip filter dynamic 101085 * * submission ip filter dynamic 101098 * * tcp ip filter dynamic 101099 * * udp nat descriptor type 200 masquerade nat descriptor address outer 200 primary nat descriptor masquerade static 200 1 192.168.1.3 tcp 22 url filter use off url filter external-database use category netstar url filter external-database ipaddress access reject url filter external-database category 10600 reject-nolog 101,102,103,201,202,20 3,204,205,301,302,303,304,401,402,403,404,405,501,502,601,602,603,701,702,801,8 02,901,902,903,904,1001,1002,1003,1004,1005,1006,1007,1008,1101,1102,1103,1104, 1201,1202,1203,1301,1401,1402,1501,1502,1504,1505,1506,1507,1601,1801,1802,1803 ,1901,1902,2001,2002,2003,2005,2101,2102,2201,2301,2302,2501 * url filter external-database category 10727 pass * * telnetd service off telnetd host none dns srcport 10000-19999 dns server dhcp lan2 dns private address spoof on schedule at 1 / 18:28 * ntpdate ntp.jst.mfeed.ad.jp schedule at 2 / 06:28 * ntpdate ntp.nict.jp schedule at 801 +300 * ntpdate ntp.jst.mfeed.ad.jp # 5/25 22:12:27 or in 0 seco nd
ウイルスバスター for Home Network .... 8TMSBDM
Hardware specifications:
Software specifications:
Disk partitions:
Feelings= いいこと = = わるいこと = MODDING底面の四つ角のネジを取ると外れる。 SETTINGSdebootstrap --foreign \ --arch=armhf \ --variant=minbase \ --no-check-gpg \ --no-check-certificate \ buster test http://archive.debian.org/debian/ tar zcf test.tar.gz test/ mv test.tar.gz /var/ftp/pub/ **** START **** cu -l /dev/ttyU0 -s 115200 setenv bootdelay 2 saveenv setenv bootargs "console=ttyS0,115200 devtmpfs.mount=1 rdinit=/bin/sh" boot mount -t proc proc /proc mount -t sysfs sysfs /sys ifconfig eth0 192.168.1.110 netmask 255.255.255.0 up mknod /dev/mmcblk0p8 b 179 8 mkdir /mnt/system mount -t ext4 /dev/mmcblk0p8 /mnt/system cd /mnt/system rm -fr * ftpget -u anonymous -p anonymous 192.168.1.5 root.tar.gz pub/test.tar.gz tar zxvf root.tar.gz mv test/* . rm -fr root.tar.gz test cd umount /mnt/system/ **** reboot **** setenv bootargs 'console=ttyS0,115200 root=/dev/mmcblk0p8 rw init=/bin/bash devtmpfs.mount=1 rdinit=' boot mount -t proc proc proc mount -t sysfs sysfs /sys mkdir -p /usr/local/bin ln -sf /bin/sh /usr/local/bin/bash cd /var/lib/apt/lists mv http:__archive.debian.org_debian_dists_buster_InRelease archive.debian.org_debian_dists_buster_InRelease mv http:__archive.debian.org_debian_dists_buster_Release archive.debian.org_debian_dists_buster_Release mv http:__archive.debian.org_debian_dists_buster_Release.gpg archive.debian.org_debian_dists_buster_Release.gpg mv http:__archive.debian.org_debian_dists_buster_main_binary-armhf_Packages archive.debian.org_debian_dists_buster_main_binary-armhf_Packages cd ./debootstrap/debootstrap --second-stage **** reboot **** setenv bootargs "console=ttyS0,115200 devtmpfs.mount=1 rdinit=/bin/sh" boot mount -t proc proc proc mount -t sysfs sysfs sys ifconfig eth0 192.168.1.110 netmask 255.255.255.0 up route add default gw 192.168.1.1 eth0 mknod /dev/mmcblk0p8 b 179 8 mkdir /mnt/system mount -t ext4 /dev/mmcblk0p8 /mnt/system mount -t proc proc /mnt/system/proc mount -t sysfs sysfs /mnt/system/sys chroot /mnt/system/ cat << EOF > /init #!/bin/sh mount -t proc proc proc mount -t sysfs sysfs sys mount -t devtmpfs devtmpfs dev exec /sbin/init EOF chmod +x init echo 'nameserver 8.8.8.8' > /etc/resolv.conf echo "127.0.0.1 localhost" > /etc/hosts echo "::1 localhost" >> /etc/hosts date -s "2026-04-03" apt update apt install sysvinit-core apt install net-tools echo "T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100" >> /etc/inittab passwd **** reboot **** setenv bootargs 'console=ttyS0,115200 root=/dev/mmcblk0p8 rw rdinit= init=/init' saveenv RECOMEND: NTP Marvell>> printenv SECURE=00000000 CASset=max FACTORY_MODE=0 FuseFirst=0 FuseSuccess=1 MALLOC_len=5 MPmode=SMP UserMode=1 autoload=no baudrate=115200 boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr bootargs=console=ttyS0,115200 bootargs_dflt=$console $nandEcc $mtdparts_lgcy $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=run phyled; mmc reset; mmc read 0x2000000 $devicetree_addr $zImageDtbSize; bootz 0x200c800 - 0x2000000 bootcmd_auto=stage_boot $boot_order bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot bootcmd_lgcy=tftpboot 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts_lgcy $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootm $loadaddr; bootdelay=-2 button=released cacheShare=no console=console=ttyS0,115200 device_partition=0:1 devicetree_addr=8800 disaMvPnp=no dnsip=192.168.0.1 eeeEnable=no enaClockGating=no enaCpuStream=no enaFPU=yes enaMonExt=no enaWrAllo=no eth1addr=00:50:43:5f:26:14 eth1mtu=1500 eth2addr=00:50:43:5f:13:14 eth2mtu=1500 eth3addr=00:50:43:26:13:5f eth3mtu=1500 ethact=egiga1 ethaddr=0C:83:CC:00:F0:CA ethmtu=1500 ethprime=egiga0 fdt_addr=2040000 fdt_skip_update=yes fdtaddr=0x1000000 fdtfile=armada-38x.dtb fileaddr=2000000 filesize=EB728 gatewayip=192.168.0.1 ide_path=/ image_name=uImage initrd_name=uInitrd ipaddr=192.168.0.10 kernel_addr=10864 kernel_addr_r=2080000 lcd0_enable=0 lcd0_params=640x480-16@60 lcd_panel=0 limit_dram_size=yes loadaddr=0x02000000 loads_echo=0 menucmd=run phyled; mmc reset; mmc read 0x2000000 $devicetree_addr $zImageDtbSize; bootz 0x200c800 - 0x2000000 mtdids=nand0=armada-nand,spi0=spi_flash mtdparts='mtdparts=armada-nand:8m(boot)ro,8m@8m(kernel),-(rootfs);spi1.0:4m(boot),-(spi-rootfs);pxa3xx_nand-0:8m(boot)ro,8m@8m(kernel),-(rootfs)' mtdparts_lgcy='mtdparts=armada-nand:8m(boot)ro,8m@8m(kernel),-(rootfs);spi_flash:4m(boot),-(spi-rootfs);pxa3xx_nand-0:8m(boot)ro,8m@8m(kernel),-(rootfs)' mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500 mv_pon_addr=00:50:43:14:13:5f nandEcc=nfcConfig=8bitecc netbsd_en=no netmask=255.255.255.0 netretry=no pcieTune=no pexMode=RC phyled=phyWrite 0x0 0x16 0x3;phyWrite 0x0 0x10 0xf377;phyWrite 0x0 0x11 0x5;phyWrite 0x0 0x16 0x0 pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 ramdisk_addr_r=2880000 rootpath=/srv/nfs/ run_script=no sata_delay_reset=0 sata_dma_mode=yes script_addr_r=3000000 script_name=boot.scr sd_detection_dat3=no serverip=192.168.0.4 standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts_lgcy root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000; stderr=serial stdin=serial stdout=serial usb0Mode=host usbActive=0 usbType=2 vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 zImageDtbSize=2f92 Environment size: 3973/524284 bytes BootROM - 1.73 Booting from MMC BootROM: RSA Public key verification PASSED BootROM: CSK block signature verification PASSED BootROM: Boot header signature verification PASSED BootROM: Flash ID verification PASSED BootROM: Box ID verification PASSED BootROM: JTAG is enabled BootROM: Image checksum verification PASSED BootROM: Boot image signature verification PASSED aaaaaaaaaaaaaaaaaaaagd->baudrate=115200 whoAmI()=0 __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2013.01 (Nov 02 2018 - 10:00:07) Marvell version: 2015_T1.0p16 Board: A38x-Customer-Board-0 SoC: MV88F6820 Rev running 2 CPUs CPU: ARM Cortex A9 MPCore (Rev 1) LE CPU 0 CPU @ 1332 [MHz] L2 @ 666 [MHz] TClock @ 200 [MHz] DDR3 @ 666 [MHz] DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled DRAM: 512 MiB NAND: mvNfcInit() failed. 0 MiB MMC: mv_sdh: 0 Map: Code: 0x1feec000:0x1ffa1920 BSS: 0x1ffefc38 Stack: 0x1f96bf20 Heap: 0x1f96c000:0x1feec000 U-Boot Environment: 0x00300000:0x00380000 (MMC) Board configuration detected: Net: | port | Interface | PHY address | |--------|-----------|--------------| | egiga1 | SGMII | 0x00 | , egiga1 uart_2_command 3 b4 mv_serial_init_2 b4 mv_serial_init_2 b4 mv_serial_init_2 b4 mv_serial_init_2 mv_serial_init_2 mv_serial_init_2 mv_serial_init_2 mv_serial_init_2 mv_serial_init_2 mv_serial_init_2 xfax03x03x0x0x0xfb xfax03x03x0x0x0xfb length = 18 tmp=fa cmd[0]=0xfa tmp=03 cmd[1]=0x3 tmp=03 cmd[2]=0x3 tmp=0 cmd[3]=0x0 tmp=0 cmd[4]=0x0 tmp=0 cmd[5]=0x0 tmp=fb cmd[6]=0xfb uart_2_command 2 xfax03x02x07x07x00xfb xfax03x02x07x07x00xfb length = 21 tmp=fa cmd[0]=0xfa tmp=03 cmd[1]=0x3 tmp=02 cmd[2]=0x2 tmp=07 cmd[3]=0x7 tmp=07 cmd[4]=0x7 tmp=00 cmd[5]=0x0 tmp=fb cmd[6]=0xfb reset button detect button env=released High addrDtb = 34816 szImageSizeValue = 2f2c zImageDtbSizeInHex=2f92 Hit any key to stop autoboot: 0 SECURE = 00000001 Value(s) obtained from eFuse "SECURE" [0X0F9180]: 00000001 tmp = 00000001 value = 00000001 mmc - MMC sub system Usage: mmc mmc read addr blk# cnt mmc erase blk# cnt mmc rescan mmc dev [dev] [part] - show or set current mmc device [partition] mmc list - lists available devicesmmc setdsr - set DSR register value MMC read: dev # 0, block # 34816, count 12178 ... 12178 blocks read: OK zImageSize=2f2c start to do sha1 0x2000000 6E 55 ED B5 66 54 1F F3 2A 4C 05 81 7B 93 56 92 AB 80 F7 E2 46 21 3a f5 d2 57 6b b8 18 98 07 90 72 f0 e8 87 c8 3d 8d 63 54 57 85 62 58 00 11 eb 38 42 83 05 74 d6 f1 83 f7 63 4c 06 c0 bb 25 a1 c5 2e f8 23 50 1b 25 cd 75 8c aa e6 e0 91 fc 13 72 aa 28 11 98 f8 53 55 75 09 c2 b9 6a c5 c3 eb 01 3c b4 d9 be 5e 86 af 51 d1 81 09 d7 43 f2 80 44 18 cd ec 80 d6 f6 6b 44 05 5a 2e ee e6 ce 64 49 20 56 5a 61 c5 66 5a 37 12 c1 13 d9 0d 47 f6 09 2b 11 8b b4 92 76 43 b7 09 6e 8e 19 fa a3 df e1 ef 70 4b 18 a2 3c 04 7a 8e c1 12 5e fa 87 0a cf 6c 67 6f e8 81 a6 87 41 9a fe 9e e9 6e 8f 5a 72 32 6c 5e c2 86 1b d0 72 b9 09 e8 9f 47 54 34 07 3e a7 a8 21 93 7d 0b 56 70 a2 6b f3 47 e7 0d 82 a0 ab 63 47 66 fa 4c 29 2d b5 4f a2 4f 04 67 f0 98 a3 e8 e4 ff 4d c3 30 a3 64 1a dd 85 35 6a 80 70 20 ae 57 35 60 d8 71 ab f4 b1 0c 2b d2 7d cd 7d 09 5c rsa.len=256 . OK ## Flattened Device Tree blob at 02000000 Booting using the fdt blob at 0x02000000 Loading Device Tree to 00ff9000, end 00fffdff ... OK Skipping Device Tree update ('fdt_skip_update' = yes) Limit DDR size at 3GB due to power of 2 requirement of Address decoding Starting kernel ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 3.10.70 (root@cptmacmillan-OptiPlex-9020) (gcc version 4.6.4 (Marvell GCC release 20160226-c4af733b 64K MAXPAGESIZE ALIGN) ) #1 SMP Wed Jan 9 15:16:56 CST 2019 CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: Marvell Armada 380/381/382/383/384/385/388 (Device Tree), model: Marvell Armada 385 Development Board Memory policy: ECC disabled, Data cache writealloc PERCPU: Embedded 7 pages/cpu @c140a000 s7168 r8192 d13312 u32768 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 Kernel command line: console=ttyS0,115200 PID hash table entries: 2048 (order: 1, 8192 bytes) Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 512MB = 512MB total Memory: 506888k/506888k available, 17400k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xe0800000 - 0xfff00000 ( 503 MB) lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .text : 0xc0008000 - 0xc08dc000 (9040 kB) .init : 0xc08dc000 - 0xc0bbbc00 (2943 kB) .data : 0xc0bbc000 - 0xc0c13be0 ( 351 kB) .bss : 0xc0c13be0 - 0xc0c74240 ( 386 kB) Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. NR_IRQS:16 nr_irqs:16 16 LSP version: linux-3.10.70-2015_T1.1p7 sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms L310 cache controller enabled l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B Console: colour dummy device 80x30 Calibrating delay loop... 2655.84 BogoMIPS (lpj=13279232) pid_max: default: 32768 minimum: 301 Security Framework initialized Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 Setting up static identity map for 0xc06cbd60 - 0xc06cbdb8 mvebu-pmsu: Initializing Power Management Service Unit Initializing CPU Reset module CPU1: Booted secondary processor CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 Brought up 2 CPUs SMP: Total of 2 processors activated (5311.69 BogoMIPS). CPU: All CPU(s) started in SVC mode. devtmpfs: initialized mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0xA xor: measuring software checksum speed arm4regs : 2361.600 MB/sec 8regs : 1594.800 MB/sec 32regs : 1360.000 MB/sec xor: using function: arm4regs (2361.600 MB/sec) pinctrl core: initialized pinctrl subsystem regulator-dummy: no parameters NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations irq: Cannot allocate irq_descs @ IRQ194, assuming pre-allocated irq: Cannot allocate irq_descs @ IRQ226, assuming pre-allocated bio: create slab <bio-0> at 0 raid6: int32x1 169 MB/s raid6: int32x2 245 MB/s raid6: int32x4 312 MB/s raid6: int32x8 316 MB/s raid6: using algorithm int32x8 (316 MB/s) raid6: using intx1 recovery algorithm mvebu-pcie pcie-controller.3: PCIe0.0: link down mvebu-pcie pcie-controller.3: PCIe1.0: link down mvebu-pcie pcie-controller.3: PCI host bridge to bus 0000:00 pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff] pci_bus 0000:00: root bus resource [bus 00-ff] PCI: bus0: Fast back to back transfers disabled pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring PCI: bus1: Fast back to back transfers enabled PCI: bus2: Fast back to back transfers enabled pci 0000:00:01.0: PCI bridge to [bus 01] pci 0000:00:02.0: PCI bridge to [bus 02] PCI: enabling device 0000:00:01.0 (0140 -> 0143) PCI: enabling device 0000:00:02.0 (0140 -> 0143) vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb pps_core: LinuxPPS API ver. 1 registered pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> PTP clock support registered Advanced Linux Sound Architecture Driver Initialized. Switching to clocksource armada_370_xp_clocksource cfg80211: Calling CRDA to update world regulatory domain NET: Registered protocol family 2 TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 3, 32768 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP: reno registered UDP hash table entries: 256 (order: 1, 8192 bytes) UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. audit: initializing netlink socket (disabled) type=2000 audit(1.110:1): initialized squashfs: version 4.0 (2009/01/31) Phillip Lougher Installing knfsd (copyright (C) 1996 okir@monad.swb.de). NTFS driver 2.1.30 [Flags: R/O]. jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. bio: create slab <bio-1> at 1 Btrfs loaded msgmni has been set to 990 async_tx: api initialized (async) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver mv_xor f1060800.xor: Marvell shared XOR driver mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr pq ) mv_xor f1060800.xor: freeing 1 in use descriptors! mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( intr crc32c ) mv_xor f1060900.xor: Marvell shared XOR driver mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr pq ) mv_xor f1060900.xor: freeing 1 in use descriptors! mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( intr crc32c ) Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A console [ttyS0] enabled f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 45) is a 16550A TM button driver installed loop: module loaded ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs scsi0 : ahci_mv_platform scsi1 : ahci_mv_platform ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58 ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58 m25p80 spi0.0: found mr25h256, expected w25q32 m25p80 spi0.0: mr25h256 (32 Kbytes) SoC: model = 0x6820, revision = 0xa mvPncVirtBase = 0xe0c00000, pncTcamSize = 1024 o 3 Giga ports supported o SKB recycle supported for SWF (Disabled) o NETA acceleration mode 4 o BM supported for CPU: 4 BM pools o PnC supported (Enabled) o RX Queue support: 8 Queues * 256 Descriptors o TX Queue support: 8 Queues * 532 Descriptors o GSO supported o GRO supported o Receive checksum offload supported o Transmit checksum offload supported o Driver ERROR statistics enabled o Driver INFO statistics enabled o Driver DEBUG statistics enabled port #1: is_sgmii=1, is_rgmii=0, phy_addr=0 o Loading network interface(s) for port #1: cpu_mask=0x3, tx_csum_limit=2048 o Port 1 is connected to Linux netdevice o eth0, ifindex = 2, GbE port = 1 giga p=1: mtu=1500, mac=0c:83:cc:00:f0:ca (hw config) libphy: orion_mdio_bus: probed mdio_bus f1072004.mdio-mi: cannot get PHY at address 1 e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI e1000: Copyright (c) 1999-2006 Intel Corporation. e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k e1000e: Copyright(c) 1999 - 2013 Intel Corporation. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-pci: EHCI PCI platform driver ehci-orion: EHCI orion driver orion-ehci f1058000.usb: EHCI Host Controller orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1 orion-ehci f1058000.usb: irq 50, io mem 0xf1058000 orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected xhci-hcd f10f0000.usb3: xHCI Host Controller xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2 xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected xhci-hcd f10f0000.usb3: xHCI Host Controller xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3 hub 3-0:1.0: USB hub found hub 3-0:1.0: 1 port detected xhci-hcd f10f8000.usb3: xHCI Host Controller xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4 xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000 hub 4-0:1.0: USB hub found hub 4-0:1.0: 1 port detected xhci-hcd f10f8000.usb3: xHCI Host Controller xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5 hub 5-0:1.0: USB hub found hub 5-0:1.0: 1 port detected usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0 i2c /dev entries driver armada_thermal f10e4078.thermal: Overheat threshold between 92..107 orion_wdt: Initial timeout 171 sec md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 md: raid6 personality registered for level 6 md: raid5 personality registered for level 5 md: raid4 personality registered for level 4 device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com dm_crypt using the OCF package. cpuidle: using governor ladder sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman ata1: SATA link down (SStatus 0 SControl 300) ata2: SATA link down (SStatus 0 SControl 300) mmc0: no vqmmc regulator found mmc0: no vmmc regulator found mmc0: SDHCI controller on f10d8000.sdhci [f10d8000.sdhci] using ADMA sdhci-pltfm: SDHCI platform and OF driver helper armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2 armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: int_coalescing(1) armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources threshold 0x2, threshold_time 0xfffff mvCesaInit: channels=2, session=640, queue=256 armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode cesadev_init(c08f97e8) usbcore: registered new interface driver usbhid mmc0: BKOPS_EN bit is not set mmc0: new high speed MMC card at address 0001 mmcblk0: mmc0:0001 H4G2a 3.64 GiB mmcblk0boot0: mmc0:0001 H4G2a partition 1 4.00 MiB mmcblk0boot1: mmc0:0001 H4G2a partition 2 4.00 MiB mmcblk0rpmb: mmc0:0001 H4G2a partition 3 4.00 MiB mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 mmcblk0boot1: unknown partition table mmcblk0boot0: unknown partition table usbhid: USB HID core driver Loading Marvell spi device cs42l51-codec 0-004a: failed to read I2C Netfilter messages via NETLINK v0.30. nfnl_acct: registering with nfnetlink. nf_conntrack version 0.5.0 (7920 buckets, 31680 max) xt_time: kernel timezone is -0000 ipip: IPv4 over IPv4 tunneling driver ip_tables: (C) 2000-2006 Netfilter Core Team ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully arp_tables: (C) 2002 David S. Miller TCP: cubic registered NET: Registered protocol family 10 mip6: Mobile IPv6 ip6_tables: (C) 2000-2006 Netfilter Core Team NET: Registered protocol family 17 Bridge firewalling registered 8021q: 802.1Q VLAN Support v1.8 VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 regulator-dummy: disabling mvebu-rtc f10a3800.rtc: setting system clock to 2106-02-07 06:28:15 UTC (4294967295) ALSA device list: No soundcards found. Freeing unused kernel memory: 2940K (c08dc000 - c0bbb000) Diamond : initramfs start Diamond : Mounting procfs... Diamond : Mounting sysfs... --------------------------------------------------------- --------------------------------------------------------- Linux (none) 3.10.70 #1 SMP Wed Jan 9 15:16:56 CST 2019 armv7l GNU/Linux --------------------------------------------------------- --------------------------------------------------------- environment (524288 bytes) Read 0x80000 bytes at 0x300000 on /dev/mmcblk0boot0 Diamond : devicetree_addr=8800 Diamond : MOUNT_SYSTEM=/dev/mmcblk0p5 Diamond : Mounting /dev/mmcblk0p5... EXT4-fs (mmcblk0p5): recovery complete EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) shaFileSize = 19501056 94 24 f4 00 74 56 70 ad a2 5f 0f e1 c3 4c 61 b7 27 80 82 b8 ef 9e c5 41 77 fa f4 10 c8 d1 ac ef ca b1 a2 fb 4d 7c 9e 26 a6 47 85 0f 83 af db 3a f8 3f 93 b3 df 73 87 f9 bf 45 eb 96 6b f9 b2 c0 9b 9d e3 d4 10 c8 93 9a cb 68 dc 95 9a 50 56 27 8a a5 eb 65 d7 10 42 18 af d0 7b d5 4b db 8a 19 e3 06 c7 4b ce df 2e a3 54 89 6c 1b 0e fd c7 c2 a9 d6 21 28 5f 4f 62 1a 65 17 ed ad 74 f4 3a 9e 9c b3 13 ff 93 37 80 65 7c 6a 71 45 78 0e 01 ff 5d 81 62 11 f6 c0 c7 9d c7 9c 28 5a a5 4d ad e0 02 3a 95 a6 e8 46 18 e6 16 02 35 b2 d1 ea fa bf 7b 55 d4 2b 8b de ab 7e 3d c8 cb ce 2e e3 07 27 8e 13 19 bb 31 bc b5 25 2d 29 cd f6 1b ae eb 24 7c 66 22 8e 0f 2b 55 ed a0 16 5a dd e7 9c 8e 31 0d 27 69 7c d8 a9 81 86 56 6f 20 cc a9 0c b8 44 02 8d 73 10 4e 9b 25 5d 41 4a 5a eb 48 23 80 7a . Verifying the RSA/SHA-1 signature start to do sha1 27 7C 52 4C 2C 7E 74 91 4D F1 3B 31 82 BD E6 F9 B4 F0 06 35 rsa.len=256 . OK Diamond : Verify Squashfs:0 Diamond : Check and create dev/ttyS0 and dev/tts/0 rootfs on / type rootfs (rw) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) /dev/mmcblk0p5 on /mnt/system type ext4 (rw,relatime,data=ordered) /dev/loop0 on /mnt/rootfs type squashfs (ro,relatime) tmpfs on /mnt/rootfs/dev type tmpfs (rw,relatime,size=2048k) Diamond : /sbin/init found on /mnt/rootfs, switching rootfs ... environment (524288 bytes) Read 0x80000 bytes at 0x300000 on /dev/mmcblk0boot0 mknod: /dev/tm_button: File exists Diamond : Mounting /dev/mmcblk0p7... EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) Diamond : Mount /dev/mmcblk0p7 as /secure OK Diamond : UserMode Diamond : Checking Opt file system integrity... Diamond : Diamond : FSCKCODE=1 Diamond : Mounting /dev/mmcblk0p8... EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) Diamond : Mount /dev/mmcblk0p8 as /opt OK Diamond : run TmResetButtond Starting logging: OK Starting watchdog... Initializing random number generator... read-only file system detected...done Starting network... pool #1: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added eth0: link up eth0: started Detect DHCP mode... Starting runspec... device eth0 entered promiscuous mode copying table from file '/tmp/incrond_coredump_rule' Started runspec... updated_monitor (1418): /proc/1422/oom_adj is deprecated, please use /proc/1422/oom_score_adj instead. / # cat init #!/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin export PATH sleep 3 echo "Diamond : initramfs start" echo "Diamond : Mounting procfs..." mount -t procfs /proc echo "Diamond : Mounting sysfs..." mount -t sysfs /sys mdev -s stty -onlcr -icrnl -F /dev/ttyS1 57600 #KERNEL_VER=`uname -r` #MOD_PATH=/lib/modules/$KERNEL_VER echo --------------------------------------------------------- echo --------------------------------------------------------- uname -a echo --------------------------------------------------------- echo --------------------------------------------------------- mkdir -p /mnt/rootfs mkdir -p /mnt/system check_and_set_dev() { mkdir -p $SWITCH_ROOTFS/dev mount -t tmpfs -o size=2m tmpfs $SWITCH_ROOTFS/dev mkdir -p $SWITCH_ROOTFS/dev/pts mkdir -p $SWITCH_ROOTFS/dev/tts echo "Diamond : Check and create dev/ttyS0 and dev/tts/0" if [ ! -e $SWITCH_ROOTFS/dev/tts/0 ] ; then ln -sf /dev/ttyS0 $SWITCH_ROOTFS/dev/tts/0 ; fi if [ ! -e $SWITCH_ROOTFS/dev/ttyS0 ] ; then mknod $SWITCH_ROOTFS/dev/ttyS0 c 4 64 ; fi } find_init_and_switch_root() { check_and_set_dev mount cd $SWITCH_ROOTFS if [ -x sbin/init ]; then echo "Diamond : /sbin/init found on $SWITCH_ROOTFS, switching rootfs ..." exec switch_root $SWITCH_ROOTFS /sbin/init fi if [ -x bin/sh ]; then echo "Diamond : /bin/sh found on $SWITCH_ROOTFS, switching rootfs ..." exec switch_root $SWITCH_ROOTFS /bin/sh fi echo "Diamond : Could not find bootable filesystem on $SWITCH_ROOTFS..." cd / umount -f $SWITCH_ROOTFS/dev umount -f $SWITCH_ROOTFS } DEVICE_ADDR=`fw_printenv devicetree_addr | cut -d = -f 2` echo Diamond : devicetree_addr=$DEVICE_ADDR if [ x$DEVICE_ADDR = x800 ] ; then MOUNT_SYSTEM=/dev/mmcblk0p4 echo "Diamond : MOUNT_SYSTEM=$MOUNT_SYSTEM" elif [ x$DEVICE_ADDR = x8800 ] ; then MOUNT_SYSTEM=/dev/mmcblk0p5 echo "Diamond : MOUNT_SYSTEM=$MOUNT_SYSTEM" elif [ x$DEVICE_ADDR = x10800 ] ; then MOUNT_SYSTEM=/dev/mmcblk0p6 echo "Diamond : MOUNT_SYSTEM=$MOUNT_SYSTEM" else MOUNT_SYSTEM=/dev/mmcblk0p4 echo "Diamond : MOUNT_SYSTEM is unknown , set to $MOUNT_SYSTEM" #exec /bin/sh fi echo "Diamond : Mounting $MOUNT_SYSTEM..." if mount -t ext4 $MOUNT_SYSTEM /mnt/system ; then if [ -r /mnt/system/rootfs.squashfs ] ; then rsa_verify_squashfs /mnt/system/rootfs.squashfs result=$? echo "Diamond : Verify Squashfs:$result" if [ 0 -eq $result ] ; then SWITCH_ROOTFS=/mnt/rootfs losetup /dev/loop0 /mnt/system/rootfs.squashfs if mount -t squashfs /dev/loop0 $SWITCH_ROOTFS ; then find_init_and_switch_root umount $SWITCH_ROOTFS fi fi fi echo "Diamond : /mnt/system/rootfs.squashfs is not usable" echo -n -e '\xfa\x03\x03\x7\x7\x0\xfb' > /dev/ttyS1 # green red blink 700ms SWITCH_ROOTFS=/mnt/system find_init_and_switch_root echo "Diamond : /mnt/system is not usable" else echo -n -e '\xfa\x03\x03\x7\x7\x0\xfb' > /dev/ttyS1 # green red blink 700ms echo "Diamond : Mount failed..." fi # Cannot find any suitable rootfs, use the current rootfs ... echo "Diamond : Fallback to using rootfs from initramfs..." [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.10.70 (root@cptmacmillan-OptiPlex-9020) (gcc version 4.6.4 (Marvell GCC release 20160226-c4af733b 64K MAXPAGESIZE ALIGN) ) #1 SMP Wed Jan 9 15:16:56 CST 2019 [ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: Marvell Armada 380/381/382/383/384/385/388 (Device Tree), model: Marvell Armada 385 Development Board [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] free_area_init_node: node 0, pgdat c0c126c0, node_mem_map c1000000 [ 0.000000] Normal zone: 1024 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 0.000000] PERCPU: Embedded 7 pages/cpu @c140a000 s7168 r8192 d13312 u32768 [ 0.000000] pcpu-alloc: s7168 r8192 d13312 u32768 alloc=8*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p8 rw rdinit= init=/init [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 512MB = 512MB total [ 0.000000] Memory: 506888k/506888k available, 17400k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xe0800000 - 0xfff00000 ( 503 MB) lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .text : 0xc0008000 - 0xc08dc000 (9040 kB) .init : 0xc08dc000 - 0xc0bbbc00 (2943 kB) .data : 0xc0bbc000 - 0xc0c13be0 ( 351 kB) .bss : 0xc0c13be0 - 0xc0c74240 ( 386 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] LSP version: linux-3.10.70-2015_T1.1p7 [ 0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms [ 0.000000] L310 cache controller enabled [ 0.000000] l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B [ 0.000000] Console: colour dummy device 80x30 [ 0.000461] Calibrating delay loop... 2655.84 BogoMIPS (lpj=13279232) [ 0.060029] pid_max: default: 32768 minimum: 301 [ 0.060077] Security Framework initialized [ 0.060099] Mount-cache hash table entries: 512 [ 0.060398] CPU: Testing write buffer coherency: ok [ 0.060505] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.060538] Setting up static identity map for 0xc06cbd60 - 0xc06cbdb8 [ 0.060685] mvebu-pmsu: Initializing Power Management Service Unit [ 0.060717] Initializing CPU Reset module [ 0.061277] CPU1: Booted secondary processor [ 0.120474] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.120546] Brought up 2 CPUs [ 0.120552] SMP: Total of 2 processors activated (5311.69 BogoMIPS). [ 0.120553] CPU: All CPU(s) started in SVC mode. [ 0.120822] devtmpfs: initialized [ 0.123171] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0xA [ 0.123314] xor: measuring software checksum speed [ 0.220356] arm4regs : 2361.600 MB/sec [ 0.320256] 8regs : 1594.800 MB/sec [ 0.420157] 32regs : 1360.000 MB/sec [ 0.420159] xor: using function: arm4regs (2361.600 MB/sec) [ 0.420163] pinctrl core: initialized pinctrl subsystem [ 0.420401] regulator-dummy: no parameters [ 0.420547] NET: Registered protocol family 16 [ 0.421092] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.423084] irq: Cannot allocate irq_descs @ IRQ194, assuming pre-allocated [ 0.423435] irq: Cannot allocate irq_descs @ IRQ226, assuming pre-allocated [ 0.435294] bio: create slab |
||||