Ubuntu FAQ

From FriendlyARM WiKi
Revision as of 02:52, 28 July 2015 by Tzs (Talk | contribs) (如何更改以太网Mac地址?)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

1 如何更改以太网Mac地址?

Mac地址参数是在 Kernel Command Line 中指定的,参数名称为 ethmac。

下面是一个带Mac地址的Kernel Command Line示例: root=/dev/mmcblk0p1 rootfstype=ext4 console=ttySAC0,115200n8 video=HDMI-A-1:1920x1080@60 drm_kms_helper.edid_firmware=edid/1920x1080.bin bootdev=EMMC ethmac=FC:09:D1:00:00:03

在烧写前,可以编辑SD卡UBUNTU_INSTALL目录下的FriendlyARM.ini来修改,如果系统已经烧写运行,可通过MiniTools工具单独更新Kernel Command Line来达到相同的目的。

2 SD卡运行系统时,如何访问eMMC?

可通过以下命令挂载:

mkdir -p /mnt/mmc
mount /dev/mmcblk1p1 /mnt/mmc

相反,如果你从eMMC启动,可用以下命令挂载SD卡:

mkdir -p /mnt/sd
mount /dev/mmcblk1p2 /mnt/sd