Как ускорить загрузку OpenWRT на TP-LINK TR3020?

Собрал кастомную прошивку на девайс (статический ip + usb mount + samba)
Выпилил кучу ненужных пакетов и добавил нужные для работы:

make image PROFILE=TLMR3020 PACKAGES="-kmod-gpio-button-hotplug -kmod-ath9k
-wpad-mini -ppp -ppp-mod-pppoe -iptables -ip6tables -kmod-ipv6 -firewall block-mount
samba36-server kmod-fs-ntfs kmod-fs-vfat kmod-nls-cp1250 kmod-nls-cp1251 ntfs-3g
usbutils kmod-usb2 kmod-usb-core kmod-usb-storage" FILES=files/

Время загрузки составляет 35 секунд. Нужно подшаманить хотя бы до 20ти.
Как это сделать ума не приложу :( Ниже лог dmesg:

[0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02))
[0.000000] MyLoader: sysp=20cf4172, boardp=3df7af25, parts=0ddc7f71
[0.000000] bootconsole [early0] enabled
[0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[0.000000] SoC: Atheros AR9330 rev 1
[0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[0.000000] Determined physical RAM map:
[0.000000]  memory: 02000000 @ 00000000 (usable)
[0.000000] Initrd not found or empty - disabling initrd
[0.000000] Zone PFN ranges:
[0.000000]   Normal   0x00000000 -> 0x00002000
[0.000000] Movable zone start PFN for each node
[0.000000] Early memory PFN ranges
[0.000000] 0: 0x00000000 -> 0x00002000
[0.000000] On node 0 totalpages: 8192
[0.000000] free_area_init_node: node 0, pgdat 802f1100, node_mem_map 81000000
[0.000000]   Normal zone: 64 pages used for memmap
[0.000000]   Normal zone: 0 pages reserved
[0.000000]   Normal zone: 8128 pages, LIFO batch:0
[0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[0.000000] pcpu-alloc: [0] 0
[0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[0.000000] Kernel command line:  board=TL-MR3020 console=ttyATH0,115200 root fstype=squashfs,jffs2 noinitrd
[0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[0.000000] Writing ErrCtl register=00000000
[0.000000] Readback ErrCtl register=00000000
[0.000000] Memory: 29000k/32768k available (2211k kernel code, 3768k reserved, 418k data, 212k init, 0k highmem)
[0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, No des=1
[0.000000] NR_IRQS:51
[0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[0.080000] pid_max: default: 32768 minimum: 301
[0.080000] Mount-cache hash table entries: 512
[0.090000] NET: Registered protocol family 16
[0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[0.100000] MIPS: machine is TP-LINK TL-MR3020
[0.350000] bio: create slab <bio-0> at 0
[0.360000] Switching to clocksource MIPS
[0.360000] NET: Registered protocol family 2
[0.370000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[0.370000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[0.370000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[0.380000] TCP: Hash tables configured (established 1024 bind 1024)
[0.390000] TCP reno registered
[0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[0.400000] NET: Registered protocol family 1
[0.410000] PCI: CLS 0 bytes, default 32
[0.430000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[0.430000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY ) (c) 2001-2006 Red Hat, Inc.
[0.440000] msgmni has been set to 56
[0.440000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 54)
[0.450000] io scheduler noop registered
[0.450000] io scheduler deadline registered (default)
[0.460000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[0.470000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UA RT
[0.480000] console [ttyATH0] enabled, bootconsole disabled
[0.490000] m25p80 spi0.0: found s25sl032a, expected m25p80
[0.500000] m25p80 spi0.0: s25sl032a (4096 Kbytes)
[0.500000] 5 tp-link partitions found on MTD device spi0.0
[0.510000] Creating 5 MTD partitions on "spi0.0":
[0.510000] 0x000000000000-0x000000020000 : "u-boot"
[0.520000] 0x000000020000-0x000000109c70 : "kernel"
[0.520000] mtd: partition "kernel" must either start or end on erase block b oundary or be smaller than an erase block -- forcing read-only
[0.540000] 0x000000109c70-0x0000003f0000 : "rootfs"
[0.540000] mtd: partition "rootfs" must either start or end on erase block b oundary or be smaller than an erase block -- forcing read-only
[0.550000] mtd: partition "rootfs" set to be root filesystem
[0.560000] mtd: partition "rootfs_data" created automatically, ofs=320000, l en=D0000
[0.570000] 0x000000320000-0x0000003f0000 : "rootfs_data"
[0.570000] 0x0000003f0000-0x000000400000 : "art"
[0.580000] 0x000000020000-0x0000003f0000 : "firmware"
[0.600000] ag71xx_mdio: probed
[0.610000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[1.160000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid= 004dd041, driver=Generic PHY]
[1.170000] TCP cubic registered
[1.170000] NET: Registered protocol family 17
[1.180000] Bridge firewalling registered
[1.180000] 8021q: 802.1Q VLAN Support v1.8
[1.190000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[1.200000] Freeing unused kernel memory: 212k freed
[3.450000] Registered led device: tp-link:green:3g
[3.450000] Registered led device: tp-link:green:wlan
[3.450000] Registered led device: tp-link:green:lan
[3.450000] Registered led device: tp-link:green:wps
[6.180000] eth0: link up (100Mbps/Full duplex)
[6.730000] JFFS2 notice: (437) jffs2_build_xattr_subsystem: complete buildin g xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 10 of xref (0 dead, 2  orphan) found.
[7.280000] SCSI subsystem initialized
[7.410000] usbcore: registered new interface driver usbfs
[7.410000] usbcore: registered new interface driver hub
[7.420000] usbcore: registered new device driver usb
[7.580000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[7.580000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[7.590000] ehci-platform ehci-platform: new USB bus registered, assigned bus  number 1
[7.630000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[7.650000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[7.650000] hub 1-0:1.0: USB hub found
[7.650000] hub 1-0:1.0: 1 port detected
[7.670000] Initializing USB Mass Storage driver...
[7.680000] usbcore: registered new interface driver usb-storage
[7.680000] USB Mass Storage support registered.
[7.980000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[8.130000] scsi0 : usb-storage 1-1:1.0
[9.130000] scsi 0:0:0:0: Direct-Access FUJITSU  HandyDrive100 PQ : 0 ANSI: 0
[9.140000] sd 0:0:0:0: [sda] 195371568 512-byte logical blocks: (100 GB/93.1  GiB)
[9.150000] sd 0:0:0:0: [sda] Write Protect is off
[9.150000] sd 0:0:0:0: [sda] Mode Sense: 27 00 00 00
[9.150000] sd 0:0:0:0: [sda] No Caching mode page present
[9.160000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[9.170000] sd 0:0:0:0: [sda] No Caching mode page present
[9.170000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[9.520000]  sda: sda1
[9.530000] sd 0:0:0:0: [sda] No Caching mode page present
[9.530000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[9.540000] sd 0:0:0:0: [sda] Attached SCSI disk
[28.110000] eth0: link down
[28.720000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[28.990000] ip_tables: (C) 2000-2006 Netfilter Core Team
[29.130000] nf_conntrack version 0.5.0 (456 buckets, 1824 max)
[29.470000] fuse init (API version 7.18)
[34.230000] eth0: link up (100Mbps/Full duplex)
  • Вопрос задан
  • 708 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы