{"id":10228,"date":"2017-08-10T10:46:59","date_gmt":"2017-08-10T01:46:59","guid":{"rendered":"https:\/\/www.hardkernel.com\/?p=10228"},"modified":"2018-11-21T17:47:43","modified_gmt":"2018-11-21T08:47:43","slug":"upstream-u-boot-for-odroid-xu4","status":"publish","type":"post","link":"https:\/\/www.hardkernel.com\/ko\/blog\/upstream-u-boot-for-odroid-xu4\/","title":{"rendered":"Upstream u-boot for ODROID-XU4."},"content":{"rendered":"<p>We are working on the new u-boot porting for XU4 boards.<br \/>\n<b><span style=\"color: #0021b0;\"><br \/>\nHere is the source code of the new u-boot.<br \/>\n<a href=\"https:\/\/github.com\/hardkernel\/u-boot\/tree\/odroidxu4-v2017.05\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/hardkernel\/u-boot\/tree\/odroidxu4-v2017.05<\/a><\/span><\/b><br \/>\n<span style=\"color: #307f00;\"><br \/>\nWhat we can do with the new u-boot !<br \/>\n1. Enabling the HYP mode for the KVM virtualization with Kernel 4.9 LTS.<br \/>\n2. Enabling the Ethernet device to support the TFTP\/PXE remote booting.<br \/>\n3. Booting from various new eMMC chipsets.<br \/>\n4. fatload \/ ext4load commands are available natively.<br \/>\n5. And many other new features.<br \/>\n<\/span><br \/>\nWe will release a update package in next week for Linux\/Ubuntu users.<br \/>\nWe are implementing a few more functions(for example, the fastboot protocol) for Android 4.4 and Android 7.1 now.<\/p>\n<p><span style=\"font-family: arial;\">u-boot booting log from the serial console output.<br \/>\n<\/span><\/p>\n<table border=\"1\" width=\"1024\" cellspacing=\"0\" cellpadding=\"0\" align=\"left\" bgcolor=\"black\">\n<tbody>\n<tr>\n<td><span style=\"font-family: arial;\"><span style=\"font-family: arial;\">U-Boot 2017.05-12186-gf98cc91-dirty (Aug 08 2017 &#8211; 12:16:58 +0900) for ODROID XU4<\/span><\/span>CPU:\u00a0\u00a0 Exynos5422 @ 800 MHz<br \/>\nModel: Odroid XU4 based on EXYNOS5422<br \/>\nBoard: Odroid XU4 based on EXYNOS5422<br \/>\nType:\u00a0 xu4<br \/>\nDRAM:\u00a0 2 GiB<br \/>\nMMC:\u00a0\u00a0 EXYNOS DWMMC: 0, EXYNOS DWMMC: 1<br \/>\nMMC Device 0 (eMMC): 14.7 GiB<br \/>\nInfo eMMC rst_n_func status = enabled<br \/>\nCard did not respond to voltage select!<br \/>\nmmc_init: -95, time 11<br \/>\n*** Warning &#8211; bad CRC, using default environment<\/p>\n<p>In:\u00a0\u00a0\u00a0 serial<br \/>\nOut:\u00a0\u00a0 serial<br \/>\nErr:\u00a0\u00a0 serial<br \/>\nNet:\u00a0\u00a0 No ethernet found.<br \/>\nPress quickly &#8216;Enter&#8217; twice to stop autoboot:\u00a0 0<br \/>\nreading boot.ini<br \/>\n9088 bytes read in 4 ms (2.2 MiB\/s)<br \/>\ncfgload: applying boot.ini&#8230;<br \/>\ncfgload: setenv initrd_high &#8220;0xffffffff&#8221;<br \/>\ncfgload: setenv fdt_high &#8220;0xffffffff&#8221;<br \/>\ncfgload: setenv macaddr &#8220;00:1e:06:61:7a:39&#8221;<br \/>\ncfgload: setenv vout &#8220;hdmi&#8221;<br \/>\ncfgload: setenv cecenable &#8220;false&#8221; # false or true<br \/>\ncfgload: setenv disable_vu7 &#8220;false&#8221; # false<br \/>\ncfgload: setenv governor &#8220;performance&#8221;<br \/>\ncfgload: setenv ddr_freq 825<br \/>\ncfgload: setenv external_watchdog &#8220;false&#8221;<br \/>\ncfgload: setenv external_watchdog_debounce &#8220;3&#8221;<br \/>\ncfgload: setenv HPD &#8220;true&#8221;<br \/>\ncfgload: setenv bootrootfs &#8220;console=tty1 console=ttySAC2,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro fsck.repair=yes net.ifnames=0&#8221;<br \/>\ncfgload: fatload mmc 0:1 0x40008000 zImage<br \/>\nreading zImage<br \/>\n4793144 bytes read in 135 ms (33.9 MiB\/s)<br \/>\ncfgload: fatload mmc 0:1 0x42000000 uInitrd<br \/>\nreading uInitrd<br \/>\n5327028 bytes read in 143 ms (35.5 MiB\/s)<br \/>\ncfgload: if test &#8220;${board_name}&#8221; = &#8220;xu4&#8221;; then fatload mmc 0:1 0x44000000 exynos5422-odroidxu4.dtb; setenv fdtloaded &#8220;true&#8221;; fi<br \/>\nreading exynos5422-odroidxu4.dtb<br \/>\n61570 bytes read in 9 ms (6.5 MiB\/s)<br \/>\ncfgload: if test &#8220;${board_name}&#8221; = &#8220;xu3&#8221;; then fatload mmc 0:1 0x44000000 exynos5422-odroidxu3.dtb; setenv fdtloaded &#8220;true&#8221;; fi<br \/>\ncfgload: if test &#8220;${board_name}&#8221; = &#8220;xu3l&#8221;; then fatload mmc 0:1 0x44000000 exynos5422-odroidxu3-lite.dtb; setenv fdtloaded &#8220;true&#8221;; fi<br \/>\ncfgload: if test &#8220;${fdtloaded}&#8221; != &#8220;true&#8221;; then fatload mmc 0:1 0x44000000 exynos5422-odroidxu4.dtb; fi<br \/>\ncfgload: fdt addr 0x44000000<br \/>\ncfgload: setenv hdmi_phy_control &#8220;HPD=${HPD} vout=${vout}&#8221;<br \/>\ncfgload: if test &#8220;${cecenable}&#8221; = &#8220;false&#8221;; then fdt rm \/cec@101B0000; fi<br \/>\ncfgload: if test &#8220;${disable_vu7}&#8221; = &#8220;false&#8221;; then setenv hid_quirks &#8220;usbhid.quirks=0x0eef:0x0005:0x0004&#8221;; fi<br \/>\ncfgload: if test &#8220;${external_watchdog}&#8221; = &#8220;true&#8221;; then setenv external_watchdog<br \/>\n&#8220;external_watchdog=${external_watchdog} external_watchdog_debounce=${external_watchdog_debounce}&#8221;; fi<br \/>\ncfgload: setenv bootargs &#8220;${bootrootfs} ${videoconfig} ${hdmi_phy_control} ${hid_quirks} smsc95xx.macaddr=${macaddr} ${external_watchdog} governor=${governor}&#8221;<br \/>\ncfgload: bootz 0x40008000 0x42000000 0x44000000<br \/>\nKernel image @ 0x40008000 [ 0x000000 &#8211; 0x492338 ]\n## Loading init Ramdisk from Legacy Image at 42000000 &#8230;<br \/>\nImage Name:\u00a0\u00a0 uInitrd<br \/>\nImage Type:\u00a0\u00a0 ARM Linux RAMDisk Image (uncompressed)<br \/>\nData Size:\u00a0\u00a0\u00a0 5326964 Bytes = 5.1 MiB<br \/>\nLoad Address: 00000000<br \/>\nEntry Point:\u00a0 00000000<br \/>\nVerifying Checksum &#8230; OK<br \/>\n## Flattened Device Tree blob at 44000000<br \/>\nBooting using the fdt blob at 0x44000000<br \/>\nUsing Device Tree in place at 44000000, end 44012081<\/p>\n<p>Starting kernel &#8230;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are working on the new u-boot porting for XU4 boards. Here is the source code of the new u-boot. https:\/\/github.com\/hardkernel\/u-boot\/tree\/odroidxu4-v2017.05 What we can do with the new u-boot ! 1. Enabling the HYP mode for the KVM virtualization with Kernel 4.9 LTS. 2. Enabling the Ethernet device to support the TFTP\/PXE remote booting. 3. [&#8230;]\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18463],"tags":[20878],"class_list":["post-10228","post","type-post","status-publish","format-standard","hentry","category-blog","tag-odroid-xu4"],"_links":{"self":[{"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts\/10228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/comments?post=10228"}],"version-history":[{"count":1,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts\/10228\/revisions"}],"predecessor-version":[{"id":10230,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts\/10228\/revisions\/10230"}],"wp:attachment":[{"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/media?parent=10228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/categories?post=10228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/tags?post=10228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}