
ARM
文章平均质量分 57
hushui
Coding Since 1998
展开
-
FIREFLY-RK3399-UBUNTU-20.04 GUI info
firefly@firefly:~$ echo $XDG_SESSION_TYPEx11firefly@firefly:~$firefly@firefly:~$ xdriinfolibGL error: failed to create dri screenlibGL error: failed to load driver: rockchiplibGL error: failed to create dri screenlibGL error: failed to load dr...原创 2021-10-07 21:08:08 · 3395 阅读 · 3 评论 -
kmscube/RK3399/Linux
No waylandNo westonNo qtKmscubebased on libdrm/EGL>>>>>>>>>> log[root@rk3399:/]# kmscubearm_release_ver of this libmali is 'r18p0-01rel0', rk_so_ver is '4'.Using display 0x19ffc390 with EGL version 1.4EGL..原创 2021-09-28 19:12:03 · 1852 阅读 · 0 评论 -
RK3399/libdrm/modetest
PLANE(ID=58, W=1920, H=1080) | \ | /CRCT(ID=64) --> ENCODER(ID=92) --> CONNECTED(ID=93) --> HDMImodetest -a -s 93@64:1920x1080 -P 58@64:1920x1080 -Ftiles[root@rk3399:/]# modetest -a -s 93@64:1920x1080 -P 58@64:1920x1080tryi...原创 2021-09-27 11:13:42 · 1864 阅读 · 0 评论 -
韦东山Linux视频第1期
我用阿里云盘分享了「韦东山Linux视频第1期 S3C6410版本」,你可以不限速下载???? 复制这段内容打开「阿里云盘」App 即可获取 链接:https://www.aliyundrive.com/s/ZhN7XcNgAAR原创 2021-09-21 13:50:34 · 308 阅读 · 0 评论 -
Qemu static chroot busybox buildroot
Refer toQemu2.x user mode/Ubuntu18 for Chroot/ARM qemu-user-static/CONFIG_BINFMT_MISC/Ubuntu/ARM/Rootfshttps://blog.youkuaiyun.com/hushui/article/details/103791704Try qemu/ARM/buildrootsudo mount -t proc /proc /home/lake/nfs/busybox-buildroot/proc...原创 2021-03-17 15:40:55 · 279 阅读 · 0 评论 -
printk/kernel/ignore_loglevel
1. how to generate kernel messages via /dev/kmsg echo "8 4 1 7" >/proc/sys/kernel/print / # echo "<7>Writing critical printk messages from userspace" >/dev/kmsg Writing critical printk messages from userspace ...原创 2020-12-07 09:00:06 · 675 阅读 · 0 评论 -
python2.7/serial/test/ARM Linux
#-*- coding:UTF-8 -*-# author:Lake Hu :2020/9# -*- coding: utf-8 -*-import time import serialimport reimport randomimport time localtime = time.asctime(time.localtime(time.time()))reboot_timeout_default = 30 read_timeout_default = 5ser = .原创 2020-09-18 14:54:33 · 218 阅读 · 0 评论 -
ARM systemd/Ubuntu18 customized service for Hisilicon ARM
1. Kernel supportCONFIG_FHANDLE (libudev, mount and bind mount handling)Refer toubuntu-base-16.04-core-armhf enable systemctl/systemd/dev-ttyAMA0https://blog.youkuaiyun.com/hushui/article/details/103764254Ubuntu/systemd/ARM/boot failurehttps://blog....原创 2020-08-20 09:05:51 · 492 阅读 · 0 评论 -
xfce4/X11 on Ubuntu18/armhf/ARM/Hisilicon3798
標題NoteHiFB ko should be launched before startx/startxfce!CPU Info/ # cat /proc/cpuinfoprocessor : 0Processor : ARMv7 Processor rev 4 (v7l)BogoMIPS : 3170.30Features : half thumb fastmult vfp edsp neon vfpv3 tls ...原创 2020-08-20 09:36:47 · 1976 阅读 · 11 评论 -
xfce4/X11 on Ubuntu18/armhf/ARM 通过 VNC
ubuntu-base-18.04-armhf-xfce4/usr/share/X11/xorg.conf.d ubuntu-base-18.04-armhf-xfce4/usr/share/X11/xorg.conf.d/10-amdgpu.confubuntu-base-18.04-armhf-xfce4/usr/share/X11/xorg.conf.d/10-radeon.confubuntu-base-18.04-armhf-xfce4/usr/...原创 2020-08-18 17:23:32 · 1838 阅读 · 0 评论 -
vscode/gdbserver/arm
sysbol put into $target /usr/local/lib/debug/=thread-group-added,id="i1"GNU gdb (GDB) 7.10Copyright (C) 2015 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>This is free software:...原创 2020-08-13 14:35:25 · 1307 阅读 · 0 评论 -
binfmt_misc/qemu-user-static misc
Install Refer toQemu2.x user mode/Ubuntu18 for Chroot/ARM qemu-user-static/CONFIG_BINFMT_MISC/Ubuntu/ARM/Rootfshttps://blog.youkuaiyun.com/hushui/article/details/103791704Qemu4 user mode source build/static for Chroot/ARM rootfs on Ubuntu18https://blog..原创 2020-07-17 09:37:42 · 1921 阅读 · 0 评论 -
RK3399 Linux tools/update.img unpack and pack/mkupdate Linux host for ARM64/Ubuntu18
1. tools for mkupdate/unpackhttps://github.com/rockchip-linux/tools.git2. RK3399 branch[lake@localhost tools]$ git checkout remotes/origin/rk3399Note: checking out 'remotes/origin/rk3399'...原创 2020-04-19 21:22:28 · 1355 阅读 · 0 评论 -
docker import tar.gz/image run container on linux4.9/ARM A7
root@Debian:~# cat /proc/versionLinux version 4.9.118 (lake@lake-Latitude-5491) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #8 SMP Mon Jan 27 17:28:37 CST 2020root@Debian:~# uname -aLinu...原创 2020-02-12 14:35:40 · 548 阅读 · 0 评论 -
busybox/arm/docker image run on X86 through qemu-static/user mode
lake@localhost:~$ ~/usr/bin/qemu-arm -versionqemu-arm version 4.2.0Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developerslake@localhost:~$lake@localhost:~$ uname -aLinux ShSwDe...原创 2020-01-09 17:14:25 · 306 阅读 · 0 评论 -
Run arm docker image on X86 through (Docker hub image)/multiarch/qemu-user-static
1. setup binformat with root!! 危险操作 可以使用qemu-static 手工替代jhula@ShSwDev2:~/local/edgex/test-linux-docker-lake/myhello$ docker run --rm --privileged multiarch/qemu-user-static:register --resetUnabl...原创 2020-01-09 12:23:33 · 883 阅读 · 0 评论 -
Qemu2.x user mode/Ubuntu18 for Chroot/ARM qemu-user-static/CONFIG_BINFMT_MISC/Ubuntu/ARM/Rootfs
Qemu Mode: System and UserFor System mode source code build/Qemu4, refer toQemu4 build --target-list ARM(bare bone and linux-user)/Intel(linux-user only) (KVM enabled)https://blog.youkuaiyun.com/...原创 2020-01-01 11:41:11 · 2279 阅读 · 0 评论 -
ubuntu-base-16.04-core-armhf enable systemctl/systemd/dev-ttyAMA0
1. buildroot/lfs 可以不使用systemd,2. Ubuntu/Debian 依赖systemd . 内核编译需要CONFIG_FHANDLE Refer to https://github.com/systemd/systemd/blob/master/READMEREQUIREMENTS: Linux kernel >= 3.13...原创 2019-12-30 12:20:44 · 1561 阅读 · 2 评论 -
Qualcomm Ramdump debugging
Qualcomm 89091. Soft request trigger for ramdump试调试,可以这样主动触发ramdumpadb rootadb shellecho c > /proc/sysrq-trigger其本质就是让内核访问空指针内存,被MMU拦截而触发data abort异常.2.软件层关机,跳过长按power键选择界面,...原创 2019-09-29 14:44:19 · 603 阅读 · 0 评论 -
ubuntu系统的最小化系统包 ubuntu-base for ARM/Intel/PPC etc
Official Link https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/bionic/Mirrorhttp://cdimage.ubuntu.com/ubuntu-base/releases/18.04/release/ Download ToolFWD https://blog.youkuaiyun.com/su...原创 2018-12-29 09:51:09 · 4513 阅读 · 0 评论 -
.gitignore for Keil
# reference to https://blog.youkuaiyun.com/u010160335/article/details/80068175# reference to https://www.cnblogs.com/zzb-Dream-90Time/p/9052130.html# Change by Lake.hu@outlook.com# reference to Keil->...原创 2019-01-31 16:00:20 · 883 阅读 · 0 评论 -
ARM version
内核版本 Soc版本 芯片型号 芯片型号 芯片型号ARMv4 ARM7 S3C44B0 ARM9 S3C2440 S3C2410 ARMv5 ARM9 ARMv6 ARM11 S3C6410 ARMv7 Cortex...原创 2019-03-03 15:33:48 · 422 阅读 · 0 评论 -
Uboot/Exynos4412 Bare programming 裸机开发-loadb/dnw
U-Boot 2010.12-00000-g14efcbd (Mar 02 2019 - 13:54:51) for TINY4412CPU: S5PC220 [Samsung SOC on SMP Platform Base on ARM CortexA9] APLL = 1500MHz, MPLL = 800MHzBoard: TINY4412DRAM: ...原创 2019-03-02 21:45:41 · 569 阅读 · 0 评论 -
Exynos4412 Bare programming 裸机开发-硬件接口总结 --- TBC
0.0 LED0.1 Tiny4412 @GPX4_0/GPX4_1/GPX4_2/GPX4_3 with LED on FriendlyARM/Tiny4412-2015060.2 FS/FS4412 Huaqing@GPX2_7/GPX1_0/GPX3_4/GPX3_5 with LED on Huaqing/FS44121. Debug UART1.1 Tiny44...原创 2019-03-04 17:38:19 · 571 阅读 · 0 评论 -
Initrd Ramdisk VS initramfs/cpio ramdisk
lake@lake-Latitude-5491:~$ file ramdisk.img ramdisk.img: u-boot legacy uImage, ramdisk, Linux/ARM, RAMDisk Image (gzip), 2585838 bytes, Sun Jan 17 02:21:28 2016, Load Address: 0x00000000, Entry ...原创 2019-03-20 10:53:55 · 298 阅读 · 1 评论 -
NFS root mount for embedded system (NFSv2/v3/4) RHEL/Ubuntu
Example on HOST side/etc/exports#/home/lake *(rw,subtree_check,no_root_squash,sync,insecure)#/home/lake/nfs-boot-x86 *(rw,subtree_check,no_root_squash,sync,insecure)#/home/lake/nfs-boot-arm *(r...原创 2019-03-20 10:55:24 · 730 阅读 · 0 评论 -
LKM-HelloWorld
# notes1. /home/lake/lfs/linux-stable has already built an ARM kernel2. Use ARM toolchainlake@lake-Latitude-5491:~$ arm-none-linux-gnueabi-gcc -vgcc version 4.6.4 (crosstool-NG hg+default-2685df...原创 2019-03-22 14:41:13 · 323 阅读 · 0 评论 -
network script through /etc/network/interfaces on Ubuntu
https://askubuntu.com/questions/1031709/ubuntu-18-04-switch-back-to-etc-network-interfacesThe following procedure works for Ubuntu18.04(Bionic Beaver)I.Reinstall theifupdownpackage:# ap...原创 2019-04-11 12:22:08 · 532 阅读 · 0 评论 -
Jtag/TI/XDS110 manually command check/Windows/CCS
C:\>c:\ti\ccsv7\ccs_base\common\uscif\dbgjtag.exe The utility build date was 'Jul 21 2017'. The utility build time was '19:39:14'. The utility package version is '7.0.48.0'. The utility co...原创 2019-04-29 15:27:55 · 842 阅读 · 0 评论 -
qemu-system-aarch64/cortex-a53/Linux
1.LTS kernelgit clone -bv4.19--depth 1https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git2. Build withaarch64-linux-gnu-gcc/Linaro/GCC7.2.1/2017lake@localhost:...原创 2019-07-31 12:04:40 · 2839 阅读 · 0 评论 -
Create Linux ext2 file system image(raw format, not sparse/Android) for any platform(Example ARM)
dd if=/dev/zero of=rootfs.img bs=1M count=1024 mkfs.ext4 -F -L linuxroot rootfs.img #kernel use the label linuxroot to mount the rootfs as / sudo mount -o loop rootfs.img /mnt原创 2019-08-08 16:42:30 · 334 阅读 · 0 评论 -
Cross build zImage/Modules/install to rootfs/Target
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- defconfig (From arch/arm/configs. arch/arm64/configs/ for A53/64bit, for example: RK3399)make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf...原创 2019-08-08 16:44:22 · 176 阅读 · 0 评论 -
initramfs build with ARM/kernel
cd target-root-fs-folder (busybox etc)sudo find . -print0 | sudo cpio --null --create --verbose --format=newc | sudo gzip --best >/home/lake/ARM/initramfs-lake.cpio.gzAdd into ARM/Linux...原创 2019-08-08 16:46:29 · 245 阅读 · 0 评论 -
Unix/Linux syslog from /var/log/messages
root@IMX6ARM:~# logger "`date` Hi syslogger" root@IMX6ARM:~# journalctl -f --no-full -- Logs begin at Wed 2019-08-07 16:11:32 UTC. -- Aug 07 16:11:52 IMX6ARM systemd[851]: Reached target Paths. ...原创 2019-08-07 16:10:50 · 239 阅读 · 0 评论 -
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- savedefconfig
Suppose common is kernel source folder make -C kernel/ ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- kvim_defconfig make -C kernel/ ARCH=arm64 CROSS_COMPILE=aarch64-linux-androi...原创 2019-08-23 13:05:18 · 3393 阅读 · 1 评论 -
RHEL7.2-x86_64bit wxWidgets-2.8.12 unicode/GTK build codeblocks-12.11release8629
RHEL7.2-x86_64bitwxWidgets-2.8.12 unicode/GTK build codeblocks-12.11release8629 [root@localhost Packages]# rpm -ivh gtk2-devel-2.24.28-8.el7.x86_64.rpm atk-devel-2.14.0-1.el7.x86_64.rpm gdk-...原创 2018-04-04 12:37:27 · 839 阅读 · 0 评论