Advertisement
Guest User

Litex-TFTP-Drama

a guest
Jun 14th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 9.65 KB | None | 0 0
  1. /////////////////////////////////////////////////////////////////////////
  2. Attempt 1 (Fail):
  3. /////////////////////////////////////////////////////////////////////////
  4.  
  5. Programming device. Do not touch your board. This may take a few minutes...
  6. Programming succeeded.
  7. [LXTERM] Starting....
  8. Memtest OK
  9.  
  10. --========== Boot sequence =============--
  11. Booting from serial...
  12. Press Q or ESC to abort boot completely.
  13. sL5DdSMmkekro
  14. Timeout
  15. Booting from network...
  16. Local IP : 10.0.40.90
  17. Remote IP: 10.0.40.50
  18. Fetching from: UDP/69
  19. fetching file<Image> to addr<0xc0000000> from remote<10.0.40.50>.tftp
  20.    Successfully downloaded 7225828 bytes from Image over TFTP
  21. fetching file<rootfs.cpio> to addr<0xc0880000> from remote<10.0.40.50>.tftp
  22.    Successfully downloaded 484 bytes from rootfs.cpio over TFTP
  23. fetching file<rv32.dtb> to addr<0xc1000000> from remote<10.0.40.50>.tftp
  24.    Successfully downloaded 3021 bytes from rv32.dtb over TFTP
  25. fetching file<emulator.bin> to addr<0x20000000> from remote<10.0.40.50>.tftp
  26.    Successfully downloaded 18856 bytes from emulator.bin over TFTP
  27. Executing booted program at 0x20000000
  28. --============= Liftoff! ===============--
  29. VexRiscv Machine Mode software built May 10 2019 10:54:08
  30. --========== Booting Linux =============--
  31. [HANG]
  32.  
  33. /////////////////////////////////////////////////////////////////////////
  34. Attempt 2 (Fail):
  35. /////////////////////////////////////////////////////////////////////////
  36. Programming device. Do not touch your board. This may take a few minutes...
  37. Programming succeeded.
  38. [LXTERM] Starting....
  39. Memtest OK
  40.  
  41. --========== Boot sequence =============--
  42. Booting from serial...
  43. Press Q or ESC to abort boot completely.
  44. sL5DdSMmkekro
  45. Timeout
  46. Booting from network...
  47. Local IP : 10.0.40.90
  48. Remote IP: 10.0.40.50
  49. Fetching from: UDP/69
  50. fetching file<Image> to addr<0xc0000000> from remote<10.0.40.50>.tftp
  51.    Successfully downloaded 10686976 bytes from Image over TFTP
  52. fetching file<rootfs.cpio> to addr<0xc0880000> from remote<10.0.40.50>.tftp
  53.    !!! Unable to download rootfs.cpio over TFTP
  54. No rootfs.cpio found
  55. No boot medium found
  56. [HANG]
  57.  
  58. /////////////////////////////////////////////////////////////////////////
  59. Attempt 3 (Fail):
  60. /////////////////////////////////////////////////////////////////////////
  61. Programming device. Do not touch your board. This may take a few minutes...
  62. Programming succeeded.
  63. [LXTERM] Starting....
  64. Memtest OK
  65.  
  66. --========== Boot sequence =============--
  67. Booting from serial...
  68. Press Q or ESC to abort boot completely.
  69. sL5DdSMmkekro
  70. Timeout
  71. Booting from network...
  72. Local IP : 10.0.40.90
  73. Remote IP: 10.0.40.50
  74. Fetching from: UDP/69
  75. fetching file<Image> to addr<0xc0000000> from remote<10.0.40.50>.tftp
  76.    Successfully downloaded 7878628 bytes from Image over TFTP
  77. fetching file<rootfs.cpio> to addr<0xc0880000> from remote<10.0.40.50>.tftp
  78.    Successfully downloaded 7258112 bytes from rootfs.cpio over TFTP
  79. fetching file<rv32.dtb> to addr<0xc1000000> from remote<10.0.40.50>.tftp
  80.    Successfully downloaded 1485 bytes from rv32.dtb over TFTP
  81. fetching file<emulator.bin> to addr<0x20000000> from remote<10.0.40.50>.tftp
  82.    Successfully downloaded 9128 bytes from emulator.bin over TFTP
  83. Executing booted program at 0x20000000
  84. --============= Liftoff! ===============--
  85. VexRiscv Machine Mode software built May 10 2019 10:54:08
  86. --========== Booting Linux =============--
  87. [HANG]
  88.  
  89. /////////////////////////////////////////////////////////////////////////
  90. Attempt 4 (Success):
  91. /////////////////////////////////////////////////////////////////////////
  92. Programming device. Do not touch your board. This may take a few minutes...
  93. Programming succeeded.
  94. [LXTERM] Starting....
  95. Memtest OK
  96.  
  97. --========== Boot sequence =============--
  98. Booting from serial...
  99. Press Q or ESC to abort boot completely.
  100. sL5DdSMmkekro
  101. Timeout
  102. Booting from network...
  103. Local IP : 10.0.40.90
  104. Remote IP: 10.0.40.50
  105. Fetching from: UDP/69
  106. fetching file<Image> to addr<0xc0000000> from remote<10.0.40.50>.tftp
  107.    Successfully downloaded 4725732 bytes from Image over TFTP
  108. fetching file<rootfs.cpio> to addr<0xc0880000> from remote<10.0.40.50>.tftp
  109.    Successfully downloaded 1935360 bytes from rootfs.cpio over TFTP
  110. fetching file<rv32.dtb> to addr<0xc1000000> from remote<10.0.40.50>.tftp
  111.    Successfully downloaded 3533 bytes from rv32.dtb over TFTP
  112. fetching file<emulator.bin> to addr<0x20000000> from remote<10.0.40.50>.tftp
  113.    Successfully downloaded 18856 bytes from emulator.bin over TFTP
  114. Executing booted program at 0x20000000
  115. --============= Liftoff! ===============--
  116. VexRiscv Machine Mode software built May 10 2019 10:54:08
  117. --========== Booting Linux =============--
  118. [    0.000000] No DTB passed to the kernel
  119. [    0.000000] Linux version 5.0.13 (michael@caustix) (gcc version 8.3.0 (Buildroot 2019.08-git-00247-g033844c44d)) #7 Thu Jun 13 12:29:00 PDT 2019
  120. [    0.000000] Initial ramdisk at: 0x(ptrval) (7864320 bytes)
  121. [    0.000000] Zone ranges:
  122. [    0.000000]   Normal   [mem 0x00000000c0000000-0x00000000cfffffff]
  123. [    0.000000] Movable zone start for each node
  124. [    0.000000] Early memory node ranges
  125. [    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000cfffffff]
  126. [    0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000cfffffff]
  127. [    0.000000] elf_hwcap is 0x1101
  128. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
  129. [    0.000000] Kernel command line: mem=256M@0x40000000 rootwait console=hvc0 root=/dev/ram0 init=/sbin/init swiotlb=32
  130. [    0.000000] Kernel says - what up yo (1)
  131. [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
  132. [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
  133. [    0.000000] Sorting __ex_table...
  134. [    0.000000] Memory: 247564K/262144K available (3587K kernel code, 146K rwdata, 526K rodata, 128K init, 220K bss, 14580K reserved, 0K cma-reserved)
  135. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  136. [    0.000000] Kernel says - what up yo (2)
  137. [    0.000000] Kernel says - what up yo (3)
  138. [    0.000000] Kernel says - what up yo (4)
  139. [    0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
  140. [    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
  141. [    0.000207] sched_clock: 64 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
  142. [    0.000723] Kernel says - what up yo (5)
  143. [    0.002114] Console: colour dummy device 80x25
  144. [    0.022239] printk: console [hvc0] enabled
  145. [    0.022782] Kernel says - what up yo (6)
  146. [    0.023801] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
  147. [    0.025877] pid_max: default: 32768 minimum: 301
  148. [    0.033945] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  149. [    0.035688] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  150. [    0.049724] Kernel says - what up yo (7)
  151. [    0.080976] devtmpfs: initialized
  152. [    0.108029] random: get_random_bytes called from setup_net+0x4c/0x188 with crng_init=0
  153. [    0.113785] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  154. [    0.115247] futex hash table entries: 256 (order: -1, 3072 bytes)
  155. [    0.124767] NET: Registered protocol family 16
  156. [    0.300189] clocksource: Switched to clocksource riscv_clocksource
  157. [    0.537337] NET: Registered protocol family 2
  158. [    0.549510] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
  159. [    0.550951] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
  160. [    0.552995] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
  161. [    0.554188] TCP: Hash tables configured (established 2048 bind 2048)
  162. [    0.557247] UDP hash table entries: 256 (order: 0, 4096 bytes)
  163. [    0.558354] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  164. [    0.575753] RPC: Registered named UNIX socket transport module.
  165. [    0.577252] RPC: Registered udp transport module.
  166. [    0.577866] RPC: Registered tcp transport module.
  167. [    0.578466] RPC: Registered tcp NFSv4.1 backchannel transport module.
  168. [    0.586247] Unpacking initramfs...
  169. [    2.095522] Initramfs unpacking failed: junk in compressed archive
  170. [    2.113040] workingset: timestamp_bits=30 max_order=16 bucket_order=0
  171. [    2.517418] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
  172. [    2.518409] io scheduler mq-deadline registered
  173. [    2.519032] io scheduler kyber registered
  174. [    4.030624] libphy: Fixed MDIO Bus: probed
  175. [    4.032717] liteeth f0005000.mac: Failed to get IRQ, using polling
  176. [    4.047737] liteeth f0005000.mac eth0: irq 0, mapped at a0000000
  177. [    4.099761] NET: Registered protocol family 10
  178. [    4.120533] Segment Routing with IPv6
  179. [    4.122406] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
  180. [    4.161869] Freeing unused kernel memory: 128K
  181. [    4.162479] This architecture does not have kernel memory protection.
  182. [    4.163278] Run /init as init process
  183. mount: mounting tmpfs on /dev/shm failed: Invalid argument
  184. mount: mounting tmpfs on /tmp failed: Invalid argument
  185. mount: mounting tmpfs on /run failed: Invalid argument
  186. Starting syslogd: OK
  187. Starting klogd: OK
  188. Initializing random number generator... [    6.774450] random: dd: uninitialized urandom read (512 bytes read)
  189. done.
  190. Starting rpcbind: OK
  191. Starting network: OK
  192. Starting dropbear sshd: [   10.192775] random: dropbear: uninitialized urandom read (32 bytes read)
  193. OK
  194. Starting NFS statd: OK
  195. Starting NFS services: OK
  196. Starting NFS daemon: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
  197. Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem
  198. FAIL
  199. Starting NFS mountd: OK
  200.  
  201. Welcome to the Machine, yo..
  202. artiX login
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement