<div dir="ltr">Hi <span style="font-size:12.8000001907349px;white-space:nowrap">Angelo,</span><div><span style="font-size:12.8000001907349px;white-space:nowrap"><br></span></div><div><span style="font-size:12.8000001907349px;white-space:nowrap">I am attaching link for hello word .img [1]. That you can try. I have tested it on my BBB working fine. but I used sdcard not the tftp.</span></div><div><span style="font-size:12.8000001907349px;white-space:nowrap"><br></span></div><div><span style="font-size:12.8000001907349px;white-space:nowrap">Anyways you can check it with your BBB. </span></div><div><span style="font-size:12.8000001907349px;white-space:nowrap"><br></span></div><div><span style="font-size:12.8000001907349px;white-space:nowrap">Also you can try one more that is for gpio [2] that you can test it without having requirement of any output on screen. It has user led blinking program. </span></div><div><span style="font-size:12.8000001907349px;white-space:nowrap"><br></span></div><div><span style="font-size:12.8000001907349px;white-space:nowrap">[1] <a href="https://github.com/ketul93/RTEMS-on-BBB/tree/master/Gettin-Started">https://github.com/ketul93/RTEMS-on-BBB/tree/master/Gettin-Started</a></span></div><div>[2] <a href="https://github.com/ketul93/RTEMS-on-BBB/tree/master/GPIO-Test">https://github.com/ketul93/RTEMS-on-BBB/tree/master/GPIO-Test</a> </div><div><br></div><div>Thanks.</div><div><br></div><div>Best Regards,</div><div>Ketul</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 June 2015 at 08:57, Angelo Fraietta <span dir="ltr"><<a href="mailto:newsgroups@smartcontroller.com.au" target="_blank">newsgroups@smartcontroller.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I got back to my defaule beagle by reflashing. However, can someone please email me a known working image (say hello) that can be loaded (and preferably tested) by tftp. I need to eliminate whether it is the executable generated by me or something else.<div><br></div><div>Thanks</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 24, 2015 at 8:40 AM, Angelo Fraietta <span dir="ltr"><<a href="mailto:newsgroups@smartcontroller.com.au" target="_blank">newsgroups@smartcontroller.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">My image is not loading. <div><br></div><div><div>U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)</div><div>reading args</div><div>spl_load_image_fat_os: error reading image args, err - -1</div><div>reading u-boot.img</div><div>reading u-boot.img</div><div><br></div><div><br></div><div>U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)</div><div><br></div><div>I2C:   ready</div><div>DRAM:  512 MiB</div><div>NAND:  0 MiB</div><div>MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1</div><div>*** Warning - readenv() failed, using default environment</div><div><br></div><div>Net:   <ethaddr> not set. Validating first E-fuse MAC</div><div>cpsw, usb_ether</div><div>Hit any key to stop autoboot:  0</div><div>gpio: pin 53 (gpio 53) value is 1</div><div>Card did not respond to voltage select!</div><div>mmc0(part 0) is current device</div><div>Card did not respond to voltage select!</div><div>gpio: pin 56 (gpio 56) value is 0</div><div>gpio: pin 55 (gpio 55) value is 0</div><div>gpio: pin 54 (gpio 54) value is 0</div><div>mmc1(part 0) is current device</div><div>gpio: pin 54 (gpio 54) value is 1</div><div>SD/MMC found on device 1</div><div>reading uEnv.txt</div><div>426 bytes read in 4 ms (103.5 KiB/s)</div><div>gpio: pin 55 (gpio 55) value is 1</div><div>Loaded environment from uEnv.txt</div><div>Importing environment from mmc ...</div><div>Checking if uenvcmd is set ...</div><div>gpio: pin 56 (gpio 56) value is 1</div><div>Running uenvcmd ...</div><div>cpsw Waiting for PHY auto negotiation to complete. done</div><div>link up on port 0, speed 100, full duplex</div><div>Using cpsw device</div><div>TFTP from server 192.168.0.25; our IP address is 192.168.0.53</div><div>Filename '/hello'.</div><div>Load address: 0x81000000</div><div>Loading: #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         #################################################################</div><div>         ###########</div><div>         4.9 MiB/s</div><div>done</div><div>Bytes transferred = 33554432 (2000000 hex)</div><div>Wrong Image Format for bootm command</div><div>ERROR: can't get kernel image!</div><div><br></div><div><br></div><div>uenvcmd was not defined in uEnv.txt ...</div><div>Booting from nand ...</div><div><br></div><div>no devices available</div><div><br></div><div>no devices available</div><div>Bad Linux ARM zImage magic!</div><div>U-Boot#</div></div><div><br></div><div><br></div><div>It would not load the image. So I think my image is bad. Can someone email me the image for the hello example for beagle already<br></div><div><br></div><div>I modified the uEnv.txt on the device. Now, however, I have a beagle that is in the uBoot menu and I can't change the eUenv,txt because it will not how up as a drive because it is not booted into linux.</div><div><br></div><div>How do I get back to beagle linux from u-boot prompt?</div><div><br></div><div>Thanks</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 23, 2015 at 6:44 PM, Cláudio Silva <span dir="ltr"><<a href="mailto:claudiodcsilva@gmail.com" target="_blank">claudiodcsilva@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Angelo,<div><br></div><div>I am using the following script snippet to generate a u-boot bootable image from an RTEMS .exe:</div><div><a href="https://gist.github.com/cdcs/0c789e9aae9e79200da5" target="_blank">https://gist.github.com/cdcs/0c789e9aae9e79200da5</a><br></div><div>It essentially follows the steps described in Ben's README. <br></div><div><br></div><div><span style="font-size:13.2px;line-height:19.8px">If you are using application=/TICKER in the script, it will try to load something called </span><span style="font-size:13.2px;line-height:19.8px">TICKER from the tftp root (without any extension).</span><br></div><div><br></div><div>Did you try with the u-boot that comes preloaded in the BBB? </div><div>You can just try boot the linux version provided in the BBB's emmc and then change the uEnv.txt ("/boot/uboot/uEnv.txt") to your tftp version of uEnv. You shouldn't need the sdcard. </div><div><br></div><div><br></div><div>Best Regards, </div><span><font color="#888888"><div>Cláudio</div></font></span><div><div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 23, 2015 at 5:59 AM Angelo Fraietta <<a href="mailto:newsgroups@smartcontroller.com.au" target="_blank">newsgroups@smartcontroller.com.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If it is any help. this is the configuration on my SDCard that loads debian linux from SDCard. <div><br></div><div><div>##Video: Uncomment to override:</div><div>##see: <a href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/fb/modedb.txt" target="_blank">https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/fb/modedb.txt</a></div><div>#kms_force_mode=video=HDMI-A-1:1024x768@60e</div><div><br></div><div>##Enable systemd</div><div>systemd=quiet init=/lib/systemd/systemd</div><div><br></div><div>##BeagleBone Cape Overrides</div><div><br></div><div>##BeagleBone Black:</div><div>##Disable HDMI/eMMC</div><div>#optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G</div><div><br></div><div>##Disable HDMI</div><div>#optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN</div><div><br></div><div>##WIP: v3.13+ capes..</div><div>#cape=lcd4-01</div><div>#cape=</div><div><br></div><div>##note: the eMMC flasher script relies on the next line</div><div>mmcroot=UUID=8f529ad7-82d1-4d8e-91dc-31e9e2080813 ro</div><div>mmcrootfstype=ext4 rootwait fixrtc</div><div><br></div><div>##These are needed to be compliant with Angstrom's 2013.06.20 u-boot.</div><div>console=ttyO0,115200n8</div><div><br></div><div>kernel_file=zImage</div><div>initrd_file=initrd.img</div><div><br></div><div>loadaddr=0x82000000</div><div>initrd_addr=0x88080000</div><div>fdtaddr=0x88000000</div><div><br></div><div>initrd_high=0xffffffff</div><div>fdt_high=0xffffffff</div><div><br></div><div>loadkernel=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${kernel_file}</div><div>loadinitrd=load mmc ${mmcdev}:${mmcpart} ${initrd_addr} ${initrd_file}; setenv initrd_size ${filesize}</div><div>loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdtaddr} /dtbs/${fdtfile}</div><div><br></div><div>loadfiles=run loadkernel; run loadinitrd; run loadfdt</div><div>mmcargs=setenv bootargs console=tty0 console=${console} ${optargs} ${kms_force_mode} root=${mmcroot} rootfstype=${mmcrootfstype} ${systemd}</div><div><br></div><div>uenvcmd=run loadfiles; run mmcargs; bootz ${loadaddr} ${initrd_addr}:${initrd_size} ${fdtaddr}</div><div>#</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 23, 2015 at 12:59 PM, Angelo Fraietta <span dir="ltr"><<a href="mailto:newsgroups@smartcontroller.com.au" target="_blank">newsgroups@smartcontroller.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I can see I missed a step from Ben's tutorial where it creates the image file.<div>I copied the image to tftp and it did not work</div><div><br><div>I also tried doing out of Bens tutorial the </div></div><div><br></div><div>dd if=bone_hello.exe-sdcard.img of=/dev/mmcblk0 bs=4096<br></div><div><br></div><div>However, nothing was displayed on my monitor and the three LEDS lit, followed by the light on ethernet port. It did this about three times and then booted into normal BBB linux. It looked to me like it was resetting, however, can't be sure.</div><div><br></div><div>Is someone able to email me a working image for BBB so I can see it that will boot. </div><div><br></div><div>Thanks</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 23, 2015 at 8:46 AM, Angelo Fraietta <span dir="ltr"><<a href="mailto:newsgroups@smartcontroller.com.au" target="_blank">newsgroups@smartcontroller.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Does not boot. </div><div>I have u-boot on the SD card. I know it is being called because if I disconnect the ethernet, it freezes and does not boot. If I remove SDcard and remove ethernet, it boots normally</div><div>I have tftp on 192.168.0.25</div><div><br></div><div>My configuration is exactly this</div><div><br></div><div><div>### BBB : Configuration</div><div>ipaddr=192.168.0.53</div><div>serverip=192.168.0.25</div><span><div>netmask=255.255.255.0</div><div> </div><div>### XKY-OS : Configuration</div><div>baseaddr=0x81000000</div></span><div>application=/TICKER</div><span><div> </div><div>### Boot BBB from network</div><div>nfsargs=setenv bootargs console=${console} root=/dev/nfs nfsroot=${serverip}:${rootpath} rw ip=${ipaddr}:${serverip}:${serverip}:${netmask}::eth0:off</div><div>xkyboot=run nfsargs; tftp ${baseaddr} ${application}; bootm ${baseaddr}</div><div>uenvcmd=run xkyboot</div></span></div><div><br></div><div><br></div><div>I have copied ticker.exe to root folder<br></div><div>I tried </div><div>application=/TICKER</div><div>application=/ticker.exe<br></div><div>application=/TICKER.EXE<br></div><div><br></div><div>Just boots into normal regardless of what I do (except removing ethernet with SDCard in). Looking at U-boot in display looks the same as though three was no SDcard. How can I freeze screen to read what it all says?</div><div><br></div>I tested my tftp server like this<div><a href="http://www.gunnalag.com/2013/08/05/how-to-test-tftp-server-from-a-client-system-in-windows/" target="_blank">http://www.gunnalag.com/2013/08/05/how-to-test-tftp-server-from-a-client-system-in-windows/</a><br></div><div><br></div><div>I did </div><div>tftp -i 1923.168.0.25 get ticker.exe</div><div><br></div><div>And it worked fine</div><div><br></div><div>So if I am using ticker.exe, what should application=/TICKER be? Is it case sensitive? Does it need .exe at the end? Am I supposed to be using ticker.exe?</div><div>Can someone send me an exe that does load in BBB so I can see if it is that loads.</div><div><br></div><div><br></div><div>Also, I followed tutorial for installing U-boot on an SDCard which boots linux from SDCard and that works</div><div><br></div><div><p class="MsoNormal"><span lang="EN-US"><a href="http://www.armhf.com/boards/beaglebone-black/bbb-sd-install/" target="_blank">http://www.armhf.com/boards/beaglebone-black/bbb-sd-install/</a></span></p><p class="MsoNormal"><span lang="EN-US"><br></span></p><p class="MsoNormal"><span lang="EN-US">Any suggestions would be great</span></p><p class="MsoNormal"><span lang="EN-US"><br></span></p></div><div>Thanks</div><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 22, 2015 at 6:39 PM, Cláudio Silva <span dir="ltr"><<a href="mailto:claudiodcsilva@gmail.com" target="_blank">claudiodcsilva@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Angelo,<div><br></div><div>xkyboot is just a command name that is executed by uenvcmd; you can name whatever you want. "XKYAPP2" is the executable name. It should placed on the tftp server's root, or otherwise you need to provide the full path to it. </div><div>Is your tftp server working correctly? Try to test from a tftp client on Linux.</div><div><br></div><div>Best Regards, </div><span><font color="#888888"><div>Cláudio</div></font></span><div><div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jun 22, 2015 at 6:51 AM Angelo Fraietta <<a href="mailto:newsgroups@smartcontroller.com.au" target="_blank">newsgroups@smartcontroller.com.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am using BBB also<div><br></div><div>I have had a look at what you have provided</div><div>are <span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">XKYAPP2 and </span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px">xkyboot</span>  your app names?</div><div><br></div><div>Lets say I wanted to boot ticker from tftp server (assume my tftp server has same ip address as yours)</div><div><br></div><div>I have copied</div><div>development/rtems/b-beagle/arm-rtems4.11/c/beagleboneblack/testsuites/samples/ticker/ticker.exe to the root of my tftp server<br></div><div><br></div><div>I am assuming this is entire uEnv.txt What should it look like (I have provided whole of your file here). Thanks</div><div><br></div><div><br></div><pre style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;width:984px;color:rgb(51,51,51);line-height:16.7999992370605px"><div>### BBB : Configuration
</div><div>ipaddr=192.168.0.202
</div><div>serverip=192.168.0.2
</div><div>netmask=255.255.255.0
</div><div> 
</div><div>### XKY-OS : Configuration
</div><div>baseaddr=0x81000000
</div><div>application=/XKYAPP2
</div><div> 
</div><div>### Boot BBB from network
</div><div>nfsargs=setenv bootargs console=${console} root=/dev/nfs nfsroot=${serverip}:${rootpath} rw ip=${ipaddr}:${serverip}:${serverip}:${netmask}::eth0:off
</div><div>xkyboot=run nfsargs; tftp ${baseaddr} ${application}; bootm ${baseaddr} </div></pre><div><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px">uenvcmd=run xkyboot</span> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 19, 2015 at 6:14 PM, Cláudio Silva <span dir="ltr"><<a href="mailto:claudiodcsilva@gmail.com" target="_blank">claudiodcsilva@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You should be able to boot RTEMS through TFTP. At least I do it in the BBB, I assume the white version should work as well. You just have to change uboot configuration and setup a tftp server.<div><br></div><div>My current uboot configuration is the following:</div><div><a href="https://gist.github.com/cdcs/76c4dd49c2d574bd68cc" target="_blank">https://gist.github.com/cdcs/76c4dd49c2d574bd68cc</a><br></div><div><div><br></div><div>Cláudio</div><div><br><div class="gmail_quote"><div><div><div dir="ltr">On Fri, Jun 19, 2015 at 5:57 AM Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On 19/06/2015 1:56 pm, Angelo Fraietta wrote:<br>
> Those links I posted -- do any of them work with RTEMS?<br>
><br>
<br>
I do not know. I have no interested uboot. Maybe someone else knows.<br>
<br>
Chris<br></div></div>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
</blockquote></div></div></div></div>
</blockquote></div><br></div>
</blockquote></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</blockquote></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br></blockquote></div><br></div>