Thread (30 messages) 30 messages, 5 authors, 2018-03-29

[cip-dev] B@D: iwg20m support

From: Daniel Sangorrin <hidden>
Date: 2018-01-09 23:55:05

Dear Trung san,
-----Original Message-----
From: Trung. Huynh [mailto:trung.huynh.uw at rvc.renesas.com]
Sent: Tuesday, January 09, 2018 7:41 PM
Dear Daniel,

Yes, I tried it and working well, but I want to custom some devices under kernel layer to execute our test cases as well as packing
some dependencies
To do that I must expand file system that why I got this issue.
Please could you read my e-mail  and answer my question about your plan?. 

Thanks,
Daniel
-----Original Message-----
From: Daniel Sangorrin [mailto:daniel.sangorrin at toshiba.co.jp]
Sent: Tuesday, January 9, 2018 3:41 PM
To: Trung. Huynh <redacted>
Cc: cip-dev at lists.cip-project.org; O365-Chan Duc. Vu <redacted>; O365-Minh Thuy Dinh. Tran
[off-list ref]; O365-Anh The. Tran [off-list ref]; Binh Thanh. Nguyen
[off-list ref]; O365-Yoshinori Kaneko [off-list ref]; O365-Yasushi Onishi
[off-list ref]
Subject: RE: [cip-dev] B at D: iwg20m support

Dear Trung san,

First of all, please could you give me some feedback about the LAVA configuration files and AWS links that I sent to the list before
holidays?. Did you try them and did they work for you?.

See my answers below.
quoted
-----Original Message-----
From: Trung. Huynh [mailto:trung.huynh.uw at rvc.renesas.com]
Sent: Tuesday, January 02, 2018 6:37 PM
To: Daniel Sangorrin
Cc: cip-dev at lists.cip-project.org; O365-Chan Duc. Vu; O365-Minh Thuy
Dinh. Tran; O365-Anh The. Tran; Binh Thanh. Nguyen; O365- Yoshinori
Kaneko; O365-Yasushi Onishi
Subject: RE: [cip-dev] B at D: iwg20m support

Dear Daniel,

One important thing is how big is root fs size get maximal? Is it limited?
Your configuration on iwg20m is to assign 8 ramdisks with enlargement of each block 100MB approx:

CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=8
CONFIG_BLK_DEV_RAM_SIZE=102400
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT2=y
CONFIG_USB_XHCI_RCAR=n
Currently, "my configuration" is just the mainstream shmobile_defconfig (as suggested by Chris if I remember correctly). If you need
to change the default configuration on cip-core upstream, please send me a defconfig (make savedefconfig) or a list of configuration
options that should be added to shmobile_defconfig. However, in this case I think those options are very dependent on what you are
putting on your filesystem so it might be a better idea if you create your own private branch and change the configuration as you need.

If you actually plan to submit the tests/dependencies to cip-core then adding those config options to cip-core would actually make
sense. Is this your plan?
quoted
If we try to test more function as our wish (more dependencies in ramdisk), assuming that the root fs size could be 150MB.
For G1M 1GB of RAM, just increase CONFIG_BLK_DEV_RAM_SIZE to 250000 and reduce CONFIG_BLK_DEV_RAM_COUNT to 4
iWave.

By the way, you might also need to modify the u-boot settings so that the ramdisk does not overlap with the kernel or the device tree.
And the LAVA configuration files.

Thanks,
Daniel

quoted
-----Original Message-----
From: cip-dev-bounces at lists.cip-project.org
[mailto:cip-dev-bounces at lists.cip-project.org] On Behalf Of Daniel
Sangorrin
Sent: Tuesday, December 19, 2017 8:40 AM
To: 'Daniel Wagner' <redacted>
Cc: cip-dev at lists.cip-project.org
Subject: Re: [cip-dev] B at D: iwg20m support

Dear Daniel Wagner,
quoted
-----Original Message-----
From: Daniel Wagner [mailto:daniel.wagner at siemens.com]
Sent: Monday, December 18, 2017 8:36 PM
To: Daniel Sangorrin
Cc: cip-dev at lists.cip-project.org
Subject: Re: [cip-dev] B at D: iwg20m support

Hi Daniel,

On 12/14/2017 06:57 AM, Daniel Sangorrin wrote:
quoted
Hi Trung-san, Robert and all

I received the AWS credentials from Agustin and uploaded the
cip-core binaries for the Renesas iwg20m board.

https://s3-us-west-2.amazonaws.com/download.cip-project.org/cip-co
re /iwg20m/core-image-minimal-iwg20m.cpio.gz
https://s3-us-west-2.amazonaws.com/download.cip-project.org/cip-co
re
/iwg20m/r8a7743-iwg20d-q7.dtb
https://s3-us-west-2.amazonaws.com/download.cip-project.org/cip-co
re
/iwg20m/uImage
Just out of curiosity: how did you build the root fs? The naming
indicates that you used Yocto. I am still setting up my test
environment for rt testing and wrote two kas files to create me a root fs:

https://github.com/igaw/cip-rt-misc/blob/master/docs/kas-bbb.yml
https://github.com/igaw/cip-rt-misc/blob/master/docs/kas-minnowboard
.y
ml

They are not self contained yet. Will fixed that right now. The idea
that you can write

	kas build kas-bbb.yml

and you get a root fs for testing.
The CIP Core rootfs was built using Deby (poky build system +
meta-debian). You can see a tutorial in the CIP wiki and a more up-to- date README and kas file in the source code.

https://wiki.linuxfoundation.org/civilinfrastructureplatform/cip-core-
quickstart
https://gitlab.com/cip-project/cip-core/blob/master/deby/poky/meta-cip
-iwg20m/README.IWG20M.txt
https://gitlab.com/cip-project/cip-core/blob/master/deby/poky/meta-cip
-iwg20m/kas-iwg20m.yml

An overview of the CIP Core is here:
https://wiki.linuxfoundation.org/civilinfrastructureplatform/cip-core
https://gitlab.com/cip-project/cip-core/blob/master/deby/README.md

For the BBB please check this other Readme and kas file:
https://gitlab.com/cip-project/cip-core/blob/master/deby/poky/meta-cip
-bbb/README.BBB.txt
https://gitlab.com/cip-project/cip-core/blob/master/deby/poky/meta-cip
-bbb/kas-bbb.yml

You can add the packages "openssh nfs-utils rt-tests strace procps", they are available in meta-debian.

Unfortunately, you cannot simply add "meta-qt5" because it may
conflict with meta-debian. Instead you would need to use meta- debian qt5 recipes (only if you really need qt5 for testing RT).

Thanks,
Daniel Sangorrin






_______________________________________________
cip-dev mailing list
cip-dev at lists.cip-project.org
https://lists.cip-project.org/mailman/listinfo/cip-dev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help