# [04040B0A][04040B0B] DDR Calibration DQS reg = 00007B7B U-Boot 1.1.3 (Aug 6 2015 - 08:59:14) Board: Ralink APSoC DRAM: 32 MB relocate_code Pointer at: 81fb8000 flash manufacture id: ef, device id 40 17 find flash: W25Q64BV *** Warning - bad CRC, using default environment ============================================ Ralink UBoot Version: 4.3.0.0 -------------------------------------------- ASIC 7628_MP (Port5<->None) DRAM component: 256 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 32 MBytes Flash component: SPI Flash Date:Aug 6 2015 Time:08:59:14 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 575 MHZ #### estimate memory size =32 Mbytes RESET MT7628 PHY!!!!!! Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. 0 3: System Boot system code via Flash. ## Booting image at bc050000 ... Image Name: Linux Kernel Image Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 3275013 Bytes = 3.1 MB Load Address: 80000000 Entry Point: 8000c150 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 8000c150) ... ## Giving linux memsize in MB, 32 Starting kernel ... LINUX started... THIS IS ASIC Linux version 2.6.36 (root@ubuntu) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #137 Mon Nov 23 03:18:35 PST 2015 The CPU feqenuce set to 575 MHz MIPS CPU sleep mode enabled. CPU revision is: 00019655 (MIPS 24Kc) Software DMA cache coherency Determined physical RAM map: memory: 02000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0x00000000 -> 0x00002000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00002000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock5 console=ttyS0 PID hash table entries: 128 (order: -3, 512 bytes) Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Primary instruction cache 64kB, VIPT, , 4-waylinesize 32 bytes. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes Writing ErrCtl register=0000990f Readback ErrCtl register=0000990f Memory: 20344k/32768k available (3032k kernel code, 12384k reserved, 770k data, 8080k init, 0k highmem) NR_IRQS:128 console [ttyS1] enabled Calibrating delay loop... 389.12 BogoMIPS (lpj=194560) pid_max: default: 4096 minimum: 301 Mount-cache hash table entries: 512 NET: Registered protocol family 16 bio: create slab <bio-0> at 0 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switching to clocksource Ralink Systick timer NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered NET: Registered protocol family 1 RT3xxx EHCI/OHCI init. JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. msgmni has been set to 39 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) Ralink gpio driver initialized Enable Ralink GDMA Controller Module GDMA IP Version=3 Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0x10000d00 (irq = 21) is a 16550A serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A flash manufacture id: ef, device id 40 17 W25Q64BV(ef 40170000) (8192 Kbytes) mtd .name = raspi, .size = 0x00800000 (8M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 -->Baggio.wu-->OK, CONFIG_RT2880_ROOTFS_IN_FLASH -->Baggio.wu-->IMAGE1_SIZE = 0x00800000, 8192 K -->Baggio.wu-->MTD_BOOT_PART_SIZE = 0x00030000, 192 K -->Baggio.wu-->MTD_CONFIG_PART_SIZE = 0x00010000, 64 K -->Baggio.wu-->MTD_FACTORY_PART_SIZE = 0x00010000, 64 K -->Baggio.wu-->CONFIG_MTD_KERNEL_PART_SIZ = 0x00150000, 1344 K -->Baggio.wu-->MTD_ROOTFS_PART_SIZE = 0x00260000, 2432 K -->Baggio.wu-->MTD_SYSTEM_PART_SIZE = 0x00400000, 4096 K -->Baggio.wu-->[drivers/mtd/ralink/ralink_bbu_spi.c][1647], add_mtd_partition Creating 7 MTD partitions on "raspi": 0x000000000000-0x000000800000 : "ALL" 0x000000000000-0x000000030000 : "Bootloader" 0x000000030000-0x000000040000 : "Config" 0x000000040000-0x000000050000 : "Factory" 0x000000050000-0x0000001a0000 : "Kernel" 0x0000001a0000-0x000000400000 : "RootFS" 0x000000400000-0x000000800000 : "System" rdm_major = 253 GMAC1_MAC_ADRH -- : 0x0000006e GMAC1_MAC_ADRL -- : 0x07911d73 Ralink APSoC Ethernet Driver Initilization. v3.1 256 rx/tx descriptors allocated, mtu = 1500! GMAC1_MAC_ADRH -- : 0x0000006e GMAC1_MAC_ADRL -- : 0x07911d73 PROC INIT OK! === pAd = c0054000, size = 792920 === <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x <-- RTMPAllocAdapterBlock, Status=0 RtmpChipOpsHook(492): Not support for HIF_MT yet! mt7628_init()--> mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) e2.bin mt7628_init(1117)::(2), pChipCap->fw_len(63056) mt_bcn_buf_init(218): Not support for HIF_MT yet! <--mt7628_init() ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver FM_OUT value: u4FmOut = 0(0x00000000) FM_OUT value: u4FmOut = 134(0x00000086) FM detection done! loop = 1 SR calibration value u1SrCalVal = 6 rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1 rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000 rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2 rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected Linux video capture interface: v2.00 usbcore: registered new interface driver uvcvideo USB Video Class driver (v0.1.0) Ralink APSoC Hardware Watchdog Timer MTK MSDC device init. mtk-sd: MediaTek MT6575 MSDC Driver GRE over IPv4 demultiplexor driver TCP cubic registered NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> msdc0 -> ops_get_cd return<0> <- msdc_ops_get_cd() : L<2323> PID<kworker/u:0><0x5> Freeing unused kernel memory: 8080k freed init started: BusyBox v1.12.1 (Algorithmics/MIPS FPU Emulator v1.5 2015-09-26 10:54:02 PDT) starting pid 17, tty '': '/etc_ro/rcS' mount: mounting none on /dev/pts failed: No such file or directory mount: mounting none on /proc/bus/usb failed: No such file or directory mount: mounting none on /system failed: No such file or directory mknod: /dev/pts/0: Operation not permitted mknod: /dev/pts/1: Operation not permitted mknod: /dev/pts/2: Operation not permitted mknod: /dev/pts/3: Operation not permitted Welcome to __ ___ _____ _____ _ _______ ______ _____ _ ___ | \ / || ___|| __ \ | || __ ||__ __|| ___|| | / / | ^ || |__ | | \ \| || | | | | | | |__ | |/ / | | | || ___|| | | || || |__| | | | | ___|| \ | | | || |___ | |__/ /| || __ | | | | |___ | |\ \ |__| |___||_____||_____/ |_||_| |_| |_| |_____||_| \__\ = Everyday Genius = starting pid 109, tty '/dev/ttyS1': '/bin/sh' /usr/sbin/ba_ipcam.sh: line 5: ./system/app/daemon: not found BusyBox v1.12.1 (2015-09-26 10:54:02 PDT) built-in shell (ash) Enter 'help' for a list of built-in commands.
build Dropbear
export CC=/opt/buildroot-gcc342/bin/mipsel-linux-gcc export LDFLAGS="-L/opt/buildroot-gcc342/lib -static" export CPPFLAGS="-I/opt/buildroot-gcc342/include -static" ./configure --host=mips-linux --disable-zlib make PROGRAMS="dropbear dbclient scp dropbearkey dropbearconvert" MULTI=1 STATIC=1 SCPPROGRESS=1