Ubuntu Environment setup

本文详细介绍了使用Putty连接到Weidongshan面板的方法,包括安装Putty、设置串口参数、通过Root权限连接、字体样式调整及数据传输流程。此外,还提供了配置交叉编译工具链的步骤,并针对dtc版本过旧和lzo/lzop缺失等问题提出了解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1: sudo apt-get install putty
2: sudo putty . if not sudo, it will can not connect

3: update serial configuration

input "/dev/ttyUSB0" for Serial line to connect to

input 115200 for serial line speed

select "None" for Flow control and Parity

input 8 for Data bits

input 1 for Stop bits

4: connect to the 6 interface in the panel,(it is needed for weidongshan panel)
5: We can change the font style
6: input root for password (it is needed for weidongshan panel)

7: use scp to transfer data (We can use Router to connect panel and computer)

scp -r /home/book/bsp root@192.168.1.101:/bsp

input yes if needed


8. 配置交叉编译工具链 Please refer to weidongshan guide
https://book.100ask.org/documentation/2-9/2-9.html

Some problem may happen:

7.1 Your dtc is too old, please upgrade to dtc 1.4 or newer

Makefile:1410: recipe for target 'checkdtc' failed

make: *** [checkdtc] Error 1

解决办法:

安装device-tree-compiler

sudo apt-get install device-tree-compiler

7.2:recipe for target 'arch/arm/boot/compressed/vmlinux' failed

原因:缺少工具lzo,lzop

9: test:

lsmod

### Ubuntu Desktop Setup and Environment Configuration For setting up the Ubuntu desktop environment, one can follow a series of configurations to ensure that all necessary components are properly installed and configured. Disabling firewall services like UFW might be required in certain setups but is not directly related to installing a desktop environment[^1]. To set up an Ubuntu desktop: Installing the desktop environment on Ubuntu involves using package management tools such as `apt`. The following command installs the default desktop environment which includes GNOME: ```bash sudo apt update && sudo apt install -y ubuntu-desktop ``` After installation completes, rebooting the system will allow users to log into their graphical interface. Configuring additional settings may involve adjusting sources for software packages by modifying `/etc/apt/sources.list` or adding new repositories according to specific needs. Furthermore, when working with custom root filesystems (rootfs), especially for different architectures like ARM64 used in devices similar to BPI-R64, it's important to prepare this environment correctly before proceeding with any desktop installations[^2]: Creating directories and extracting files from base images while ensuring compatibility through emulation tools like QEMU allows for more flexibility during development phases: ```bash mkdir raw-rootfs tar -xpf ubuntu-base-16.04.6-base-arm64.tar.gz -C raw-rootfs/ cp /usr/bin/qemu-aarch64-static ./raw-rootfs/usr/bin/ cp /etc/resolv.conf raw-rootfs/etc/resolv.conf ``` These steps help create a functional chroot environment suitable for further customization including potentially adding a desktop environment tailored specifically towards embedded systems or single-board computers running Linux distributions based on Ubuntu.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值