All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris.Paterson2@renesas.com (Chris Paterson)
To: cip-dev@lists.cip-project.org
Subject: [cip-dev] [isar-cip-core] iwg20m: temporary patch for review
Date: Tue, 4 Jun 2019 07:05:01 +0000	[thread overview]
Message-ID: <TYAPR01MB2285186B782CB310BB133B42B7150@TYAPR01MB2285.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <20190604061412.8886-1-daniel.sangorrin@toshiba.co.jp>

Hello Daniel,

Thank you for your patch.

> From: cip-dev-bounces at lists.cip-project.org <cip-dev-bounces@lists.cip-
> project.org> On Behalf Of Daniel Sangorrin
> Sent: 04 June 2019 07:14
> 
> Signed-off-by: Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp>
> ---
>  board-iwg20m.yml                            |  16 ++
>  conf/machine/iwg20m.conf                    |  19 ++
>  recipes-kernel/linux/files/iwg20m_defconfig | 230
> ++++++++++++++++++++
>  wic/iwg20m.wks                              |  20 ++
>  4 files changed, 285 insertions(+)
>  create mode 100644 board-iwg20m.yml
>  create mode 100644 conf/machine/iwg20m.conf
>  create mode 100644 recipes-kernel/linux/files/iwg20m_defconfig
>  create mode 100644 wic/iwg20m.wks
> 

<snip>

> diff --git a/conf/machine/iwg20m.conf b/conf/machine/iwg20m.conf
> new file mode 100644
> index 0000000..3bc0c9a
> --- /dev/null
> +++ b/conf/machine/iwg20m.conf
> @@ -0,0 +1,19 @@
> +#
> +# CIP Core, generic profile
> +#
> +# Copyright (c) Toshiba corp. 2019
> +#
> +# SPDX-License-Identifier: MIT
> +#
> +DISTRO_ARCH = "armhf"
> +
> +# see wic/iwg20m.wks
> +IMAGE_TYPE = "wic-img"
> +
> +# sets serial login getty
> +MACHINE_SERIAL = "ttySC0"
> +BAUDRATE_TTY = "115200"
> +
> +# Boot partition files
> +DTB_FILE = "r8a7743-iwg20d-q7.dtb"

I wonder if it is better to use r8a7743-iwg20d-q7-dbcm-ca.dtb instead. This does the same as r8a7743-iwg20d-q7.dtb but also enables the add-on board that comes with most iwg20d kits.
The add-on board adds HDMI output, CAN bus and various SCIF interfaces.

<snip>

> diff --git a/wic/iwg20m.wks b/wic/iwg20m.wks
> new file mode 100644
> index 0000000..8e43229
> --- /dev/null
> +++ b/wic/iwg20m.wks
> @@ -0,0 +1,20 @@
> +#
> +# CIP Core, generic profile
> +#
> +# Copyright (c) Toshiba corp., 2019
> +#
> +# Authors:
> +#  Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp>
> +#
> +# SPDX-License-Identifier: MIT
> +#
> +
> +# [Note] u-boot is in an SPI flash memory and needs a JTAG debugger to re-
> flash

It is also possible to write to the SPI from Linux, but having JTAG as backup is recommended as there is no backup SPI if the write goes wrong.

Kind regards, Chris

> +
> +# SDCard Boot partition (copies files in IMAGE_BOOT_FILES)
> +part /boot --source bootimg-partition --ondisk mmcblk0 --fstype vfat --label
> boot --align 1 --size 32M --extra-space 0
> +
> +# Rootfs partition
> +part / --source rootfs --ondisk mmcblk0 --fstype ext4 --label root --align
> 1024 --size 2G --active
> +
> +bootloader --append "rootwait console=ttySC0,115200"
> --
> 2.17.1
> 
> _______________________________________________
> cip-dev mailing list
> cip-dev at lists.cip-project.org
> https://lists.cip-project.org/mailman/listinfo/cip-dev

  parent reply	other threads:[~2019-06-04  7:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-04  6:14 [cip-dev] [isar-cip-core] iwg20m: temporary patch for review Daniel Sangorrin
2019-06-04  6:19 ` Jan Kiszka
2019-06-04  7:05 ` Chris Paterson [this message]
2019-06-04  8:51   ` daniel.sangorrin at toshiba.co.jp
2019-06-04  9:17     ` Chris Paterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=TYAPR01MB2285186B782CB310BB133B42B7150@TYAPR01MB2285.jpnprd01.prod.outlook.com \
    --to=chris.paterson2@renesas.com \
    --cc=cip-dev@lists.cip-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.