Advertisement
neggles

pc312 first console boot

Nov 19th, 2020 (edited)
581
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 13.78 KB | None | 0 0
  1. U-Boot 1.3.4 (Dec 18 2012 - 14:58:17) ip302ff-a-180.0.8583.1
  2.  
  3. Build: ip.access ip302ff
  4. Device: PC312 Rev 0001
  5. DRAM:  128 MB
  6. Flash: 64 MB
  7. In:    serial
  8. Out:   serial
  9. Err:   serial
  10. Net:   pc302_emac
  11. Hit any key to stop autoboot: 1 0
  12. => help
  13. ?       - alias for 'help'
  14. base     - print or set address offset
  15. bdinfo  - print Board Info structure
  16. bootm   - boot application image from memory
  17. bootp   - boot image via network using BootP/TFTP protocol
  18. cmp      - memory compare
  19. cp       - memory copy
  20. crc32    - checksum calculation
  21. erase   - erase FLASH memory
  22. exit    - exit script
  23. flinfo  - print FLASH memory information
  24. go      - start application at address 'addr'
  25. gpioset - set a gpio pin high or low
  26. help    - print online help
  27. iminfo  - print header information for application image
  28. loop     - infinite loop on address range
  29. md       - memory display
  30. memarb  - report/change SDRAM/SRAM arbitration scheme
  31. memcal  - calibrate memory read or write timing (assumes timing calibrated successfully - see timcal)
  32. memcfg  - report ARM/PC202 configuration affecting memory access speed
  33. mm       - memory modify (auto-incrementing)
  34. mtest    - simple RAM test
  35. mw       - memory write (fill)
  36. nm       - memory modify (constant address)
  37. ping    - send ICMP ECHO_REQUEST to network host
  38. printenv- print environment variables
  39. protect - enable or disable FLASH write protection
  40. rarpboot- boot image via network using RARP/TFTP protocol
  41. reset   - Clear bootcount, and perform RESET of the CPU
  42. run     - run commands in an environment variable
  43. saveenv - save environment variables to persistent storage
  44. set_led - change colour of Sys/Pwr LED
  45. setenv  - set environment variables
  46. sf      - SPI flash sub-system
  47. test    - minimal test like /bin/sh
  48. tftpboot- boot image via network using TFTP protocol
  49. timcal  - calibrate timing (via LED and using scope)
  50. version - print monitor version
  51. => printenv
  52. bootcmd=run bootflash
  53. ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;bootm $loadaddr $ramdiskaddr
  54. nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:any console=$consoledev,$baudrate $othbootargs;bootm $kernel_flash_addr
  55. baudrate=115200
  56. loadaddr=0x00200000
  57. othbootargs=panic=1
  58. netdev=eth0
  59. bootlimit=4
  60. kernel_nand_offset=0x00100000
  61. mtdparts=physmap-flash.0:384K@0x03e00000(uBoot),256K@0x40000(env),2M(kernel1),2M(kernel2),3584K(config),27M(FS1),27M(FS2),256K@0(fsboot),128K@0x03e60000(oem_divert2),256K(oem_data1),256K(oem_data2),256K(oem_lib1),256K(oem_lib2),256K(resv),256K(ipa_calib)
  62. nfs_args=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:any console=$consoledev,$baudrate $othbootargs mtdparts=$mtdparts;
  63. fixed_nfs=run nfs_args; tftp; bootm
  64. nand_jffs2=run nand_jffs2_args; nboot $loadaddr 0 $kernel_nand_offset; bootm $loaddddr
  65. nand_jffs2_args=setenv bootargs root=/dev/mtdblock6 rw rootfstype=jffs2 ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:any console=$consoledev,$baudrate $othbootargs;
  66. flash_args=setenv bootargs root=$rootdev ro rootfstype=cramfs,jffs2 ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:any console=$consoledev,$baudrate $othbootargs mtdparts=$mtdparts;
  67. set_args_1=setenv kernel_addr 0x40080000; setenv rootdev /dev/mtdblock5
  68. set_args_2=setenv kernel_addr 0x40280000; setenv rootdev /dev/mtdblock6
  69. check_bank=if test -z $bank; then setenv bank 1; fi
  70. bootflash=run check_bank; if test $bank -eq 1; then run set_args_1; else run set_args_2; fi; run flash_args; bootm $kernel_addr || run altbootcmd
  71. DIAGNOSTIC=TRUE
  72. ethact=pc302_emac
  73. netmask=255.255.255.0
  74. gatewayip=192.168.1.10
  75. altbootcmd=run check_bank; if test $bank -eq 1; then run set_args_2; else run set_args_1; fi; run flash_args; bootm $kernel_addr || set_led red
  76. ethaddr=10:5F:49:13:A3:0F
  77. ipaddr=192.168.1.56
  78. hostname=ip302ff
  79. serverip=192.168.1.10
  80. bootfile=224_009_197.0.bin
  81. rootpath=/opt/ipaccess/W3GFP103/224A_manuf_013_491.15.0,nolock,retran=10,tcp
  82. MANUFTEST=FALSE
  83. bootdelay=100
  84. consoledev=/dev/null
  85. bank=1
  86. stdin=serial
  87. stdout=serial
  88. stderr=serial
  89. bootcount=4
  90.  
  91. Environment size: 2315/131067 bytes
  92. => setenv consoledev ttyS0
  93. => saveenv
  94. Saving Environment to Flash...
  95. Un-Protected 1 sectors
  96. Un-Protected 1 sectors
  97. Erasing Flash...
  98. . done
  99. Erased 1 sectors
  100. Writing to Flash... done
  101. Protected 1 sectors
  102. Protected 1 sectors
  103. => printenv othbootargs
  104. othbootargs=panic=1
  105. => setenv othbootargs "panic=1 init=/bin/bash"
  106. => run bootflash
  107. ## Booting kernel from Legacy Image at 40080000 ...
  108.    Image Name:   Linux-2.6.34-ip3xxff-xc-240.0-pi
  109.    Image Type:   ARM Linux Kernel Image (uncompressed)
  110.    Data Size:    2000020 Bytes =  1.9 MB
  111.    Load Address: 00008000
  112.    Entry Point:  00008000
  113.    Verifying Checksum ... OK
  114.    Loading Kernel Image ... OK
  115. OK
  116. ## Attempting verify image @0x00008000 with app @0x43E30000...
  117. Verify FUSE is not enabled - booting
  118.  
  119. Starting kernel ...
  120.  
  121. Linux version 2.6.34-ip3xxff-xc-240.0-picochip-4.0.6 (ih3@rhel039) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #1 PREEMPT Tue Sep 16 09:01:41 BST 2014
  122. CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387f
  123. CPU: VIPT aliasing data cache, VIPT aliasing instruction cache
  124. Machine: PC7302
  125. Memory policy: ECC disabled, Data cache writeback
  126. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
  127. Kernel command line: root=/dev/mtdblock5 ro rootfstype=cramfs,jffs2 ip=192.168.1.56:192.168.1.10:192.168.1.10:255.255.255.0:ip302ff:eth0:any console=ttyS0,115200 panic=1 init=/bin/bash mtdparts=physmap-flash.0:384K@0x03e00000(uBoot),256K@0x40000(env),2M(kernel1),2M(kernel2),3584K(config),27M(FS1),27M(FS2),256K@0(fsboot),128K@0x03e60000(oem_divert2),256K(oem_data1),256K(oem_data2),256K(oem_lib1),256K(oem_lib2),256K(resv),256K(ipa_calib)
  128. PID hash table entries: 512 (order: -1, 2048 bytes)
  129. Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
  130. Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
  131. Memory: 128MB = 128MB total
  132. Memory: 125584k/125584k available, 5488k reserved, 0K highmem
  133. Virtual kernel memory layout:
  134.     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  135.     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
  136.     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
  137.     vmalloc : 0xc8800000 - 0xd8000000   ( 248 MB)
  138.     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
  139.     modules : 0xbf000000 - 0xc0000000   (  16 MB)
  140.       .init : 0xc0008000 - 0xc0021000   ( 100 kB)
  141.       .text : 0xc0021000 - 0xc03b7000   (3672 kB)
  142.       .data : 0xc03da000 - 0xc0401b20   ( 159 kB)
  143. SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  144. Hierarchical RCU implementation.
  145. NR_IRQS:72
  146. VIC @fe060000: id 0x00041192, vendor 0x41
  147. VIC @fe064000: id 0x00041192, vendor 0x41
  148. Console: colour dummy device 80x30
  149. Calibrating delay loop... 396.28 BogoMIPS (lpj=198144)
  150. Security Framework initialized
  151. Mount-cache hash table entries: 512
  152. CPU: Testing write buffer coherency: ok
  153. devtmpfs: initialized
  154. NET: Registered protocol family 16
  155. picoChip PC3XX device: pc312 revision 1
  156. hw perfevents: enabled with v6 PMU driver, 3 counters available
  157. bio: create slab <bio-0> at 0
  158. Switching to clocksource rtc
  159. NET: Registered protocol family 2
  160. IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  161. TCP established hash table entries: 4096 (order: 3, 32768 bytes)
  162. TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
  163. TCP: Hash tables configured (established 4096 bind 4096)
  164. TCP reno registered
  165. UDP hash table entries: 256 (order: 0, 4096 bytes)
  166. UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  167. NET: Registered protocol family 1
  168. RPC: Registered udp transport module.
  169. RPC: Registered tcp transport module.
  170. RPC: Registered tcp NFSv4.1 backchannel transport module.
  171. NetWinder Floating Point Emulator V0.97 (double precision)
  172. squashfs: version 4.0 (2009/01/31) Phillip Lougher
  173. JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
  174. msgmni has been set to 245
  175. alg: No test for cipher_null (cipher_null-generic)
  176. alg: No test for ecb(cipher_null) (ecb-cipher_null)
  177. alg: No test for digest_null (digest_null-generic)
  178. alg: No test for compress_null (compress_null-generic)
  179. alg: No test for stdrng (krng)
  180. io scheduler noop registered (default)
  181. Serial: 8250/16550 driver, (3) 4 ports, IRQ sharing disabled
  182. serial8250.0: ttyS0 at MMIO 0x80230000 (irq = 10) is a 16550A
  183. console [ttyS0] enabled
  184. serial8250.0: ttyS1 at MMIO 0x80240000 (irq = 9) is a 16550A
  185. PC3XX DMA Controller Driver Sep 16 2014 08:56:50 loaded
  186. physmap platform flash device: 08000000 at 40000000
  187. physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank. ID is 0x2301. Mfr is 0x1
  188. Amd/Fujitsu Extended Query Table at 0x0040
  189. number of CFI chips: 1
  190. 15 cmdlinepart partitions found on MTD device physmap-flash.0
  191. Creating 15 MTD partitions on "physmap-flash.0":
  192. 0x000003e00000-0x000003e60000 : "uBoot"
  193. 0x000000040000-0x000000080000 : "env"
  194. 0x000000080000-0x000000280000 : "kernel1"
  195. 0x000000280000-0x000000480000 : "kernel2"
  196. 0x000000480000-0x000000800000 : "config"
  197. 0x000000800000-0x000002300000 : "FS1"
  198. 0x000002300000-0x000003e00000 : "FS2"
  199. 0x000000000000-0x000000040000 : "fsboot"
  200. 0x000003e60000-0x000003e80000 : "oem_divert2"
  201. 0x000003e80000-0x000003ec0000 : "oem_data1"
  202. 0x000003ec0000-0x000003f00000 : "oem_data2"
  203. 0x000003f00000-0x000003f40000 : "oem_lib1"
  204. 0x000003f40000-0x000003f80000 : "oem_lib2"
  205. 0x000003f80000-0x000003fc0000 : "resv"
  206. 0x000003fc0000-0x000004000000 : "ipa_calib"
  207. Fixed MDIO Bus: probed
  208. IMQ driver loaded successfully.
  209.         Hooking IMQ after NAT on PREROUTING.
  210.         Hooking IMQ before NAT on POSTROUTING.
  211. tun: Universal TUN/TAP device driver, 1.6
  212. tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
  213. MAC bottom register was 13495F10
  214. MAC top register was 0FA3
  215. MAC read from HW is 10:5F:49:13:A3:0F in pid=1 (swapper)
  216. MAC saved in struct net_device is 10:5F:49:13:A3:0F
  217. [<c0027610>] (unwind_backtrace+0x0/0xec) from [<c0025ab8>] (show_stack+0x10/0x14)
  218. [<c0025ab8>] (show_stack+0x10/0x14) from [<c01ce190>] (pc302emac_get_hwaddr+0x134/0x174)
  219. [<c01ce190>] (pc302emac_get_hwaddr+0x134/0x174) from [<c01cf344>] (emac_drv_probe+0x20c/0x35c)
  220. [<c01cf344>] (emac_drv_probe+0x20c/0x35c) from [<c01ac288>] (platform_drv_probe+0x18/0x1c)
  221. [<c01ac288>] (platform_drv_probe+0x18/0x1c) from [<c01ab390>] (really_probe+0x90/0x13c)
  222. [<c01ab390>] (really_probe+0x90/0x13c) from [<c01ab4c0>] (__driver_attach+0x60/0x84)
  223. [<c01ab4c0>] (__driver_attach+0x60/0x84) from [<c01aabc8>] (bus_for_each_dev+0x44/0x74)
  224. [<c01aabc8>] (bus_for_each_dev+0x44/0x74) from [<c01aa52c>] (bus_add_driver+0x98/0x190)
  225. [<c01aa52c>] (bus_add_driver+0x98/0x190) from [<c01ab814>] (driver_register+0xa8/0xe0)
  226. [<c01ab814>] (driver_register+0xa8/0xe0) from [<c01cd754>] (emac_init_module+0xc/0x34)
  227. [<c01cd754>] (emac_init_module+0xc/0x34) from [<c0021314>] (do_one_initcall+0x5c/0x1b4)
  228. [<c0021314>] (do_one_initcall+0x5c/0x1b4) from [<c000848c>] (do_initcalls+0x14/0x30)
  229. [<c000848c>] (do_initcalls+0x14/0x30) from [<c0008518>] (kernel_init+0x4c/0xe4)
  230. [<c0008518>] (kernel_init+0x4c/0xe4) from [<c002294c>] (kernel_thread_exit+0x0/0x8)
  231. pc302_mii_bus: probed
  232. pc302-emac: Ethernet driver loaded
  233. eth0: attached Phy driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, irq=-1)
  234. i2c /dev entries driver
  235. i2c-gpio i2c-gpio.0: using pins 2 (SDA) and 0 (SCL)
  236. GACT probability on
  237. Mirror/redirect action on
  238. Simple TC action Loaded
  239. netem: version 1.2
  240. u32 classifier
  241.     Performance counters on
  242.     input device check on
  243.     Actions configured
  244. Netfilter messages via NETLINK v0.30.
  245. nf_conntrack version 0.5.0 (1962 buckets, 7848 max)
  246. CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
  247. nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
  248. sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
  249. xt_time: kernel timezone is -0000
  250. IPv4 over IPv4 tunneling driver
  251. ip_tables: (C) 2000-2006 Netfilter Core Team
  252. TCP cubic registered
  253. Initializing XFRM netlink socket
  254. NET: Registered protocol family 17
  255. NET: Registered protocol family 15
  256. 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
  257. All bugs added by David S. Miller <davem@redhat.com>
  258. SCTP: Hash tables configured (established 4096 bind 8192)
  259. MAC to be written to HW is 10:5F:49:13:A3:0F in pid=1 (swapper)
  260. MAC bottom register was 13495F10
  261. MAC top register was 0FA3
  262. MAC bottom register will be 13495F10
  263. MAC top register will be 0FA3
  264. [<c0027610>] (unwind_backtrace+0x0/0xec) from [<c0025ab8>] (show_stack+0x10/0x14)
  265. [<c0025ab8>] (show_stack+0x10/0x14) from [<c01cd884>] (pc302emac_set_hwaddr+0x108/0x12c)
  266. [<c01cd884>] (pc302emac_set_hwaddr+0x108/0x12c) from [<c01cd8bc>] (pc302emac_init_hw+0x14/0xfc)
  267. [<c01cd8bc>] (pc302emac_init_hw+0x14/0xfc) from [<c01cec38>] (pc302emac_open+0xc8/0x11c)
  268. [<c01cec38>] (pc302emac_open+0xc8/0x11c) from [<c01eccf0>] (__dev_open+0xa0/0xf4)
  269. [<c01eccf0>] (__dev_open+0xa0/0xf4) from [<c01e9160>] (__dev_change_flags+0x90/0x11c)
  270. [<c01e9160>] (__dev_change_flags+0x90/0x11c) from [<c01ecc1c>] (dev_change_flags+0x10/0x44)
  271. [<c01ecc1c>] (dev_change_flags+0x10/0x44) from [<c0019a10>] (ic_open_devs+0xf0/0x1f4)
  272. [<c0019a10>] (ic_open_devs+0xf0/0x1f4) from [<c001b0dc>] (ip_auto_config+0x40/0x264)
  273. [<c001b0dc>] (ip_auto_config+0x40/0x264) from [<c0021314>] (do_one_initcall+0x5c/0x1b4)
  274. [<c0021314>] (do_one_initcall+0x5c/0x1b4) from [<c000848c>] (do_initcalls+0x14/0x30)
  275. [<c000848c>] (do_initcalls+0x14/0x30) from [<c0008518>] (kernel_init+0x4c/0xe4)
  276. [<c0008518>] (kernel_init+0x4c/0xe4) from [<c002294c>] (kernel_thread_exit+0x0/0x8)
  277. IP-Config: Complete:
  278.      device=eth0, addr=192.168.1.56, mask=255.255.255.0, gw=192.168.1.10,
  279.      host=ip302ff, domain=, nis-domain=(none),
  280.      bootserver=192.168.1.10, rootserver=192.168.1.10, rootpath=
  281. VFS: Mounted root (cramfs filesystem) readonly on device 31:5.
  282. Freeing init memory: 100K
  283. bash-3.00#
  284.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement