Skip to content

Instantly share code, notes, and snippets.

Avatar

Peng Fan MrVan

  • NXP
  • Suzhou, China
View GitHub Profile
View opensuse log with usb disk install
[ 7.708974] evm: HMAC attrs: 0x1
[ 7.741822] Freeing unused kernel memory: 6720K
[ 7.797394] Run /init as init process
00:00:07 <4>: = config file [flags 0x06] =
00:00:07 <4>: = config file [flags 0x04] =
00:00:07 <4>: = config file [flags 0x04] =
00:00:07 <4>: = config file [flags 0x04] =
00:00:07 <2>: Moving into zram...
[ 7.923765] zram: Added device: zram0
[ 7.933393] zram0: detected capacity change from 0 to 2097152
View gist:d73888d8273c43ea4a3b28fa668ca1d0
diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
index 64aa38fd2b6e..41d6d1cc0fb1 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
@@ -4,6 +4,8 @@
*/
#include <dt-bindings/clock/imx8mm-clock.h>
+#include <dt-bindings/power/imx8mm-power.h>
+#include <dt-bindings/reset/imx8mq-reset.h>
View 0001-initial-port-of-u-boot-caam-code.patch
From f6e25ec9d9a5cbf6b482cc7d8306b6dc9e42ac8f Mon Sep 17 00:00:00 2001
From: Jangseop Shin <jsshin@sor.snu.ac.kr>
Date: Wed, 22 Feb 2017 18:20:08 +0900
Subject: [PATCH 1/5] initial port of u-boot caam code
---
core/arch/arm/plat-imx/caam_cmds.c | 37 ++
core/arch/arm/plat-imx/caam_cmds.h | 8 +
core/arch/arm/plat-imx/clock.c | 32 ++
core/arch/arm/plat-imx/clock.h | 72 +++
@MrVan
MrVan / layout and rela
Created May 13, 2013
resolve the layout problem and rela problem
View layout and rela
From c680d5c27792cb7ca5460542b6b3dd08de38fe9b Mon Sep 17 00:00:00 2001
From: Peng Fan <van.freenix@gmail.com>
Date: Mon, 13 May 2013 16:16:05 +0800
Subject: [PATCH 5/5] modify-rela-related-problem and layout problem
---
rld-rap.cpp | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/rld-rap.cpp b/rld-rap.cpp
@MrVan
MrVan / ARM Support for loader
Created May 4, 2013
1. Basic Reloc types are implemented. ARM REL TYPE: R_ARM_JUMP24 R_ARM_ABS32 R_ARM_CALL R_ARM_MOVW_ABS_NC R_ARM_MOVT_ABS R_ARM_V4BX //This should be fixed. arm thumb switch? THUMB REL TYPE: R_ARM_THM_CALL R_ARM_ABS32 R_ARM_THM_MOVW_ABS_NC R_ARM_THM_MOVT_ABS R_ARM_THM_JUMP24 2. Implement several group reloc types. But not sure what are they used …
View ARM Support for loader
From 516531d199ec2302c0f932c61b9542a70492948b Mon Sep 17 00:00:00 2001
From: Peng Fan <van.freenix@gmail.com>
Date: Sat, 4 May 2013 20:26:59 +0800
Subject: [PATCH] ARM Support
---
.gitignore | 4 +
Makefile | 8 +
bspinit.c | 2 +
libbsd/include/arch/arm/machine/elf_machdep.h | 25 ++
@MrVan
MrVan / RTL linker for mips
Last active Dec 16, 2015
A basic patch now.
View RTL linker for mips
From 0f541ee952030aae37d2214cd26a09c61c6be16f Mon Sep 17 00:00:00 2001
From: Peng Fan <van.freenix@gmail.com>
Date: Wed, 1 May 2013 13:09:11 +0800
Subject: [PATCH] Arm && Mips
---
.gitignore | 1 +
elftoolchain/libelf/elf_data.c | 26 ++++++++++++++++++++++++++
rld-files.cpp | 3 ++-
rld-rap.cpp | 18 ++++++++++++++++--
@MrVan
MrVan / RTL Loader for mips
Last active Dec 16, 2015
A basic implementation, supporting 3 reloc types now.
View RTL Loader for mips
From fa4544466e266551b3f8f3afe98a9d468d18351f Mon Sep 17 00:00:00 2001
From: Peng Fan <van.freenix@gmail.com>
Date: Mon, 29 Apr 2013 16:27:22 +0800
Subject: [PATCH] 1st mips
---
.gitignore | 1 +
a.sh | 6 +
b.sh | 5 +
c.sh | 5 +
View Initial bsp for Tiny6410
From 8c77e2d3081ef9be29098525ecb3fc353306173d Mon Sep 17 00:00:00 2001
From: Peng Fan <van.freenix@gmail.com>
Date: Sat, 27 Apr 2013 19:15:44 +0800
Subject: [PATCH 2/2] Initial bsp for Tiny6410
---
c/src/lib/libbsp/arm/acinclude.m4 | 2 +
c/src/lib/libbsp/arm/tiny6410/Makefile.am | 62 ++++++
c/src/lib/libbsp/arm/tiny6410/README | 39 ++++
c/src/lib/libbsp/arm/tiny6410/bsp_specs | 13 ++
View loader for ARM
From 2540825a297e9263a4b701bebcb78d81b4771360 Mon Sep 17 00:00:00 2001
From: Peng Fan <van.freenix@gmail.com>
Date: Mon, 22 Apr 2013 10:45:48 +0800
Subject: [PATCH] add arm sections support
---
.gitignore | 1 +
elftoolchain/libelf/elf_data.c | 12 ++++++++++++
2 files changed, 13 insertions(+)
View ABS32 RTL ARM
From 8651a91bc08545a2210385399bbef223cea51262 Mon Sep 17 00:00:00 2001
From: Peng Fan <van.freenix@gmail.com>
Date: Thu, 25 Apr 2013 19:03:42 +0800
Subject: [PATCH 2/3] abs32 for arm
---
rtems.py | 11 ++++++++---
rtl-mdreloc-arm.c | 6 +++---
x-long-name-to-create-gnu-extension-in-archive.c | 6 ------
xa.c | 3 ++-