Re: Fedora on Odroid XU4

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

 



Am 2016-05-18 21:24, schrieb Peter Robinson:
Hi,

I've found in fedora-minimal-armhfp-rawhide-2016-05-08.n.0.sda.raw.xz
support for U-boot for Odroid-XU4. Can I "dd" the Image to a microSD ?
Or should I use the fedora-arm-image-installer, but which target?

I'm using the XU4 with the Ubuntu?-Kernel and Fedora 23 on top as a
Home/Nas-Server with the Cloudshell.

So there's some extra steps needed for exynos processors as there's a
binary blob, which we can't redistribute, needed for boot. You can use
the Fedora u-boot and kernel. There's details of where to get the blob
needed (depends on your version) in the README below (we ship this
readme with the new 2016.05 u-boot).

So you should be able to dd out the image or "arm-image-installer
--image=XX --target=none" and then follow the instructions to write
the blob/u-boot.

Peter

[1] http://git.denx.de/?p=u-boot.git;a=blob_plain;f=doc/README.odroid;hb=HEAD
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/arm@xxxxxxxxxxxxxxxxxxxxxxx

Hi Peter,

thank you for this information. What I've done:

[root@destnadml00 Arm]# fedora-arm-image-installer --image=Fedora-Minimal-armhfp-Rawhide-20160518.n.0-sda.raw.xz --target=none --media=/dev/sdc

=====================================================
= Selected Image:
= Fedora-Minimal-armhfp-Rawhide-20160518.n.0-sda.raw.xz
= Selected Media : /dev/sdc
= U-Boot Target : none
=====================================================

*****************************************************
*****************************************************
******** WARNING! ALL DATA WILL BE DESTROYED ********
*****************************************************
*****************************************************

 Type 'YES' to proceed, anything else to exit now

= Proceed? YES
= Writing:
= Fedora-Minimal-armhfp-Rawhide-20160518.n.0-sda.raw.xz
= To: /dev/sdc ....
0+216811 Datensätze ein
0+216811 Datensätze aus
2146435072 Bytes (2,1 GB) kopiert, 176,355 s, 12,2 MB/s
= Writing image complete!
= No U-Boot will be installed.

= Installation Complete! Insert into the none and boot.
[root@destnadml00 Arm]# cd Odroid\ XU4/U-Boot/
[root@destnadml00 U-Boot]# ls -l
insgesamt 944
-rw-rw-r--. 1 resch resch  15616 19. Mai 08:42 bl1.bin.hardkernel
-rw-rw-r--. 1 resch resch 14592 19. Mai 08:37 bl2.bin.hardkernel.1mb_uboot
-rw-r--r--. 1 root  root   47808 19. Mai 09:49 exynos5422-odroidxu4.dtb
-rw-rw-r--. 1 resch resch  54209 19. Mai 08:26 movi_partition.patch
-rwxr-xr-x. 1 resch resch   1894 19. Mai 08:38 sd_fusing.1M.sh
-rw-rw-r--. 1 resch resch 262144 19. Mai 08:38 tzsw.bin.hardkernel
-rw-r--r--. 1 root  root  544935 19. Mai 09:57 u-boot.bin
-rw-r--r--. 1 root  root   11399 19. Mai 09:57 u-boot.dtb
[root@destnadml00 U-Boot]# ./sd_fusing.1M.sh /dev/sdc
++ '[' -z /dev/sdc ']'
++ '[' -b /dev/sdc ']'
++ echo '/dev/sdc reader is identified.'
/dev/sdc reader is identified.
++ '[' -d /sys/block/sdcboot0 ']'
++ '[' -n '' ']'
++ signed_bl1_position=1
++ bl2_position=31
++ uboot_position=63
++ tzsw_position=2111
++ device=/dev/sdc
++ '[' -f ./u-boot-dtb.bin ']'
++ '[' -f ./u-boot.bin ']'
++ uboot=./u-boot.bin
++ echo 'BL1 fusing'
BL1 fusing
++ sudo dd iflag=dsync oflag=dsync if=./bl1.bin.hardkernel of=/dev/sdc seek=1
30+1 Datensätze ein
30+1 Datensätze aus
15616 Bytes (16 kB) kopiert, 0,0437169 s, 357 kB/s
++ echo 'BL2 fusing'
BL2 fusing
++ sudo dd iflag=dsync oflag=dsync if=./bl2.bin.hardkernel.1mb_uboot of=/dev/sdc seek=31
28+1 Datensätze ein
28+1 Datensätze aus
14592 Bytes (15 kB) kopiert, 0,0736991 s, 198 kB/s
++ echo 'u-boot fusing'
u-boot fusing
++ sudo dd iflag=dsync oflag=dsync if=./u-boot.bin of=/dev/sdc seek=63
1064+1 Datensätze ein
1064+1 Datensätze aus
544935 Bytes (545 kB) kopiert, 1,67099 s, 326 kB/s
++ echo 'TrustZone S/W fusing'
TrustZone S/W fusing
++ sudo dd iflag=dsync oflag=dsync if=./tzsw.bin.hardkernel of=/dev/sdc seek=2111
512+0 Datensätze ein
512+0 Datensätze aus.
262144 Bytes (262 kB) kopiert, 0,932371 s, 281 kB/s
++ echo 'U-boot image is fused successfully.'
U-boot image is fused successfully.
++ echo 'Eject /dev/sdc and insert it again.'
Eject /dev/sdc and insert it again.
[root@destnadml00 U-Boot]#


I've insert the SD-card into the XU4, switch to SD-Boot and Power on.
The fan is running, red light is on, but no output on screen. Neither the mini LCD from the cloudshell or the monitor at HDMI.

What's wrong?

Andreas
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/arm@xxxxxxxxxxxxxxxxxxxxxxx




[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