如何在 odroid-U3(或其他 odroid 版本)上安装 linux?

How to install linux on odroid-U3(or other odroid version)?

我有一个odroid-U3,但我不知道如何在上面安装linux,谁能告诉我该怎么做?我还有一个问题,odroid-U3可以USB口供电吗?

从以下位置获取合适的 linux 发行版:

http://os.archlinuxarm.org/os/

或按照以下步骤使用与 U3 相同的 U2 图像:

创建 SD 卡 将以下说明中的 sdX 替换为您计算机上显示的 SD 卡设备名称。

Zero the beginning of the SD card:
dd if=/dev/zero of=/dev/sdX bs=1M count=8
Start fdisk to partition the SD card:
fdisk /dev/sdX
At the fdisk prompt, create the new partitions:
Type o. This will clear out any partitions on the drive.
Type p to list partitions. There should be no partitions left.
Type n, then p for primary, 1 for the first partition on the drive, and enter twice to accept the default starting and ending sectors.
Write the partition table and exit by typing w.
Create and mount the ext4 filesystem:
mkfs.ext4 /dev/sdX1
mkdir root
mount /dev/sdX1 root
Download and extract the root filesystem (as root, not via sudo):
wget http://archlinuxarm.org/os/ArchLinuxARM-odroid-u2-latest.tar.gz
bsdtar -xpf ArchLinuxARM-odroid-u2-latest.tar.gz -C root
Flash the bootloader files:
cd root/boot
./sd_fusing.sh /dev/sdX
cd ../..
Unmount the partition:
umount root
Insert the SD card into the board, connect ethernet, and apply 5V power.
Use the serial console (with a null-modem adapter if needed) or SSH to the IP address given to the board by your router.
Login as the default user alarm with the password alarm.
The default root password is root.

eMMC 模块创建

将 eMMC 模块连接到微型 SD 适配器,然后将其插入您的计算机。 按照上述步骤安装 Arch Linux ARM,并在 eMMC 仍然连接到微型 SD 适配器的情况下启动电路板,并将其插入电路板的 SD 插槽。 重新刷写bootloader到eMMC模块受保护的引导区:

cd /boot
./sd_fusing.sh /dev/mmcblk0
Power off the board:
poweroff
Remove the micro SD adapter, detach the eMMC module, and connect the eMMC module to its connector on the board.
Re-apply power the board.
Use the serial console (with a null-modem adapter if needed) or SSH to the IP address given to the board by your router.
Login as the default user alarm with the password alarm.
The default root password is root.

您可以按照 archlinuxarm.org/platforms/armv7/samsung/odroid-u3

上的官方指南进行操作

注意:如果执行时卡在第 7 步

cd root/boot
./sd_fusing.sh /dev/sdX
cd ../..

您可以打开文件sd_fusing.sh,更改行

#!/usr/bin/bash

进入

#!/bin/bash