rockchip-toybrick / kernel Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
I have config the dts as below:
pinctrl-names = "default";
pinctrl-0 = <&npu_ref_clk>;
npu_clk {
npu_ref_clk: npu-ref-clk {
rockchip,pins =
<0 RK_PA2 1 &pcfg_pull_none>;
};
};
But the REF_CLKO has not any signal?
Repository revision: 56b9639
OS version: Ubuntu 18.04
compiler version: aarch64-linux-gnu-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0
linker verion: aarch64-linux-gnu-ld GNU ld (GNU Binutils for Ubuntu) 2.30
make verion: GNU Make 4.1
Commands to reproduce:
git clone https://github.com/rockchip-toybrick/kernel.git
cd kernel
make distclean
make ARCH=arm64 defconfig
ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make all V=1 -j10 all
Error message:
+ aarch64-linux-gnu-ld -EL --no-undefined -X --build-id -o .tmp_vmlinux1 -T ./arch/arm64/kernel/vmlinux.lds arch/arm64/kernel/head.o init/built-in.o --start-group usr/built-in.o arch/arm64/kernel/built-in.o arch/arm64/mm/built-in.o a
arm64/net/built-in.o arch/arm64/kvm/built-in.o arch/arm64/crypto/built-in.o ./drivers/firmware/efi/libstub/lib.a kernel/built-in.o certs/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o bloc
ilt-in.o arch/arm64/lib/lib.a lib/lib.a arch/arm64/lib/built-in.o lib/built-in.o drivers/built-in.o sound/built-in.o firmware/built-in.o net/built-in.o virt/built-in.o --end-group
drivers/built-in.o: In function `GobiSuspend':
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:451: undefined reference to `usbnet_suspend'
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:451:(.text+0x12c428): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usbnet_suspend'
drivers/built-in.o: In function `GobiResume':
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:510: undefined reference to `usbnet_resume'
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:510:(.text+0x12c600): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usbnet_resume'
drivers/built-in.o: In function `GobiUSBNetStartXmit':
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:1189: undefined reference to `usbnet_start_xmit'
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:1189:(.text+0x12cd40): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usbnet_start_xmit'
drivers/built-in.o: In function `GobiUSBNetProbe':
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:1454: undefined reference to `usbnet_probe'
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:1454:(.text+0x12daa8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usbnet_probe'
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:1533: undefined reference to `usbnet_tx_timeout'
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:1533:(.text+0x12db90): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against undefined symbol `usbnet_tx_timeout'
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:1533: undefined reference to `usbnet_tx_timeout'
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:1578: undefined reference to `usbnet_disconnect'
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:1578:(.text+0x12dc98): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usbnet_disconnect'
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:1474: undefined reference to `usbnet_disconnect'
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:1474:(.text+0x12dd34): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usbnet_disconnect'
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:1482: undefined reference to `usbnet_disconnect'
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/GobiUSBNet.c:1482:(.text+0x12dd54): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usbnet_disconnect'
drivers/built-in.o: In function `qmi_sync_thread':
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/QMIDevice.c:2882: undefined reference to `usbnet_disconnect'
/data/home/fjc/workspace/toybrick-kernel/drivers/net/usb/QMIDevice.c:2882:(.text+0x1344d8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usbnet_disconnect'
drivers/built-in.o:(.data+0x26a20): undefined reference to `usbnet_disconnect'
+ on_exit
+ '[' 1 -ne 0 ']'
+ cleanup
+ rm -f .old_version
+ rm -f .tmp_System.map
+ rm -f '.tmp_kallsyms*'
+ rm -f .tmp_version
+ rm -f '.tmp_vmlinux*'
+ rm -f System.map
+ rm -f vmlinux
+ rm -f vmlinux.o
Makefile:1033: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1
Hello, I would like to ask, I use the image decoding chip TechPoint TP2855 external four cameras in RK3588, do I use your tp2855.C driver file? How do I configure the device tree? What is my device tree configuration? Can you help me correct it? Thank you.
&csi2_dphy0_hw {
status = "okay";
};
&csi2_dphy0 {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
mipi_in_ucam0: endpoint@1 {
reg = <1>;
remote-endpoint = <&ucam_out0>;
data-lanes = <1 2 3 4>;
};
};
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
csidphy0_out: endpoint@0 {
reg = <0>;
remote-endpoint = <&mipi2_csi2_input>;
};
};
};
};
&i2c3 {
status = "okay";
techpoint: tp2855_a@44 {
compatible = "techbotify,tp2855";
// compatible = "techpoint,tp2855";
status = "okay";
reg = <0x44>;
clocks = <&cru CLK_MIPI_CAMARAOUT_M3>;
clock-names = "xvclk";
// pinctrl-names = "default";
pinctrl-names = "rockchip,camera_default";
pinctrl-0 = <&mipim0_camera3_clk>;
power-domains = <&power RK3588_PD_VI>;
// avdd-supply = <&vcc_avdd>;
// dovdd-supply = <&vcc_dovdd>;
// dvdd-supply = <&vcc_dvdd>;
dovdd-supply = <&vcc_mipicsi1>;
avdd-supply = <&vcc_mipicsi0>;
dvdd-supply = <&vcc_mipicsi1>;
// pwdn-gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_LOW>;
pwdn-gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio4 RK_PC6 GPIO_ACTIVE_LOW>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "tp2855";
rockchip,camera-module-lens-name = "tp2855";
port {
ucam_out0: endpoint {
remote-endpoint = <&mipi_in_ucam0>;
data-lanes = <1 2 3 4>;
};
};
};
};
&mipi2_csi2 {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
mipi2_csi2_input: endpoint@1 {
reg = <1>;
remote-endpoint = <&csidphy0_out>;
};
};
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
mipi2_csi2_output: endpoint@0 {
reg = <0>;
remote-endpoint = <&cif_mipi_in2>;
};
};
};
};
&rkcif {
status = "okay";
};
&rkcif_mipi_lvds2 {
status = "okay";
port {
cif_mipi_in2: endpoint {
remote-endpoint = <&mipi2_csi2_output>;
};
};
};
&rkcif_mmu {
status = "okay";
};
&rkisp0 {
status = "okay";
};
&isp0_mmu {
status = "okay";
};
&rkisp0_vir0 {
status = "okay";
port {
#address-cells = <1>;
#size-cells = <0>;
isp0_vir0: endpoint@0 {
reg = <0>;
remote-endpoint = <&mipi_lvds_sditf>;
};
};
};
I am not find lt7911's driver?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.