Hikey Ubuntu Core 16 烧写说明 ==================== 把板子设置成烧写模式: $ sudo ./hisi-idt.py -d /dev/ttyUSB1 --img1=l-loader.bin $ sudo fastboot flash ptable ptable-linux-8g.img $ sudo fastboot flash fastboot fip.bin $ sudo fastboot flash nvme nvme.img 烧写Ubuntu Core 16 image到SD卡 $ sudo dd if=hikey-uc16.img of=/dev/sdc bs=32M $ sync 把板子设置成从EMMC FLash启动,上电重启。 系统起来后,如何login: Please refer to the URL of https://developer.ubuntu.com/en/snappy/start/ pay more attention to the section: - "3. Setup your Ubuntu SSO account" - "4. First boot" - "5. Login" - "First login tips" During the development, I used SMC2209 USB Etherenet card. Please refer to: http://product.it168.com/detail/doc/66346/index.shtml Wifi支持 ======== 编辑/etc/network/interfaces.d/wlan0,写入如下内容,注意替换MYSSID和XXXXX为自己AP的ssid和密码 $ sudo vim /etc/network/interfaces.d/wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ssid MYSSID wpa-psk XXXXXXXXX 重新启动系统,wifi就可以使用了 初步测试 ======== 安装hello-world hui.wang@localhost:~$ sudo snap install hello-world hello-world (stable) 6.3 from 'canonical' installed hui.wang@localhost:~$ hello-world hello-world hello-world.env hello-world.evil hello-world.sh hui.wang@localhost:~$ hello-world.env LC_PAPER=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 XDG_SESSION_ID=c1 LC_MONETARY=en_US.UTF-8 TERM=xterm SHELL=/bin/bash SNAP_USER_COMMON=/home/hui.wang/snap/hello-world/common TMPDIR=/tmp SSH_CLIENT=192.168.1.104 59308 22 LC_NUMERIC=en_US.UTF-8 SSH_TTY=/dev/pts/0 LC_ALL=C SNAP_REEXEC= ...