Linux kernel 4+ version with QEMU

在最新的 linux kernel上,使用 QMEU模拟 arm vexpress a9的时候,一开始就 stuck了。。 没有任何输出可以看到。

问题应该是vexpress的配置文件有问题了。

可以通过 指定 DTB  文件来绕过。

./qemu-2.8.0/arm-softmmu/qemu-system-arm  -M vexpress-a9 -kernel ./linux-4.9.13/arch/arm/boot/zImage  -initrd ./init/initramfs 
 -serial stdio -append "console=ttyAMA0"  -dtb ./linux-4.9.13/arch/arm/boot/dts/vexpress-v2p-ca9.dtb

参考:

1. http://blog.youkuaiyun.com/caspiansea/article/details/12342053

2. http://ronubo.blogspot.com/2016/02/linux-on-arm-emulator-bringup-building.html

### Qualcomm 8155 Chip Ubuntu Installation and Compatibility The Qualcomm Snapdragon 8155 (SA8155P) is primarily designed for automotive applications such as infotainment systems but can also be adapted for other uses including running Linux-based operating systems like Ubuntu. However, installing Ubuntu on this platform requires specific considerations due to its architecture being ARM rather than the more common x86 found in personal computers. For successful installation of Ubuntu or any compatible version tailored for ARM processors: - **Selecting an Appropriate Version**: Choose a version of Ubuntu that supports ARM architectures. The standard desktop versions may not work directly; instead, consider using Ubuntu Server Edition which has better support for ARM platforms[^1]. - **Custom Kernel Compilation**: Given the specialized nature of the SA8155P chipset, it might necessitate compiling a custom kernel with drivers specifically tuned for hardware components present within devices utilizing this processor. - **Using Pre-built Images**: Look into pre-built images provided by community members who have already undertaken similar projects. These often come packaged with necessary modifications required for bootstrapping these non-standard environments effectively without extensive manual configuration efforts from scratch each time someone wishes to deploy them anew elsewhere outside their original intended purpose(s). #### Example Steps for Setting Up Environment To set up an environment suitable for development purposes where one intends to port over functionality typically associated with general-purpose computing tasks onto embedded systems based around SoCs like those manufactured under license agreement terms established between various semiconductor companies worldwide today: ```bash sudo apt update && sudo apt upgrade -y sudo apt install git build-essential bc bison flex libssl-dev make device-tree-compiler u-boot-tools gcc-aarch64-linux-gnu qemu-user-static debootstrap parted gdisk git clone https://github.com/your-repo/sa8155p-u-boot.git cd sa8155p-u-boot/ make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- ``` This code snippet demonstrates how to prepare tools needed for building U-Boot bootloader along with cross-compilation setup targeting AArch64 instruction sets used inside modern mobile/embedded chips produced after mid-to-late 2010s onward when 64-bit processing capabilities became increasingly prevalent across consumer electronics markets globally at large scale levels never seen before during previous decades prior thereto.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值