This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Milkymist MMU

By: a guest on Jun 5th, 2012  |  syntax: None  |  size: 2.37 KB  |  views: 57  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. libHPDMC SDRAM initialization runtime
  2. (c) Copyright 2010 Sebastien Bourdeauducq, released under GNU LGPL version 3.
  3. Version 1.2
  4.  
  5. Initialization sequence completed.
  6. Autocalibration OK, testing memory...
  7. All SDRAM initialization completed, boot continuing.
  8.  
  9.  
  10. MILKYMIST(tm) v1.2 BIOS   http://www.milkymist.org
  11. (c) Copyright 2007, 2008, 2009, 2010, 2011 Sebastien Bourdeauducq
  12.  
  13. This program is free software: you can redistribute it and/or modify
  14. it under the terms of the GNU General Public License as published by
  15. the Free Software Foundation, version 3 of the License.
  16.  
  17. I: BIOS CRC passed (0f449696)
  18. BRD: SoC 1.2 on Milkymist One (PCB revision 2)
  19. BRD: Mem. card : Yes
  20. BRD: AC'97     : No
  21. BRD: PFPU      : No
  22. BRD: TMU       : No
  23. BRD: Ethernet  : No
  24. BRD: FML meter : Yes
  25. BRD: Video in  : No
  26. BRD: MIDI      : No
  27. BRD: DMX       : No
  28. BRD: IR        : No
  29. BRD: USB       : No
  30. BRD: Memtester : Yes
  31. BIOS> help
  32. Milkymist(tm) BIOS (bootloader)
  33. Don't know what to do? Try 'flashboot'.
  34.  
  35. Available commands:
  36. [...]
  37. dmap       - adds a MMU DTLB mapping
  38. dunmap     - removes a MMU DTLB mapping
  39. dtlbi      - invalidates the whole DTLB
  40. dmapi      - invalidates a DTLB mapping
  41. mmu        - activates MMU
  42. nommu      - disactivates MMU
  43. mmuread    - reads from memory with MMU enabled
  44. mmuwrite   - writes to memory with MMU enabled
  45. dtlbtest   - runs DTLB MMU load store tests
  46. detest     - runs DTLB MMU exception handling tests
  47. BIOS> dmap 0x00860000 0x00860000
  48. mapping 0x00860000->0x00860000 in slot 9 [0x446616e8]
  49. BIOS> mmuread 0x00860000
  50. 0x00860000 contains 0x98000000
  51. BIOS> dmapi 0x00860000
  52. BIOS> mmuread 0x00860004
  53. [TLB miss handler] Refilling DTLB with mapping 0x00860004->0x00860000
  54. 0x00860004 contains 0xD0000000
  55. BIOS> dunmap 0x00860000
  56. BIOS> dmap 0x00860000 0x00870000
  57. mapping 0x00860000->0x00870000 in slot 9 [0x446616e8]
  58. BIOS> mmuread 0x00860000
  59. 0x00860000 contains 0x76657273
  60. BIOS> mmuread 0x00860004
  61. 0x00860004 contains 0x696F6E20
  62. BIOS> mmuread 0x00880000
  63. [TLB miss handler] Unrecoverable page fault !
  64. PANIC !
  65.  
  66. Meanwhile, in another shell :
  67.  
  68. yann@debian:~/dev/milkymist-mmu/software/bios$ hexdump -C bios.bin | head -n1
  69. 00000000  98 00 00 00 d0 00 00 00  78 01 00 86 38 21 00 00  |........x...8!..|
  70. yann@debian:~/dev/milkymist-mmu/software/bios$ hexdump -C bios.bin | grep 00010000
  71. 00010000  76 65 72 73 69 6f 6e 20  20 20 20 2d 20 64 69 73  |version    - dis|
clone this paste RAW Paste Data