README.kmeter1 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Keymile kmeter1 Board
  2. -----------------------------------------
  3. 1. Alternative Boot EEPROM
  4. Upon the kmeter1 startup the I2C_1 controller is used to fetch the boot
  5. configuration from a serial EEPROM. During the development and debugging
  6. phase it might be helpful to apply an alternative boot configuration in
  7. a simple way. Therefore it is an alternative boot eeprom on the PIGGY,
  8. which can be activated by setting the "ST" jumper on the PIGGY board.
  9. 2. Memory Map
  10. BaseAddr PortSz Size Device
  11. ----------- ------ ----- ------
  12. 0x0000_0000 64 bit 256MB DDR
  13. 0x8000_0000 8 bit 256KB GPIO/PIGGY on CS1
  14. 0xa000_0000 8 bit 256MB PAXE on CS3
  15. 0xe000_0000 2MB Int Mem Reg Space
  16. 0xf000_0000 16 bit 256MB FLASH on CS0
  17. DDR-SDRAM:
  18. The current realization is made with four 16-bits memory devices.
  19. Mounting options have been foreseen for device architectures from
  20. 4Mx16 to 512Mx16. The kmeter1 is equipped with four 32Mx16 devices
  21. thus resulting in a total capacity of 256MBytes.
  22. 3. Compilation
  23. Assuming you're using BASH shell:
  24. export CROSS_COMPILE=your-cross-compile-prefix
  25. cd u-boot
  26. make distclean
  27. make kmeter1_config
  28. make
  29. 4. Downloading and Flashing Images
  30. 4.0 Download over serial line using Kermit:
  31. loadb
  32. [Drop to kermit:
  33. ^\c
  34. send <u-boot-bin-image>
  35. c
  36. ]
  37. Or via tftp:
  38. tftp 10000 u-boot.bin
  39. => run load
  40. Using UEC0 device
  41. TFTP from server 192.168.1.1; our IP address is 192.168.205.4
  42. Filename '/tftpboot/kmeter1/u-boot.bin'.
  43. Load address: 0x200000
  44. Loading: ##############
  45. done
  46. Bytes transferred = 204204 (31dac hex)
  47. =>
  48. 4.1 Reflash U-Boot Image using U-Boot
  49. => run update
  50. ..... done
  51. Un-Protected 5 sectors
  52. ..... done
  53. Erased 5 sectors
  54. Copy to Flash... done
  55. ..... done
  56. Protected 5 sectors
  57. Total of 204204 bytes were the same
  58. Saving Environment to Flash...
  59. . done
  60. Un-Protected 1 sectors
  61. . done
  62. Un-Protected 1 sectors
  63. Erasing Flash...
  64. . done
  65. Erased 1 sectors
  66. Writing to Flash... done
  67. . done
  68. Protected 1 sectors
  69. . done
  70. Protected 1 sectors
  71. =>
  72. 5. Notes
  73. 1) The console baudrate for kmeter1 is 115200bps.