<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 2, 2018, at 7:50 AM, Thomas Huth <<a href="mailto:thuth@redhat.com" class="">thuth@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On 02.01.2018 13:23, Jd Lyons wrote:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><br class=""><br class=""><blockquote type="cite" class="">On Jan 2, 2018, at 4:35 AM, Thomas Huth <<a href="mailto:thuth@redhat.com" class="">thuth@redhat.com</a>> wrote:<br class=""><br class="">On 29.12.2017 10:09, Jd Lyons wrote:<br class="">[...]<br class=""><blockquote type="cite" class="">Now if there was only a byte-load word:-(<br class=""></blockquote><br class="">The FCode interpreter is currently disabled in SLOF by default - since<br class="">nobody was actively using it in years and pulling in all the required<br class="">Forth code slowed down the boot process quite a bit.<br class=""><br class="">But you can enable it manually by typing this at the firmware prompt:<br class=""><br class="">include evaluator.fs<br class=""><br class="">After that, the "byte-load" word should be available.<br class="">I hope that's good enough for your experiments ... if there's a real<br class="">good reason for enabling it permanently again, please let us know, then<br class="">we should maybe come up with a better solution for this...<br class=""><br class="">Thomas<br class=""></blockquote><br class="">Thanks Tom, is there a way to enable fcode-verbose?<br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">What is fcode-verbose? That's not a standard Open Firmware Forth word,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">is it?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">There's a "eva-debug?" flag in the Fcode evaluator of SLOF, so that</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">might be related. You can enable it with:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">true to eva-debug?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote><div><br class=""></div><div>Thanks, this seems to do the same thing as ?fcode-verbose.</div><div><br class=""></div><div>Let’s me see where the option rom’s forced is aborting, oddly enough it seem to be the around the same place I’m catching and exception in openbios, so if I can get it working in one, I maybe able to get it to work for the other.</div><div><br class=""></div><div><div> 3e0935: [ 14] b?branch 3e0944 0 2 1 5e77e878 </div><div>  3e0939: [9bd] x9bd 3e0944 0 2 1 5e77e878 2000014 </div><div>  3e093a: [ 10] b(lit) 3e0944 0 2 1 5e77e878 2000014 ff </div><div>  3e093f: [ 23] AND 3e0944 0 2 1 5e77e878 14 </div><div>  3e0941: [103] my-space 3e0944 0 2 1 5e77e878 14 800 </div><div>  3e0942: [ 1e] + 3e0944 0 2 1 5e77e878 814 </div><div>  3e0944: [a08] xa08  Aborted</div><div>0 > dev /pci   ok</div><div>0 > ls  </div><div>5e72ad60 :  /pci@800000020000000</div><div>5e72d2e8 :  |-- ethernet</div><div>5e72d9d8 :  +-- vga ok</div><div>0 > dev vga   ok</div><div>0 > .properties  </div><div>assigned-addresses               82000830  00000000  83000000  00000000</div><div>                                 00020000  82000810  00000000  81000000</div><div>                                 00000000  01000000  c3000814  00002100</div><div>                                 00000000  00000000  10000000  8200081c</div><div>                                 00000000  82000000  00000000  01000000</div><div>                                 </div><div>name                             vga</div><div>                                 76676100  </div><div>ibm,req#msi                      00000001  </div><div>vendor-id                        000010de  </div><div>device-id                        00000141  </div><div>revision-id                      000000a2  </div><div>class-code                       00030000  </div><div>interrupts                       00000001  </div><div>min-grant                        00000000  </div><div>max-latency                      00000000  </div><div>subsystem-id                     00000050  </div><div>subsystem-vendor-id              000010de  </div><div>cache-line-size                  00000000  </div><div>devsel-speed                     00000000  </div><div>ibm,loc-code                     vfio_vfio-pci:0000:00:01.0</div><div>                                 7666696f  5f766669  6f2d7063  693a3030</div><div>                                 30303a30  303a3031  2e3000</div><div>ibm,my-drc-index                 40000008  </div><div>#address-cells                   00000003  </div><div>#size-cells                      00000002  </div><div>reg                              00000800  00000000  00000000  00000000</div><div>                                 00000000  02000810  00000000  00000000</div><div>                                 00000000  01000000  03000814  00000000</div><div>                                 00000000  00000000  10000000  0300081c</div><div>                                 00000000  00000000  00000000  01000000</div><div>                                 02000830  00000000  00000000  00000000</div><div>                                 00020000  </div><div>ibm,pci-config-space-type        00000001   ok</div><div><br class=""></div><div>0 > 3e0944 100 dump  </div><div>003e0940:             08 10 00 00 00 06 23 10 00 00 00 04      ......#.....</div><div>003e0950: 3c 14 00 09 11 09 c1 c3 09 c0 b2 b2 0d df 0e 04  <...............</div><div>003e0960: 0e 38 0e 06 0c e5 0d b0 0e 07 0e 1a 0c 5b 0e 28  .8...........[.(</div><div>003e0970: 0e 20 0d fa 0e 37 0e 2c 0e 2d 12 0b 4e 56 44 41  . ...7.,.-..NVDA</div><div>003e0980: 2c 50 61 72 65 6e 74 02 01 a6 01 11 12 0e 23 61  ,Parent.......#a</div><div>003e0990: 64 64 72 65 73 73 2d 63 65 6c 6c 73 01 10 a5 01  ddress-cells....</div><div>003e09a0: 11 12 0b 23 73 69 7a 65 2d 63 65 6c 6c 73 01 10  ...#size-cells..</div><div>003e09b0: 09 c7 09 3d 10 00 00 00 35 42 14 00 0d a6 09 33  ...=....5B.....3</div><div>003e09c0: 27 09 35 24 c3 09 35 b2 09 41 10 00 00 00 10 27  '.5$..5..A.....'</div><div>003e09d0: 09 35 24 01 11 12 0d 4e 56 44 41 2c 46 65 61 74  .5$....NVDA,Feat</div><div>003e09e0: 75 72 65 73 01 10 a6 01 11 12 0a 4e 56 44 41 2c  ures.......NVDA,</div><div>003e09f0: 4c 65 76 65 6c 01 10 a5 a5 0e 2e 09 bc 09 c3 0e  Level...........</div><div>003e0a00: 2e 01 12 09 c0 09 c6 0e 2e 01 12 09 be 09 c4 0e  ................</div><div>003e0a10: 2e 01 12 09 bf 09 c5 0e 2e 01 12 12 03 72 65 67  .............reg</div><div>003e0a20: 01 10 a6 01 11 12 0e 23 61 64 64 72 65 73 73 2d  .......#address-</div><div>003e0a30: 63 65 6c 6c 73 01 10 a5 01 11 12 0b 23 73 69 7a  cells.......#siz</div><div>003e0a40: 65 2d 63 65                                      e-ce             ok</div></div><br class=""><blockquote type="cite" class=""><div class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">Also trying to change to load-base always seem to end up with 3d0900, rather than what I try and set it too.<br class=""><br class="">Setenv load-base 8000000<br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I think SLOF interprets the values as decimal during setenv (not sure</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">whether that's correct). Anyway, try:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">setenv load-base 0x8000000</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote><div><br class=""></div><div>Ok, I’ll give that a try.</div><br class=""><blockquote type="cite" class=""><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">HTH,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""> Thomas</span></div></blockquote></div><br class=""></body></html>