Skip to content

Instantly share code, notes, and snippets.

View neuberfran's full-sized avatar

Neuber Sousa neuberfran

View GitHub Profile
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2017 Pengutronix, Oleksij Rempel <kernel@pengutronix.de>
*/
#include <dt-bindings/firmware/imx/rsrc.h>
#include <linux/arm-smccc.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/err.h>
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2017 Pengutronix, Oleksij Rempel <kernel@pengutronix.de>
*/
#include <dt-bindings/firmware/imx/rsrc.h>
#include <linux/arm-smccc.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/firmware/imx/sci.h>
static int imx_rproc_addr_init(struct imx_rproc *priv,
struct platform_device *pdev)
{
const struct imx_rproc_dcfg *dcfg = priv->dcfg;
struct device *dev = &pdev->dev;
struct device_node *np = dev->of_node;
int a, b = 0, err, nph;
/* remap required addresses */
for (a = 0; a < dcfg->att_size; a++) {
/*
* Copyright (c) 2019, Joris Offouga
* Copyright 2022 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <nxp/nxp_imx7d_m4.dtsi>
U-Boot 2021.04-AUTOINC+gdb54757fd5 (Dec 09 2023 - 09:29:07 +0000)
CPU: i.MX7D rev1.2 1000 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 43C
Reset cause: POR
Model: TechNexion PICO-IMX7D Board and PI baseboard
Board: i.MX7D PICOSOM
I2C: ready
DRAM: 1 GiB
/*
* Copyright 2018 TechNexion Ltd.
*
* Author: Tapani Utriainen <tapani@technexion.com>
* Richard Hu <richard.hu@technexion.com>
* Ray Chang <ray.chang@technexion.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
west build -b pico_pi_m4 remote_echo/
ERROR: Build directory "/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build" is for application "/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/samples/drivers/ipm/ipm_imx", but source directory "/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/remote_echo" was specified; please clean it, use --pristine, or use --build-dir to set another build directory
FATAL ERROR: refusing to proceed without --force due to above error
neuberfran@neuberfran2004:~/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr$ west build -p auto -b pico_pi_m4 remote_echo
-- west build: making build dir /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build pristine
-- west build: generating a build system
CMake Warning at /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/
INCLUDE(CMakeForceCompiler)
# CROSS COMPILER SETTING
SET(CMAKE_SYSTEM_NAME Generic)
CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
# THE VERSION NUMBER
SET (Tutorial_VERSION_MAJOR 1)
SET (Tutorial_VERSION_MINOR 0)
// SPDX-License-Identifier: GPL-2.0+ OR MIT
//
// Copyright 2015 Freescale Semiconductor, Inc.
// Copyright 2016 Toradex AG
#include "imx7s.dtsi"
#include <dt-bindings/reset/imx7-reset.h>
/ {
cpus {
/*
* Copyright 2018 TechNexion Ltd.
*
* Author: Tapani Utriainen <tapani@technexion.com>
* Richard Hu <richard.hu@technexion.com>
* Ray Chang <ray.chang@technexion.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.