Trying to run Fedora 22 on MicroZed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to get Fedora 22 on a MicroZed board (based on XIlinx Zynq
7Z020, dual-core ARM Cortex-A9), and I don't entirely know what I'm
doing, so I could use some assistance. I'm getting the kernel loaded
by U-Boot, but after the "Starting kernel ..." message I don't get any
further output.

I'm trying to use the kernel from the Fedora 22 release, but I need a
MicroZed-specific U-Boot and device tree, so right now I am using
known-good ones cross compiled from source on an x86_64 using
buildroot, as described here:

    http://www.vxmdesign.com/zynq.html

When I use everything from that build, and nothing from Fedora, it
boots up just fine.

When I try to use u-boot and the device tree from that, and the uImage
and uInitrd from Fedora 21, it appears that U-boot loads the uImage
and uInitrd OK.  The U-boot is configured to use a different name for
the ramdisk file, so its automatic boot sequence fails after loading
the kernel and device tree, but I manually load the uInitrd using the
fatload command, then tell it to boot:

microzed-u-boot> fatload mmc 0 0x2000000 uInitrd
reading uInitrd
27397171 bytes read in 1348 ms (19.4 MiB/s)
microzed-u-boot> bootm 0x3f00000 0x2000000 0x3e00000
## Booting kernel from Legacy Image at 03f00000 ...
   Image Name:   4.0.4-301.fc22.armv7hl
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5645832 Bytes = 5.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
   Image Name:   initramfs
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    27397107 Bytes = 26.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 03e00000
   Booting using the fdt blob at 0x3e00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1e5df000, end 1ffffbf3 ... OK
   Loading Device Tree to 1e5da000, end 1e5dec70 ... OK

Starting kernel ...


Are the load addresses OK, or do I need different ones for Fedora?
Should a device tree blob that works for a different Linux setup be at
least minimally functional for Fedora?

Thanks for any advice!  If I can get this working, I'll try to set up
to build a suitable U-Boot natively, rather than through
cross-compilation with buildroot.  The vmxdesign people that provided
the buildroot setup have some modifications to the U-Boot, forked from
the Xilinx U-Boot, which eliminate the need for the Xilinx FSBL (first
stage boot loader) ordinarily needed on Zynq. That's useful for Fedora
because the FSBL licensing is not great (or at least, it wasn't the
last time I checked).

Best regards,
Eric
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux