{"id":711,"date":"2014-02-03T05:03:12","date_gmt":"2014-02-03T03:03:12","guid":{"rendered":"http:\/\/blog.the-leviathan.ch\/?p=711"},"modified":"2014-02-03T05:03:12","modified_gmt":"2014-02-03T03:03:12","slug":"networkboot-u-boot-tftp","status":"publish","type":"post","link":"https:\/\/blog.the-leviathan.ch\/?p=711","title":{"rendered":"networkboot, u-boot, tftp"},"content":{"rendered":"<p>Hi<br \/>\nI&#8217;m using the following boot script in order to boot uImage and device tree blob directly from my PC.<br \/>\nNo SD card removal, no flashing.<br \/>\nIt boots out of RAM immediately<br \/>\nEdit ips and ethernet address accordingly to your network and hardware configuration.<br \/>\nEnjoy<\/p>\n<pre>setenv initrd_high 0xffffffff                                                      \r\nsetenv fdt_high 0xffffffff\r\nsetenv bootargs \"root=\/dev\/mmcblk0p1  rootdelay=10 rw console=ttyS0,115200 panic=10 clk_ignore_unused\"\r\nsetenv ethaddr D2:91:80:B7:AB:5C\r\nsetenv serverip 192.168.1.147\r\nsetenv ipaddr 192.168.1.145\r\next4load mmc 0 0x43000000 boot\/script.bin\r\ntftp 0x49000000 sun7i-a20-cubieboard2.dtb\r\ntftp 0x46000000 uImage\r\nbootm 0x46000000 - 0x49000000<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Hi I&#8217;m using the following boot script in order to boot uImage and device tree blob directly from my PC. No SD card removal, no flashing. It boots out of RAM immediately Edit ips and ethernet address accordingly to your network and hardware configuration. Enjoy setenv initrd_high 0xffffffff setenv fdt_high 0xffffffff setenv bootargs &#8220;root=\/dev\/mmcblk0p1 rootdelay=10 &hellip; <a href=\"https:\/\/blog.the-leviathan.ch\/?p=711\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">networkboot, u-boot, tftp<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,6],"tags":[],"class_list":["post-711","post","type-post","status-publish","format-standard","hentry","category-daily","category-tech"],"_links":{"self":[{"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=\/wp\/v2\/posts\/711","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=711"}],"version-history":[{"count":2,"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=\/wp\/v2\/posts\/711\/revisions"}],"predecessor-version":[{"id":714,"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=\/wp\/v2\/posts\/711\/revisions\/714"}],"wp:attachment":[{"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}