README 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. Summary
  2. =======
  3. This document covers various features of the 'am335x_shc' build.
  4. Hardware
  5. ========
  6. AM335X based board:
  7. I2C: ready
  8. DRAM: 512 MiB
  9. Enabling the D-Cache
  10. MMC: OMAP SD/MMC: 0 @ 26 MHz, OMAP SD/MMC: 1 @ 26 MHz
  11. Net: cpsw
  12. Following boot options are possible:
  13. 2 Jumpers:
  14. Jumper 1 Jumper 2 Bootmode
  15. off off eMMC boot
  16. on off SD boot
  17. off on Net boot
  18. Compiling
  19. =========
  20. $ make am335x_shc_defconfig
  21. HOSTCC scripts/basic/fixdep
  22. HOSTCC scripts/kconfig/conf.o
  23. SHIPPED scripts/kconfig/zconf.tab.c
  24. SHIPPED scripts/kconfig/zconf.lex.c
  25. SHIPPED scripts/kconfig/zconf.hash.c
  26. HOSTCC scripts/kconfig/zconf.tab.o
  27. HOSTLD scripts/kconfig/conf
  28. #
  29. # configuration written to .config
  30. #
  31. $ make -s all
  32. -> now you have the MLO and the u-boot.img file, you can put
  33. on your SD card or eMMC.
  34. Configuring
  35. ===========
  36. There are a lot of board versions and boot configurations, which
  37. can be selected through "make menuconfig"
  38. ARM architecture --->
  39. enable different boot versions for the shc board (enable eMMC) --->
  40. (X) enable eMMC
  41. ( ) enable ICT
  42. ( ) enable NETBOOT
  43. ( ) enable SDBOOT
  44. enable different board versions for the shc board (C3 Sample board version) --->
  45. ( ) B Sample board version
  46. ( ) B2 Sample board version
  47. ( ) C Sample board version
  48. ( ) C2 Sample board version
  49. (X) C3 Sample board version
  50. ( ) Series board version
  51. Netboot
  52. =======
  53. - see also doc/SPL/README.am335x-network
  54. - set the jumper into netboot mode
  55. - compile the U-boot sources with:
  56. make am335x_shc_netboot_defconfig
  57. make all
  58. - copy the images into your tftp boot directory
  59. cp spl/u-boot-spl.bin /tftpboot/.../u-boot-spl-restore.bin
  60. cp u-boot.img /tftpboot/.../u-boot-restore.img
  61. - power on the board, and you should get something like this:
  62. U-Boot SPL 2016.05-rc2-00016-gf23b960-dirty (Apr 26 2016 - 09:02:18)
  63. #### NETBOOT ####
  64. SHC
  65. MPU reference clock runs at 6 MHz
  66. Setting MPU clock to 594 MHz
  67. Enabling Spread Spectrum of 18 permille for MPU
  68. Trying to boot from net
  69. Using default environment
  70. <ethaddr> not set. Validating first E-fuse MAC
  71. cpsw
  72. cpsw Waiting for PHY auto negotiation to complete... done
  73. link up on port 0, speed 100, full duplex
  74. BOOTP broadcast 1
  75. BOOTP broadcast 2
  76. DHCP client bound to address 192.168.20.91 (258 ms)
  77. Using cpsw device
  78. TFTP from server 192.168.1.1; our IP address is 192.168.20.91
  79. Filename 'shc/u-boot-restore.img'.
  80. Load address: 0x807fffc0
  81. Loading: ##################
  82. 1.2 MiB/s
  83. done
  84. Bytes transferred = 262480 (40150 hex)
  85. U-Boot 2016.05-rc2-00016-gf23b960-dirty (Apr 26 2016 - 09:02:18 +0200)
  86. Watchdog enabled
  87. I2C: ready
  88. DRAM: 512 MiB
  89. MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
  90. *** Warning - bad CRC, using default environment
  91. Net: cpsw
  92. switch to partitions #0, OK