Advertisement
Guest User

uBooot Amazon-SE

a guest
Nov 4th, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.77 KB | None | 0 0
  1. U-Boot 1.1.5-2.0 (Jan 24 2013 - 13:38:46)
  2.  
  3.  
  4. relocate_code start
  5. relocate_code finish.
  6.  
  7. type is 00000001
  8. type is 0000007e
  9. addr[0] = 227e
  10. /n Detect flash id is bb
  11. Flash: 4 MB
  12. In: serial
  13. Out: serial
  14. Err: serial
  15. Net: Internal Clock
  16. Selected EPHY_MODE
  17. AMAZON_SE Switch
  18.  
  19. Type "run flash_nfs" to mount root filesystem over NFS
  20.  
  21. Hit any key to stop autoboot: 4 ... 0
  22.  
  23.  
  24. AMAZON_SE # help
  25. ? - alias for 'help'
  26. askenv - get environment variables from stdin
  27. autoscr - run script from memory
  28. base - print or set address offset
  29. bdinfo - print Board Info structure
  30. bootm - boot application image from memory
  31. bootp - boot image via network using BootP/TFTP protocol
  32. cmp - memory compare
  33. cp - memory copy
  34. crc32 - checksum calculation
  35. dhrystone - benchmark
  36. echo - echo args to console
  37. erase - erase FLASH memory
  38. flinfo - print FLASH memory information
  39. go - start application at address 'addr'
  40. help - print online help
  41. loadb - load binary file over serial line (kermit mode)
  42. loady - load binary file over serial line (ymodem mode)
  43. loop - infinite loop on address range
  44. md - memory display
  45. mm - memory modify (auto-incrementing)
  46. mtest - simple RAM test
  47. mw - memory write (fill)
  48. nm - memory modify (constant address)
  49. printenv- print environment variables
  50. protect - enable or disable FLASH write protection
  51. rarpboot- boot image via network using RARP/TFTP protocol
  52. reset - Perform RESET of the CPU
  53. run - run commands in an environment variable
  54. saveenv - save environment variables to persistent storage
  55. setenv - set environment variables
  56. sleep - delay execution for some time
  57. tftpboot- boot image via network using TFTP protocol
  58. upgrade - forward/backward copy memory to pre-defined flash location
  59. version - print monitor version
  60.  
  61.  
  62. AMAZON_SE # base
  63. Base Address: 0x00000000
  64.  
  65. AMAZON_SE # bdinfo
  66. boot_params = 0x80F7F3B0
  67. memstart = 0x80000000
  68. memsize = 0x01000000
  69. flashstart = 0xB0000000
  70. flashsize = 0x00400000
  71. flashoffset = 0x00000000
  72. ethaddr = 00:0F:C9:12:9A:EE
  73. ip_addr = 192.168.1.1
  74. baudrate = 115200 bps
  75.  
  76.  
  77. AMAZON_SE # flinfo
  78.  
  79. Bank # 1: SPANSION FLASH_S29GL032N model 04 bottom boot (32 M bit)
  80. Size: 4 MB in 71 Sectors
  81. Sector Start Addresses:
  82. B0000000 B0002000 B0004000 B0006000 B0008000
  83. B000A000 B000C000 B000E000 B0010000 B0020000
  84. B0030000 B0040000 B0050000 B0060000 B0070000
  85. B0080000 B0090000 B00A0000 B00B0000 B00C0000
  86. B00D0000 B00E0000 B00F0000 B0100000 B0110000
  87. B0120000 B0130000 B0140000 B0150000 B0160000
  88. B0170000 B0180000 B0190000 B01A0000 B01B0000
  89. B01C0000 B01D0000 B01E0000 B01F0000 B0200000
  90. B0210000 B0220000 B0230000 B0240000 B0250000
  91. B0260000 B0270000 B0280000 B0290000 B02A0000
  92. B02B0000 B02C0000 B02D0000 B02E0000 B02F0000
  93. B0300000 B0310000 B0320000 B0330000 B0340000
  94. B0350000 B0360000 B0370000 B0380000 B0390000
  95. B03A0000 B03B0000 B03C0000 B03D0000 B03E0000
  96. B03F0000
  97.  
  98. AMAZON_SE # printenv
  99. bootcmd=run flash_flash
  100. bootdelay=4
  101. baudrate=115200
  102. preboot=echo;echo Type "run flash_nfs" to mount root filesystem over NFS;echo
  103. mem=16M
  104. ipaddr=192.168.1.1
  105. serverip=192.168.1.2
  106. netdev=eth0
  107. baudrate=115200
  108. rootpath=/opt/nfs
  109. nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)
  110. ramargs=setenv bootargs root=/dev/ram rw
  111. addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):on
  112. addmisc=setenv bootargs $(bootargs) console=ttyS0,$(baudrate) ethaddr=$(ethaddr) mem=$(mem) panic=1
  113. flash_nfs=run nfsargs addip addmisc;bootm $(kernel_addr)
  114. ramdisk_addr=B0100000
  115. flash_self=run ramargs addip addmisc;bootm $(kernel_addr) $(ramdisk_addr)
  116. bootfile=uImage
  117. u-boot=u-boot.ifx
  118. firmware=firmware.img
  119. fullimage=ifx_adslrt.img
  120. net_nfs=tftp 80500000 $(bootfile);run nfsargs addip addmisc;bootm
  121. root_filesystem=rootfs.img
  122. load=tftp 80500000 $(u-boot)
  123. update=protect off 1:0-2;era 1:0-2;cp.b 80500000 B0000000 $(filesize)
  124. flashargs=setenv bootargs root=/dev/mtdblock1
  125. flash_flash=run flashargs addip addmisc; bootm $(kernel_addr)
  126. update_uboot=tftpboot 80400000 $(u-boot); erase all; cp.b 80400000 b0000000 $(filesize)
  127. update_kernel=tftpboot 80400000 $(bootfile);upgrade 80400000 $(filesize)
  128. update_rootfs=tftpboot 80400000 $(root_filesystem);upgrade 80400000 $(filesize)
  129. update_firmware=tftpboot 80400000 $(firmware);upgrade 80400000 $(filesize)
  130. update_fullimage=tftpboot 80400000 $(fullimage);upgrade 80400000 $(filesize)
  131. reset_uboot_config=erase 0xB03FF200 0xB03FFDFF 1;erase $(f_rootfs_end) $(f_kernel_addr) 1
  132. part0_begin=0xB0000000
  133. part1_begin=0xB0010000
  134. total_part=2
  135. flash_end=0xB03FFFFF
  136. data_block0=uboot
  137. data_block1=rootfs
  138. data_block2=kernel
  139. data_block3=sysconfig
  140. data_block4=ubootconfig
  141. data_block5=fwdiag
  142. total_db=6
  143. f_uboot_addr=0xB0000000
  144. f_uboot_size=0
  145. f_firmware_addr=IFX_CFG_FLASH_FIRMWARE_IMAGE_START_ADDR
  146. f_firmware_size=IFX_CFG_FLASH_FIRMWARE_IMAGE_SIZE
  147. f_sysconfig_addr=0xB03FB200
  148. f_sysconfig_size=0
  149. f_ubootconfig_addr=0xB03FF200
  150. f_ubootconfig_size=0x0C00
  151. f_fwdiag_addr=0xB03FFE00
  152. f_fwdiag_size=0x0200
  153. chipid=1.2
  154. boardid=112233
  155. ethact=AMAZON_SE Switch
  156. f_rootfs_size=0x001c6000
  157. f_rootfs_addr=0xb0010000
  158. f_rootfs_end=0xb01d6000
  159. f_rootfs_crc=D1827A40
  160. f_kernel_size=0x00086d2a
  161. f_kernel_addr=0xb03744d0
  162. kernel_addr=0xb03744d0
  163. f_kernel_crc=38AAA3BA
  164. ethaddr=00:0F:C9:12:9A:EE
  165. mode=default
  166. stdin=serial
  167. stdout=serial
  168. stderr=serial
  169.  
  170. Environment size: 2390/3068 bytes
  171.  
  172.  
  173. AMAZON_SE # version
  174. U-Boot 1.1.5-2.0 (Jan 24 2013 - 13:38:46)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement