Advertisement
Guest User

OpenWRT test boot

a guest
Nov 14th, 2021
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.97 KB | None | 0 0
  1. uboot> # tftpsrv
  2. Using rtl9300#0 device
  3. Listening for TFTP transfer on 10.6.6.67
  4. Load address: 0x84000000
  5. Loading: #################################################################
  6. #################################################################
  7. #################################################################
  8. #################################################################
  9. #################################################################
  10. #################################################################
  11. #################################################################
  12. #################################################################
  13. #################################################################
  14. #################################################################
  15. #################################################################
  16. #################################################################
  17. #################################################################
  18. #################################################################
  19. #################################################################
  20. #################################################################
  21. #################################################################
  22. #########################################################
  23. done
  24. Bytes transferred = 5948920 (5ac5f8 hex)
  25. uboot> # printenv
  26. baudrate=115200
  27. boardmodel=UBNT_USL8A
  28. bootargs=console=ttyS0,115200 init=/init mem=131008K ramoops.mem_address=0x7FF0000 ramoops.mem_size=65536 ramoops.ecc=1 ramoops.record_size=16384 ramoops.console_size=16384 mtdparts=spi_flash:640k(u-boot),64k(u-boot-env),7232k(kernel0),7296k(kernel1),64k(cdata),1024k(cfg),64k(EEPROM)
  29. bootcmd=bootubnt
  30. bootdelay=1
  31. ethact=rtl9300#0
  32. ethaddr=00:E0:4C:00:00:00
  33. fileaddr=84000000
  34. filesize=5AC5F8
  35. ipaddr=10.6.6.67
  36. loadaddr=0x84000000
  37. mtdparts=mtdparts=spi_flash:640k(u-boot),64k(u-boot-env),7232k(kernel0),7296k(kernel1),64k(cdata),1024k(cfg),64k(EEPROM)
  38. netmask=255.0.0.0
  39. serverip=10.7.7.7
  40. stderr=serial
  41. stdin=serial
  42. stdout=serial
  43.  
  44. Environment size: 699/65532 bytes
  45. uboot> # bootm $loadaddr
  46. bootm - boot application image from memory
  47.  
  48. Usage:
  49. bootm [addr [arg ...]]
  50. - boot application image stored in memory
  51. passing arguments 'arg ...'; when booting a Linux kernel,
  52. 'arg' can be the address of an initrd image
  53.  
  54. Sub-commands to do part of the bootm sequence. The sub-commands must be
  55. issued in the order below (it's ok to not issue all sub-commands):
  56. start [addr [arg ...]]
  57. loados - load OS image
  58. cmdline - OS specific command line processing/setup
  59. bdt - OS specific bd_t processing
  60. prep - OS specific prep before relocation or go
  61. go - start OS
  62. uboot> # bootm 0x84000000
  63. ## Booting kernel from Legacy Image at 84000000 ...
  64. Image Name: OpenWRT
  65. Created: 2021-11-14 19:26:41 UTC
  66. Image Type: MIPS Linux Kernel Image (gzip compressed)
  67. Data Size: 5948856 Bytes = 5.7 MB
  68. Load Address: 80000000
  69. Entry Point: 80000400
  70. Verifying Checksum ... OK
  71. Uncompressing Kernel Image ... OK
  72.  
  73. Starting kernel ...
  74.  
  75. [ 0.000000] Linux version 5.10.79 (matto@flatline) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r18096-53247d3cb4) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Sun Nov 14 19:26:41 2021
  76. [ 0.000000] RTL838X model is 0
  77. [ 0.000000] RTL839X model is 0
  78. [ 0.000000] RTL93XX model is 93030001
  79. [ 0.000000] SoC Type: DEFAULT
  80. [ 0.000000] Kernel command line: console=ttyS0,115200 init=/init mem=131008K ramoops.mem_address=0x7FF0000 ramoops.mem_size=65536 ramoops.ecc=1 ramoops.record_size=16384 ramoops.console_size=16384 mtdparts=spi_flash:640k(u-boot),64k(u-boot-env),7232k(kernel0),7296k(kernel1),64k(cdata),1024k(cfg),64k(EEPROM)
  81. [ 0.000000] printk: bootconsole [early0] enabled
  82. [ 0.000000] CPU0 revision is: 00019555 (MIPS 34Kc)
  83. [ 0.000000] MIPS: machine is Zyxel XGS1210-12 Switch
  84. [ 0.000000] Initrd not found or empty - disabling initrd
  85. [ 0.000000] Using appended Device Tree.
  86. [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  87. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  88. [ 0.000000] Zone ranges:
  89. [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
  90. [ 0.000000] Movable zone start for each node
  91. [ 0.000000] Early memory node ranges
  92. [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
  93. [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
  94. [ 0.000000] On node 0 totalpages: 32768
  95. [ 0.000000] Normal zone: 288 pages used for memmap
  96. [ 0.000000] Normal zone: 0 pages reserved
  97. [ 0.000000] Normal zone: 32768 pages, LIFO batch:7
  98. [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
  99. [ 0.000000] pcpu-alloc: [0] 0
  100. [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
  101. [ 0.000000] Kernel command line: console=ttyS0,115200
  102. [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
  103. [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
  104. [ 0.000000] Writing ErrCtl register=00000001
  105. [ 0.000000] Readback ErrCtl register=00000001
  106. [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
  107. [ 0.000000] Memory: 114708K/131072K available (5533K kernel code, 613K rwdata, 1192K rodata, 7500K init, 203K bss, 16364K reserved, 0K cma-reserved)
  108. [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  109. [ 0.000000] NR_IRQS: 256
  110. [ 0.000000] random: get_random_bytes called from start_kernel+0x31c/0x50c with crng_init=0
  111. [ 0.000000] rtl9300_timer_init: setting up timer
  112. [ 0.000000] Frequency in dts: 175000000, my rate is 87500000, period 1750000
  113. [ 0.000000] With base b8003200 IRQ: 8
  114. [ 0.000000] clocksource: timer: mask: 0xfffffff max_cycles: 0xfffffff, max_idle_ns: 1365186028 ns
  115. [ 0.000008] sched_clock: 28 bits at 87MHz, resolution 11ns, wraps every 1533916858ns
  116. [ 0.008446] CPU frequency from device tree: 800MHz
  117. [ 0.008476] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4778151116 ns
  118. [ 0.023354] sched_clock: 32 bits at 400MHz, resolution 2ns, wraps every 5368709118ns
  119. [ 0.031844] Calibrating delay loop... 1064.96 BogoMIPS (lpj=5324800)
  120. [ 0.115320] pid_max: default: 32768 minimum: 301
  121. [ 0.120500] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
  122. [ 0.128364] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
  123. [ 0.138993] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
  124. [ 0.149449] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  125. [ 0.160069] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
  126. [ 0.167580] pinctrl core: initialized pinctrl subsystem
  127. [ 0.173835] NET: Registered protocol family 16
  128. [ 0.222133] clocksource: Switched to clocksource MIPS
  129. [ 0.228821] NET: Registered protocol family 2
  130. [ 0.233652] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
  131. [ 0.241986] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
  132. [ 0.251124] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
  133. [ 0.259377] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
  134. [ 0.267031] TCP: Hash tables configured (established 1024 bind 1024)
  135. [ 0.274124] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
  136. [ 0.281168] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
  137. [ 0.289088] NET: Registered protocol family 1
  138. [ 0.445928] workingset: timestamp_bits=14 max_order=15 bucket_order=1
  139. [ 0.456976] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  140. [ 0.463236] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  141. [ 0.514453] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
  142. [ 0.522352] printk: console [ttyS0] disabled
  143. [ 0.526992] 18002000.uart: ttyS0 at MMIO 0x18002000 (irq = 30, base_baud = 10937500) is a 16550A
  144. [ 0.536546] printk: console [ttyS0] enabled
  145. [ 0.536546] printk: console [ttyS0] enabled
  146. [ 0.545732] printk: bootconsole [early0] disabled
  147. [ 0.545732] printk: bootconsole [early0] disabled
  148. [ 0.775370] brd: module loaded
  149. [ 0.782658] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
  150. [ 0.788496] 7 fixed-partitions partitions found on MTD device spi0.0
  151. [ 0.795558] Creating 7 MTD partitions on "spi0.0":
  152. [ 0.800888] 0x000000000000-0x000000040000 : "u-boot"
  153. [ 0.808652] 0x000000040000-0x000000050000 : "u-boot-env"
  154. [ 0.816534] 0x000000050000-0x000000060000 : "u-boot-env2"
  155. [ 0.823557] 0x000000060000-0x000000160000 : "jffs"
  156. [ 0.831675] 0x000000160000-0x000000260000 : "jffs2"
  157. [ 0.838087] 0x000000260000-0x000000930000 : "firmware"
  158. [ 0.851010] 0x000000930000-0x000001000000 : "runtime2"
  159. [ 0.861888] libphy: Fixed MDIO Bus: probed
  160. [ 0.868522] Probing RTL838X eth device pdev: 8146d400, dev: 8146d410
  161. [ 0.889428] Found SoC ID: 9303: DEFAULT, family 0
  162. [ 0.894660] Unknown SoC family
  163. [ 0.899185] NET: Registered protocol family 10
  164. [ 0.933225] Segment Routing with IPv6
  165. [ 0.937406] NET: Registered protocol family 17
  166. [ 0.942670] 8021q: 802.1Q VLAN Support v1.8
  167. [ 0.982186] Freeing unused kernel memory: 7500K
  168. [ 0.987235] This architecture does not have kernel memory protection.
  169. [ 0.994433] Run /init as init process
  170. [ 0.998500] with arguments:
  171. [ 1.001782] /init
  172. [ 1.004293] with environment:
  173. [ 1.007769] HOME=/
  174. [ 1.010392] TERM=linux
  175. [ 1.454861] init: Console is alive
  176. [ 1.472743] kmodloader: loading kernel modules from /etc/modules-boot.d/*
  177. [ 1.482943] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
  178. [ 1.508856] init: - preinit -
  179. [ 1.720305] random: jshn: uninitialized urandom read (4 bytes read)
  180. [ 1.799243] random: jshn: uninitialized urandom read (4 bytes read)
  181. [ 1.940721] random: jshn: uninitialized urandom read (4 bytes read)
  182. Press the [f] key and hit [enter] to enter failsafe mode
  183. Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
  184. [ 3.688433] random: fast init done
  185.  
  186. [ 5.194534] procd: - early -
  187. [ 6.551239] procd: - ubus -
  188. [ 6.563747] urandom_read: 2 callbacks suppressed
  189. [ 6.563756] random: ubusd: uninitialized urandom read (4 bytes read)
  190. [ 6.609387] random: ubusd: uninitialized urandom read (4 bytes read)
  191. [ 6.617050] random: ubusd: uninitialized urandom read (4 bytes read)
  192. [ 6.628252] procd: - init -
  193. Please press Enter to activate this console.
  194. [ 7.218665] kmodloader: loading kernel modules from /etc/modules.d/*
  195. [ 7.295699] xt_time: kernel timezone is -0000
  196. [ 7.341502] kmodloader: done loading kernel modules from /etc/modules.d/*
  197. [ 7.407536] urngd: v1.0.2 started.
  198. [ 7.529269] random: crng init done
  199. [ 7.533062] random: 2 urandom warning(s) missed due to ratelimiting
  200.  
  201.  
  202.  
  203. BusyBox v1.34.1 (2021-11-14 19:26:41 UTC) built-in shell (ash)
  204.  
  205. _______ ________ __
  206. | |.-----.-----.-----.| | | |.----.| |_
  207. | - || _ | -__| || | | || _|| _|
  208. |_______|| __|_____|__|__||________||__| |____|
  209. |__| W I R E L E S S F R E E D O M
  210. -----------------------------------------------------
  211. OpenWrt SNAPSHOT, r18096-53247d3cb4
  212. -----------------------------------------------------
  213. === WARNING! =====================================
  214. There is no root password defined on this device!
  215. Use the "passwd" command to set up a new password
  216. in order to prevent unauthorized SSH logins.
  217. --------------------------------------------------
  218. root@OpenWrt:/# ifcoroot@OpenWrt:/# ifconfig -a
  219. lo Link encap:Local Loopback
  220. LOOPBACK MTU:65536 Metric:1
  221. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  222. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  223. collisions:0 txqueuelen:1000
  224. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  225.  
  226. root@OpenWrt:/#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement