U-Boot 1.3.4-113988 (Mar 20 2015 - 17:36:32)
ARM Clock: 480MHz
DDR Clock: 336MHz
Hit Ctrl+u to stop autoboot: 2
HKVS # printenv
ipaddr=192.0.0.64
serverip=192.0.0.128
gatewayip=0.0.0.0
netmask=255.255.255.0
ethaddr=c4:2f:90:18:a4:c3
loadaddr=0xc2000000
bootfile=digicap.dav
bootcmd=
bootargs=console=ttyS0 initrd=0xc0a00000,0x400000 rw root=/dev/ram dbg=0
bootdelay=2
HKVS # setenv bootargs console=ttyS0 initrd=0xc0a00000,0x400000 rw root=/dev/ram dbg=9 debug single
HKVS # saveenv
Writing env to Nand... done
▒KVS # reset
U-Boot 1.3.4-113988 (Mar 20 2015 - 17:36:32)
ARM Clock: 480MHz
DDR Clock: 336MHz
Hit Ctrl+u to stop autoboot: 0
U-Boot 1.3.4-113988 (Mar 20 2015 - 17:36:32)
ARM Clock: 480MHz
DDR Clock: 336MHz
Hit Ctrl+u to stop autoboot: 0
|RCV UDP pack timeout|
booting from sec part...
load kernel...
load ramdisk...
[ 0.000000] Linux version 2.6.38.8 (chenyuanming@Cpl-Frt-BSP) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) )
[ 0.000000] #18 PREEMPT Thu Jan 21 17:27:08 CST 2016
[ 0.000000] CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: Coconut
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] Ambarella: AHB = 0x60000000[0xf0000000],0x01000000 0
[ 0.000000] Ambarella: APB = 0x70000000[0xf1000000],0x01000000 0
[ 0.000000] Ambarella: PPM = 0xc0000000[0xe0000000],0x00200000 9
[ 0.000000] Ambarella: BSB = 0xc8c00000[0xe8c00000],0x00400000 9
[ 0.000000] Ambarella: DSP = 0xc9000000[0xe9000000],0x07000000 9
[ 0.000000] Ambarella: HAL = 0xc00a0000[0xfee00000],0x0000e708 9
[ 0.000000] On node 0 totalpages: 25344
[ 0.000000] free_area_init_node: node 0, pgdat c0563180, node_mem_map c0589000
[ 0.000000] Normal zone: 198 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 25146 pages, LIFO batch:7
[ 0.000000] bootmem_init: high_memory = 0xc8a00000
[ 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: 25146
[ 0.000000] Kernel command line: console=ttyS0 initrd=0xc0a00000,0x400000 rw root=/dev/ram dbg=9 debug single KRN_PRT=sec RMD_PRT=sec reserved=0xc6500000,0x100000,99 video=amb0fb:720x480,720x480,1,0
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 99MB = 99MB total
[ 0.000000] Memory: 90656k/90656k available, 10720k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xfe600000 - 0xfee00000 ( 8 MB)
[ 0.000000] vmalloc : 0xc9000000 - 0xe0000000 ( 368 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8a00000 ( 138 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc002d000 ( 148 kB)
[ 0.000000] .text : 0xc002d000 - 0xc052f000 (5128 kB)
[ 0.000000] .data : 0xc0530000 - 0xc0563820 ( 207 kB)
[ 0.000000] Preemptable hierarchical RCU implementation.
[ 0.000000] RCU-based detection of stalled CPUs is disabled.
[ 0.000000] Verbose stalled-CPUs detection is disabled.
[ 0.000000] NR_IRQS:224
[ 0.000000] sched_clock: 32 bits at 72MHz, resolution 13ns, wraps every 59652ms
[ 0.000000] sched_clock: wrong multiply/shift: 1864135111>>27 vs calculated 3728270222>>28
[ 0.000000] sched_clock: fix multiply/shift to avoid scheduler hiccups
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [ttyS0] enabled
[ 0.274238] Calibrating delay loop... 527.56 BogoMIPS (lpj=2637824)
[ 0.522862] pid_max: default: 32768 minimum: 301
[ 0.527858] Mount-cache hash table entries: 512
[ 0.533173] CPU: Testing write buffer coherency: ok
[ 0.544612] NET: Registered protocol family 16
[ 0.559530] Ambarella Coconut:
[ 0.562829] chip id: 5100
[ 0.565637] board type: 3
[ 0.568433] board revision: 10
[ 0.571808] chip name: a5m
[ 0.574704] HAL version: 176869
[ 0.578023] reference clock: 24000000
[ 0.581853] system configuration: 0x177804ea
[ 0.586223] boot type: 0x00000002
[ 0.589712] hif type: 0x00000000
[ 0.618937] bio: create slab <bio-0> at 0
[ 0.625617] ambarella-spi ambarella-spi.0: ambarella SPI Controller 0 created
[ 0.643077] ambarella-i2c ambarella-i2c.0: Ambarella Media Processor I2C adapter[i2c-0] probed!
[ 0.653447] ambarella-i2c ambarella-i2c.1: Ambarella Media Processor I2C adapter[i2c-1] probed!
[ 0.663654] i2c i2c-0: Added multiplexed i2c bus 2
[ 0.668470] ambarella-i2cmux ambarella-i2cmux.0: mux on ambarella-i2c adapter
[ 0.678478] Advanced Linux Sound Architecture Driver Version 1.0.23.
[ 0.688525] cfg80211: Calling CRDA to update world regulatory domain
[ 0.696369] Switching to clocksource ambarella-cs-timer
[ 0.710181] Switched to NOHz mode on CPU #0
[ 0.766313] NET: Registered protocol family 2
[ 0.771003] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.779132] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.786556] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.793210] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.799581] TCP reno registered
[ 0.802825] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.808699] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.815656] NET: Registered protocol family 1
[ 0.820772] RPC: Registered udp transport module.
[ 0.825650] RPC: Registered tcp transport module.
[ 0.830371] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.837344] Trying to unpack rootfs image as initramfs...
[ 0.845172] rootfs image is not initramfs (no cpio magic); looks like an initrd
[ 0.885583] Freeing initrd memory: 4096K
[ 0.892423] [ kernel version: svn-174544 ]
[ 0.896690] mmc0 power register success!
[ 0.900634] mmc1 power register success!
[ 0.904935] reboot times :1
[ 0.933381] msgmni has been set to 185
[ 0.946026] alg: No test for stdrng (krng)
[ 0.950272] io scheduler noop registered
[ 0.954486] io scheduler deadline registered
[ 0.958929] io scheduler cfq registered (default)
[ 0.967297] ambarella-fb ambarella-fb.0: probe p[720x480] v[720x576] c[1] b[0] l[736] @ [0xc5980000:0x00068000]!
[ 0.979372] ambarella-uart.0: ttyS0 at MMIO 0x70005000 (irq = 9) is a ambuart
[ 1.025191] brd: module loaded
[ 1.041893] loop: module loaded
[ 1.048365] NAND device: Manufacturer ID: 0xc2, Chip ID: 0xf1 (MXIC NAND 128MiB 3,3V 8-bit)
[ 1.057085] ambarella_nand_config_flash: 0x02e00140, 0x02c00140
[ 1.063547] Bad block table found at page 65472, version 0x01
[ 1.069767] Bad block table found at page 65408, version 0x01
[ 1.075914] nand_read_bbt: Bad block at 0x0000009c0000
[ 1.081076] nand_read_bbt: Bad block at 0x0000012c0000
[ 1.086312] nand_read_bbt: Bad block at 0x000001fa0000
[ 1.091470] nand_read_bbt: Bad block at 0x0000036e0000
[ 1.096676] nand_read_bbt: Bad block at 0x000003ce0000
[ 1.101818] nand_read_bbt: Bad block at 0x000003e00000
[ 1.107015] nand_read_bbt: Bad block at 0x0000045e0000
[ 1.112210] nand_read_bbt: Bad block at 0x000005120000
[ 1.117359] nand_read_bbt: Bad block at 0x000005480000
[ 1.122552] nand_read_bbt: Bad block at 0x0000070a0000
[ 1.127698] nand_read_bbt: Bad block at 0x0000074a0000
[ 1.139191] ambarella-nand ambarella-nand: ambarella_nand_probe: Partition infomation found!
[ 1.147770] Creating 18 MTD partitions on "ambnand":
[ 1.152830] 0x000000000000-0x000000020000 : "bst"
[ 1.161342] 0x000000020000-0x000000120000 : "ptb"
[ 1.169763] 0x000000120000-0x000000220000 : "bld"
[ 1.178298] 0x000000220000-0x000000320000 : "hal"
[ 1.186865] 0x000000320000-0x000000420000 : "ano_ptb"
[ 1.195835] 0x000000420000-0x0000004a0000 : "env"
[ 1.204492] 0x0000004a0000-0x000000520000 : "param"
[ 1.213380] 0x000000520000-0x000000620000 : "dpt"
[ 1.221893] 0x000000620000-0x000001020000 : "rcvy"
[ 1.230849] 0x000001020000-0x000001820000 : "krn_pri"
[ 1.239812] 0x000001820000-0x000002020000 : "krn_sec"
[ 1.248829] 0x000002020000-0x000002420000 : "rmd_pri"
[ 1.257851] 0x000002420000-0x000002820000 : "rmd_sec"
[ 1.266941] 0x000002820000-0x000004020000 : "app_pri"
[ 1.276096] 0x000004020000-0x000005820000 : "app_sec"
[ 1.285285] 0x000005820000-0x000005c20000 : "cfg_pri"
[ 1.294439] 0x000005c20000-0x000006020000 : "cfg_sec"
[ 1.303760] 0x000006020000-0x000007020000 : "dbg"
[ 1.319075] PPP generic driver version 2.4.2
[ 1.324872] PPP Deflate Compression module registered
[ 1.329944] PPP BSD Compression module registered
[ 1.528652] Ambarella MII Bus: probed
[ 1.534003] ambarella-eth ambarella-eth.0: MAC Address[c4:2f:90:18:a4:c3].
[ 1.541611] console [netcon0] enabled
[ 1.545455] netconsole: network logging started
[ 1.551505] mousedev: PS/2 mouse device common for all mice
[ 1.558237] input: AmbInput as /devices/virtual/input/input0
[ 1.565026] ambarella_gpio_irq_set_wake: irq[75] = girq[11] = 1
[ 1.570975] ambarella-input ambarella-input: AmbInput probed!
[ 1.577836] ambarella-adc ambarella-adc: ADC Host Controller [polling mode] probed!
[ 1.587230] ambarella-rtc ambarella-rtc: rtc core: registered ambarella-rtc as rtc0
[ 1.595594] i2c /dev entries driver
[ 1.603834] ambarella-wdt ambarella-wdt: Ambarella Media Processor Watch Dog Timer[ambarella-wdt].
[ 1.619220] ALSA device list:
[ 1.622446] No soundcards found.
[ 1.626025] Netfilter messages via NETLINK v0.30.
[ 1.630895] nf_conntrack version 0.5.0 (1480 buckets, 5920 max)
[ 1.637678] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.643283] TCP cubic registered
[ 1.646917] NET: Registered protocol family 10
[ 1.653922] Mobile IPv6
[ 1.656494] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 1.662246] IPv6 over IPv4 tunneling driver
[ 1.670043] NET: Registered protocol family 17
[ 1.675398] sctp: Hash tables configured (established 4096 bind 8192)
[ 1.682313] sctp: sctp_init_sock(sk: c58d5b20)
[ 1.686875] lib80211: common routines for IEEE802.11 drivers
[ 1.692661] lib80211_crypt: registered algorithm 'NULL'
[ 1.701751] ambarella-rtc ambarella-rtc: setting system clock to 2020-09-16 21:17:00 UTC (1600291020)
[ 1.711956] RAMDISK: gzip image found at block 0
[ 2.540527] EXT2-fs (ram0): warning: maximal mount count reached, running e2fsck is recommended
[ 2.549506] VFS: Mounted root (ext2 filesystem) on device 1:0.
[ 2.555670] Freeing init memory: 148K
init started: BusyBox v1.19.3 (2014-07-11 11:25:54 CST)
starting pid 378, tty '': '-/bin/sh'
BusyBox v1.19.3 (2014-07-11 11:25:54 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
awk: /proc/mounts: No such file or directory
==================== INITRAM_FS ====================
# mount -t proc proc /proc
# mount -t sysfs sysfs /sys
# mount -t ramfs ramfs /home
# /etc/S_udev
Starting udev: [ OK ]
# ifconfig eth0 192.0.0.64 up
[ 99.536242] net eth0: Could not find default PHY in 9.
[ 99.541411] net eth0: Try PHY[3] whose id is 0x001cc816!
[ 99.550368] ADDRCONF(NETDEV_UP): eth0: link is not ready
# [ 101.542466] PHY: 0:03 - Link is Up - 100/Full
[ 101.547016] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
#
# [ 111.872142] eth0: no IPv6 routers present
# mount -t cifs /192.0.0.128/temp /mnt/nfs00 -o username=myuser,password=mypassword
# ls -al /mnt/nfs00/mtdblock*
-rwxr-xr-x 0 root root 4194304 Sep 17 2020 /mnt/nfs00/mtdblock11
-rwxr-xr-x 0 root root 25165824 Sep 17 2020 /mnt/nfs00/mtdblock13
-rwxr-xr-x 0 root root 10485760 Sep 17 2020 /mnt/nfs00/mtdblock8
-rwxr-xr-x 0 root root 8388608 Sep 17 2020 /mnt/nfs00/mtdblock9
#