{"id":1728,"date":"2016-05-11T10:36:51","date_gmt":"2016-05-11T09:36:51","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1728"},"modified":"2016-05-16T06:44:34","modified_gmt":"2016-05-16T05:44:34","slug":"asrm64-odroid-c2-u-boot-boots","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1728","title":{"rendered":"ARM64 &#8211; Odroid C2 &#8211; U-Boot Boots.."},"content":{"rendered":"<p>After some valuable info received from <em><strong>Brad<\/strong><\/em> (see comment on my earlier article, at <a href=\"https:\/\/rglinuxtech.com\/?p=1723\" target=\"_blank\">https:\/\/rglinuxtech.com\/?p=1723<\/a> ), I found the complete set of <span style=\"text-decoration: underline;\">four<\/span> patches for initial C2 U-Boot support, and applied these to the latest (May 9) GIT version of U-Boot..\u00a0\u00a0 Thanks are also due to <strong>Beniamino Galvani<\/strong> for producing these patches..<\/p>\n<p>Detailed instruction on how to cross-compile and create the necessary U-Boot binaries, and install them on the SDcard (or eMMC), can be found in the file <span style=\"font-family: courier new,courier;\"><strong>u-boot\/board\/hardkernel\/odroid-c2\/README<\/strong><\/span> after the patches have been applied..\u00a0\u00a0\u00a0 You may have to modify the <span style=\"font-family: courier new,courier;\"><strong>export CROSS_COMPILE=aarch64-xxxxxx<\/strong> <\/span>line to match your particular compiler..\u00a0\u00a0 For Fedora 23 I changed it to <span style=\"font-family: courier new,courier;\"><strong>export CROSS_COMPILE=aarch64-linux-gnu-<\/strong><\/span><\/p>\n<p>There is currently no support for MMC etc, so I had to set up a <strong>tftp<\/strong> U-Boot command and put the kernel Image and dtb files in <strong><span style=\"font-family: courier new,courier;\">\/var\/lib\/tftpboot<\/span><\/strong> on the server..\u00a0\u00a0\u00a0\u00a0 I used the &#8216;latest&#8217; version of the <strong><em>linux-next<\/em><\/strong> kernel, which also has very basic support for the C2..<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\">setenv loadaddr \"0x11000000\"<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">setenv dtb_loadaddr \"0x1000000\"<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">setenv serverip 192.168.0.XX<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">setenv ipaddr 192.168.0.XX<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">setenv bootargs \"root=\/dev\/mmcblk0p1 rootwait rw\"<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">setenv bootcmd \"tftp ${loadaddr} Image; tftp ${dtb_loadaddr} meson-gxbb-odroidc2.dtb; booti ${loadaddr} - ${dtb_loadaddr}\"<\/span><\/strong><\/pre>\n<p>This produced a partial boot into the Linux kernel, which ended when there was &#8211; as expected &#8211; no MMC available..\u00a0\u00a0\u00a0\u00a0 I found that I had to <em>truncate<\/em> the original <strong>bootargs<\/strong> parameters to get the kernel to boot, for some reason..<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\">DataBus test pass!<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">AddrBus test pass!<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x000000b0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Sending bl30........................................OK.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Run bl30...<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000017c0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Wait bl30...Done<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Sending bl301......OK.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Run bl301...<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">rom eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130<\/span><\/strong>\r\n\r\n<strong><span style=\"font-family: courier new,courier;\">--- UART initialized after reboot ---<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[Reset cause: unknown]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[Image: unknown, amlogic_v1.1.3046-00db630 2015-10-28 15:24:31 xiaobo.gu@droid05]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">bl30: check_permit, count is 1<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">bl30: check_permit: ok!<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">chipid: ef Load bl33 from eMMC, src: 0x00034200, des: 0x01000000, size: 0x00048ed0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">be ad de d f0 ad ba ef be ad de not ES chip<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[0.298440 Inits done]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">secure task start!<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">high task start!<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">low task start!<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">NOTICE: BL3-1: v1.0(debug):4d2e34d<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">NOTICE: BL3-1: Built : 17:08:35, Oct 29 2015<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">INFO: BL3-1: Initializing runtime services<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">INFO: BL3-1: Preparing for EL3 exit to normal world<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">INFO: BL3-1: Next image address = 0x1000000<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">INFO: BL3-1: Next image spsr = 0x3c9<\/span><\/strong>\r\n\r\n<strong><span style=\"font-family: courier new,courier;\">U-Boot 2016.05-rc3 (May 09 2016 - 21:39:59 -0700) odroid-c2<\/span><\/strong>\r\n\r\n<strong><span style=\"font-family: courier new,courier;\">DRAM: 2 GiB<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">MMC:<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">MMC Device 0 not found<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">*** Warning - No MMC card found, using default environment<\/span><\/strong>\r\n\r\n<strong><span style=\"font-family: courier new,courier;\">In: serial@4c0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Out: serial@4c0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Err: serial@4c0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Net: eth0: eth_designware<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Odroid C2# setenv loadaddr \"0x11000000\"<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Odroid C2# setenv dtb_loadaddr \"0x1000000\"<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Odroid C2# setenv serverip 192.168.0.XX<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Odroid C2# setenv ipaddr 192.168.0.XX<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Odroid C2# setenv bootargs \"root=\/dev\/mmcblk0p1 rootdelay 2\"<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Odroid C2# setenv bootcmd \"tftp ${loadaddr} Image; tftp ${dtb_loadaddr} meson-gxbb-odroidc2.dtb; booti ${loadaddr} - ${dtb_loadaddr}\"<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Odroid C2# boot<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Speed: 1000, full duplex<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Using eth_designware device<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">TFTP from server 192.168.0.XX; our IP address is 192.168.0.XX<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Filename 'Image'.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Load address: 0x11000000<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Loading: #################################################################<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> #################################################################<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> #################################################################<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> #################################################################<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> #################################################################<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> #################################################################<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> #################################################################<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> #################################################################<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> #################################################################<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> #################################################<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> 6.5 MiB\/s<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">done<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Bytes transferred = 9298944 (8de400 hex)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Speed: 1000, full duplex<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Using eth_designware device<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">TFTP from server 192.168.0.XX; our IP address is 192.168.0.XX<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Filename 'meson-gxbb-odroidc2.dtb'.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Load address: 0x1000000<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Loading: #<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> 2.6 MiB\/s<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">done<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Bytes transferred = 2734 (aae hex)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">## Flattened Device Tree blob at 01000000<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> Booting using the fdt blob at 0x1000000<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> Loading Device Tree to 000000007df63000, end 000000007df66aad ... OK<\/span><\/strong>\r\n\r\n<strong><span style=\"font-family: courier new,courier;\">Starting kernel ...<\/span><\/strong>\r\n\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] Booting Linux on physical CPU 0x0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] Linux version 4.6.0-rc7-next-20160510 (rgadsdon@rglinux-i7) (gcc version 5.3.1 20160212 (Red Hat Cross 5.3.1-2) (GCC) ) #1 SMP PREEMPT Tue May 10 00:17:17 PDT 2016<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] Boot CPU: AArch64 Processor [410fd034]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] efi: Getting EFI parameters from FDT:<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] efi: UEFI not found.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] cma: Reserved 16 MiB at 0x000000007f000000<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] psci: probing for conduit method from DT.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] psci: PSCIv0.2 detected in firmware.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] psci: Using standard PSCI v0.2 function IDs<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] psci: Trusted OS migration not required<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] percpu: Embedded 18 pages\/cpu @ffff80007ef9b000 s42520 r0 d31208 u73728<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] Detected VIPT I-cache on CPU0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] CPU features: enabling workaround for ARM erratum 845719<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 512064<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] Kernel command line: root=\/dev\/mmcblk0p1 rootdelay 2<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] log_buf_len individual max cpu contribution: 4096 bytes<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] log_buf_len total cpu_extra contributions: 12288 bytes<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] log_buf_len min size: 16384 bytes<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] log_buf_len: 32768 bytes<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] early log buf free: 14832(90%)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] software IO TLB [mem 0x78800000-0x7c800000] (64MB) mapped at [ffff800078800000-ffff80007c7fffff]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] Memory: 1952788K\/2080768K available (6576K kernel code, 377K rwdata, 1676K rodata, 448K init, 232K bss, 111596K reserved, 16384K cma-reserved)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] Virtual kernel memory layout:<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] modules : 0xffff000000000000 - 0xffff000008000000 ( 128 MB)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022 GB)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] .text : 0xffff000008080000 - 0xffff0000086e0000 ( 6528 KB)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] .rodata : 0xffff0000086e0000 - 0xffff000008890000 ( 1728 KB)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] .init : 0xffff000008890000 - 0xffff000008900000 ( 448 KB)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] .data : 0xffff000008900000 - 0xffff00000895e400 ( 377 KB)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] .bss : 0xffff00000895e400 - 0xffff0000089987a4 ( 233 KB)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] fixed : 0xffff7dfffe7fd000 - 0xffff7dfffec00000 ( 4108 KB)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] PCI I\/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] 0xffff7e0000040000 - 0xffff7e0002000000 ( 31 MB actual)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] memory : 0xffff800001000000 - 0xffff800080000000 ( 2032 MB)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] Preemptible hierarchical RCU implementation.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] Build-time adjustment of leaf fanout to 64.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] NR_IRQS:64 nr_irqs:64 0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] GIC: Using split EOI\/Deactivate mode<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000079] Console: colour dummy device 80x25<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000516] console [tty0] enabled<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000535] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000556] pid_max: default: 32768 minimum: 301<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000606] Security Framework initialized<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000640] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.000653] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.001195] ASID allocator initialised with 65536 entries<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.001557] EFI services will not be available.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.002400] Detected VIPT I-cache on CPU1<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.002430] CPU1: Booted secondary processor [410fd034]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.003209] Detected VIPT I-cache on CPU2<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.003224] CPU2: Booted secondary processor [410fd034]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.003992] Detected VIPT I-cache on CPU3<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.004007] CPU3: Booted secondary processor [410fd034]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.004036] Brought up 4 CPUs<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.004097] SMP: Total of 4 processors activated.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.004108] CPU features: detected feature: 32-bit EL0 Support<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.004122] CPU: All CPU(s) started at EL2<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.004143] alternatives: patching kernel code<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.004838] devtmpfs: initialized<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.005445] DMI not present or invalid.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.005571] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.006436] NET: Registered protocol family 16<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.016021] cpuidle: using governor menu<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.016079] vdso: 2 pages (1 code @ ffff0000086e6000, 1 data @ ffff000008904000)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.016102] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.016562] DMA: preallocated 256 KiB pool for atomic allocations<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.016613] Serial: AMBA PL011 UART driver<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.032294] HugeTLB registered 2 MB page size, pre-allocated 0 pages<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.032995] SCSI subsystem initialized<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.033139] usbcore: registered new interface driver usbfs<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.033173] usbcore: registered new interface driver hub<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.033229] usbcore: registered new device driver usb<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.033353] pps_core: LinuxPPS API ver. 1 registered<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.033364] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti &lt;giometti@linux.it&gt;<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.033392] PTP clock support registered<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.033487] dmi: Firmware registration failed.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.034284] clocksource: Switched to clocksource arch_sys_counter<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.034392] VFS: Disk quotas dquot_6.6.0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.034432] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.039281] NET: Registered protocol family 2<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.039624] TCP established hash table entries: 16384 (order: 5, 131072 bytes)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.039746] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.039958] TCP: Hash tables configured (established 16384 bind 16384)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.040029] UDP hash table entries: 1024 (order: 3, 32768 bytes)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.040070] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.040190] NET: Registered protocol family 1<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.040340] RPC: Registered named UNIX socket transport module.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.040352] RPC: Registered udp transport module.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.040362] RPC: Registered tcp transport module.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.040372] RPC: Registered tcp NFSv4.1 backchannel transport module.<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.040658] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.041509] futex hash table entries: 1024 (order: 5, 131072 bytes)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.041582] audit: initializing netlink subsys (disabled)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.041633] audit: type=2000 audit(0.036:1): initialized<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.041979] workingset: timestamp_bits=44 max_order=19 bucket_order=0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.048252] squashfs: version 4.0 (2009\/01\/31) Phillip Lougher<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.048790] NFS: Registering the id_resolver key type<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.048827] Key type id_resolver registered<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.048837] Key type id_legacy registered<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.048853] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.049369] fuse init (API version 7.24)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.051926] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.051958] io scheduler noop registered<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.052062] io scheduler cfq registered (default)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.052355] xenfs: not registering filesystem on non-xen platform<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.054205] Serial: 8250\/16550 driver, 4 ports, IRQ sharing disabled<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.054998] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 10, base_baud = 1500000) is a meson_uart<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.721689] console [ttyAML0] enabled<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.725612] [drm] Initialized drm 1.1.0 20060810<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.729953] Unable to detect cache hierarchy from DT for CPU 0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.738525] loop: module loaded<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.739243] tun: Universal TUN\/TAP device driver, 1.6<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.743785] tun: (C) 1999-2004 Max Krasnyansky &lt;maxk@qualcomm.com&gt;<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.750185] VFIO - User Level meta-driver version: 0.3<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.755253] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.761482] ehci-platform: EHCI generic platform driver<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.766657] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.772747] ohci-platform: OHCI generic platform driver<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.778011] usbcore: registered new interface driver usb-storage<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.783930] usbcore: registered new interface driver usbserial<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.789908] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.798656] mousedev: PS\/2 mouse device common for all mice<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.804214] i2c \/dev entries driver<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.807760] sdhci: Secure Digital Host Controller Interface driver<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.813558] sdhci: Copyright(c) Pierre Ossman<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.817903] Synopsys Designware Multimedia Card Interface Driver<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.823834] sdhci-pltfm: SDHCI platform and OF driver helper<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.829470] ledtrig-cpu: registered to indicate activity on CPUs<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.835661] usbcore: registered new interface driver usbhid<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.840887] usbhid: USB HID core driver<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.844938] NET: Registered protocol family 17<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.849149] Key type dns_resolver registered<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.853657] registered taskstats version 1<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.857572] Key type encrypted registered<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.861467] hctosys: unable to open rtc device (rtc0)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.872071] VFS: Cannot open root device \"mmcblk0p1\" or unknown-block(0,0): error -6<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.874167] Please append a correct \"root=\" boot option; here are the available partitions:<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.882460] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.890641] SMP: stopping secondary CPUs<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.894517] Kernel Offset: disabled<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.897964] Memory Limit: none<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 0.900986] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)<\/span><\/strong><\/pre>\n<p>That seems to be as far as I can get, at present&#8230;\u00a0\u00a0\u00a0 More progress will be possible when &#8211; at least &#8211; MMC support is available..<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 May 10, 2016.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After some valuable info received from Brad (see comment on my earlier article, at https:\/\/rglinuxtech.com\/?p=1723 ), I found the complete set of four patches for initial C2 U-Boot support, and applied these to the latest (May 9) GIT version of U-Boot..\u00a0\u00a0 Thanks are also due to Beniamino Galvani for producing these patches.. Detailed instruction on how to <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1728\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1132,1131,5,6,11,14,16,1285,19,20,937],"tags":[1351,1352,1286,1353,1354,1350],"class_list":["post-1728","post","type-post","status-publish","format-standard","hentry","category-aarch64","category-arm64","category-compilation","category-crash-and-burn","category-hacks","category-kernel","category-linux-arm","category-odroid-c2","category-opinion","category-performance-2","category-u-boot-2","tag-four-patches","tag-limited-functionality","tag-odroid-c2","tag-partial-success","tag-tftp","tag-u-boot-patches"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1728"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1728\/revisions"}],"predecessor-version":[{"id":1730,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1728\/revisions\/1730"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}