Hi Pintu,
On 10.03.2016 16:05, PINTU KUMAR wrote:
Samsung Enterprise Portal mySingle
Hi,
Sorry, for the confusion.
Yes, I wanted to build and flash the PI2 kernel separately.
But, this common part2 image already contains TZBOOT (I guess it
contains boot loader & kernel), which I am not going to use.
Instead, I will replace it with my PI2 kernel.
I will just use the tizen-common.img image for Tizen platform and
mounting it on a new ext4 partition.
Hope, things are clear now.
I wanted to use pre-built tizen-common image and modify it for
Raspberry Pi myself.
OK. I think I understand what you are trying to do. This should work.
But in my opinion it will be a Frankenstein image so I encourage you
just to use tizen-disto with meta-tizen and meta-raspberrypi and to
build the exact image that you need from scratch. Yocto and Openembedded
are very convenient for this task.
This way I can understand, how to create new profiles.
Of course, I will also use the pre-built raspberry pi image and build
other use cases.
But, I also want to learn and understand, how to derive new profiles
from common profiles.
You should use a build system to create a proper new Tizen profile. At
the moment you can build Tizen 3 from scratch via Git Build System (GBS)
or via Yocto/OE. If you are interested in using GBS I recommend you to
check Stéphane Desneux presentation about "Creating a profile from Tizen
Common" from LinuxCon Europe 2014:
http://sched.co/1nY1SDi
Alternatively, if you are interested in creating profiles using Yocto/OE
have a look at my presentation from TDC2015 and the presentation that
Phil Coval and I made during FOSDEM2016:
http://www.slideshare.net/leonanavi/creating-new-tizen-profiles-using-the-yocto-project
http://www.slideshare.net/SamsungOSG/connected-tizen-bringing-tizen-to-your-connected-devices-using-the-yocto-project
Best regards, Leon
Thank You!
With Regards,
Pintu Kumar
------- *Original Message* -------
*Sender* : Leon Anavi<[email protected]>
*Date* : Mar 10, 2016 18:41 (GMT+05:30)
*Title* : Re: [Dev] Fwd: Re: Re: Tizen common profile porting on new h/w
Hi Pintu,
On 10.03.2016 14:49, PINTU KUMAR wrote:
Hi,
Thank you for your reply.
I think information about, building from common profile is useful and
that is what I am looking for.
I will try that. But, I want to retain the PI2 boot loader and kernel
as it is, and just create partition for Tizen platform.
I am confused. In your previous email you wrote that you "wanted to
build PI2 kernel separately".
Hope, I can do that, with the following image, and get the login
prompt on virtual terminal easily.
http://download.tizen.org/snapshots/tizen/common/latest/images/arm-wayland/common-wayland-2parts-armv7l/
I will give it a try.
Yes, in general this image should also work, especially if you are not
interested in running Wayland & Weston. But why are you insisting to
use pre-built images that are not adapted for Raspberry Pi 2?
You have a working pre-built Tizen Common image for Raspberry Pi
provided by Samsung OSG. It has a bootloader, Linux kernel and a
partition with the Tizen user space. All you need to do is to flash it
on microSD card, disable display-manager-run service (because you
don't want Weston) and you will be good to go.
About this:
>OK, this is easy. Disable systemd service display-manager-run.service
and Weston will not be launched.
Please let me know, how to disable display-manager, directly from the
SD card partition.
Is there a symbolic link, so that I can just delete it from SD card?
Yes, this is a standard behavior of systemd. If you don't want to use
"systemctl disable" you should be able remove the symbolic link
manually from the pre-built image. Check systemd documentation for
details.
Best regards, Leon
Thank You!
With Regards,
Pintu Kumar
------- *Original Message* -------
*Sender* : Leon Anavi<[email protected]>
*Date* : Mar 10, 2016 17:43 (GMT+05:30)
*Title* : Re: [Dev] Fwd: Re: Re: Tizen common profile porting on new h/w
Hi Pintu,
On 10.03.2016 12:56, PINTU KUMAR wrote:
Hi,
Thanks for your reply.
https://files.s-osg.org/tizen-on-rpi2/ [tizen.rpi-sdimg.LATEST
<https://files.s-osg.org/tizen-on-rpi2/tizen.rpi-sdimg.LATEST>]
This image I already tried, but console logs are not coming. It
directly boots to desktop UI.
Let me know how can I boot this image to console login prompt.
OK, this is easy. Disable systemd service display-manager-run.service
and Weston will not be launched.
Then configure, BT, Wi-Fi and PI2 CSI camera capture from the
command line.
Use connman for the WiFi and bluetoothctl to pair and connect to
other Bluetooth devices. Follow these guidelines and examples:
https://wiki.tizen.org/wiki/IVI/ConnMan_Tips_%26_Tricks#Networking_configuration
https://wiki.tizen.org/wiki/Bluetooth
https://wiki.tizen.org/wiki/Connecting_to_a_Smartphone_with_Bluetooth_and_Making_Phone_Calls
Also, I don't wanted to use Yocto image, because I wanted to build
PI2 kernel separately.
So, I wanted to use one of the images from: https://download.tizen.org/
Just build a kernel for Raspberry Pi 2 separately. After that replace
the existing kernel on the microSD card with the pre-installed Tizen
image provided by Samsung Open Source Group with the kernel hat you
have built.
Best regards, Leon
Thank You!
With Regards,
Pintu Kumar
------- *Original Message* -------
*Sender* : Leon Anavi<[email protected]>
*Date* : Mar 10, 2016 15:59 (GMT+05:30)
*Title* : Re: [Dev] Fwd: Re: Re: Tizen common profile porting on new h/w
Hi Pintu,
On 10.03.2016 11:57, PINTU KUMAR wrote:
Hi,
Thank you for your reply.
Right now, I am trying only on Raspberry Pi 2 hardware. For Beagle
bone may be I will try later.
Right now, I cannot use Yocto, so I am using GBS build.
Right now, I don't want to use Micro profile (as its usage is limited).
I guess, to just get a shell (login prompt) on the virtual
terminal, I don't need to modify any source code and build it.
It should work with any profile, and pre-built image I choose.
Do, I need to make any changes in systemd-services on the target
itself?
My requirement is simple:
I needed a pre-built Tizen images (any profile, either common or
mobile, either 2.4 or 3.0), that contains {rootfs.img,
system-data.img, user.img}.
So, that I can boot these images on Raspberry Pi, using the
Raspberry Pi Kernel 4.1.16, and login to the shell on virtual terminal.
Then, from the shell, I should be able to configure, Bluetooth,
Wi-Fi, and capture camera images (using PI2 CSI camera).
For that, please point me to the right pre-built images that I can
use it for booting.
Which one, should I try from the below:
1> https://download.tizen.org/ ???
2> https://download.tizen.org/snapshots/tizen/common/ ???
3> https://download.tizen.org/snapshots/tizen/mobile/latest/images/ ???
4>
https://download.tizen.org/snapshots/2.4-mobile/common/latest/images/
???
5> https://download.tizen.org/releases/2.4/2.4-mobile/latest/images/ ??
6> Any other from: https://download.tizen.org ???
As I mentioned in my previous email the right pre-built Tizen images
for Raspberry Pi 2 are provided by Samsung Open Source Group:
https://files.s-osg.org/tizen-on-rpi2/
Follow the instructions from chapter "Use the Image" of the article
below to boot successfully Tizen on your Raspberry Pi 2:
https://blogs.s-osg.org/tizen-rpi2-now-supporting-3d-acceleration/
Best regards, Leon
Thank You!
With Regards,
Pintu Kumar
------- *Original Message* -------
*Sender* : Leon Anavi<[email protected]>
*Date* : Mar 10, 2016 12:59 (GMT+05:30)
*Title* : Re: [Dev] Fwd: Re: Re: Tizen common profile porting on
new h/w
Hi Pintu,
It is great that you are interested in the porting Tizen to new
devices. Please have a look at my comments below.
On 10.03.2016 05:31, PINTU KUMAR wrote:
Hi,
I wanted to port Tizen platform in one of the ARM based open hardware such as
BeagleBone, Raspberry Pi.
So, I thought, I will start with the Tizen 3.0 common profile and create my own
custom profile.
As you have already seen Tizen 3.0 Common has been already ported
to Raspberry Pi using the Yocto Project. You can try porting Tizen
3.0 Micro or Common to BeagleBone using meta-ti:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/
On 10.03.2016 05:31, PINTU KUMAR wrote:
So, I thought, I will start with the Tizen 3.0 common profile and create my own
custom profile.
My presentation from Tizen Developer Conference 2015 provides
guidelines how to create custom Tizen profile using the Yocto Project:
http://www.slideshare.net/leonanavi/creating-new-tizen-profiles-using-the-yocto-project
On 10.03.2016 07:46, PINTU KUMAR wrote:
Dear Mr. Inki-Dae,
Thank you very much for your reply.
Yes, I am already aware about Tizen Yocto image for raspberry pi.
I have already tried it and I can boot successfully till the
desktop/display screen.
Due to the firewall restrictions (and PC space limits), I cannot
build the Yocto image.
There are two build systems for Tizen 3.0 profiles: Git Build
System (GBS) and Yocto / Openembedded. Both require a lot of disk
space and powerful hardware of the build machine. Unfortunately you
can not port Tizen properly if you are not using any of the build
systems.
So, I tried with the pre-build images, but, I am not getting any
output on the virtual terminal by connecting an HDMI to my
computer monitor (tty1).
Unfortunately, I don't have a serial UART cable right now (for
raspberry pi), so I haven't tried it yet using UART.
Have you tried the pre-build images for Raspberry Pi? They are
available here:
https://files.s-osg.org/tizen-on-rpi2/
Several months ago I have tried the pre-build Tizen Common image
for Raspberry Pi 2 and it booted fine.
Also, at this moment, I don't want the graphical display (for my
use case), so I just want to drop it to console and execute some
commands.
Moreover, I wanted to start things from scratch using the existing
Tizen images either from common profile or others.
Please let me know which image to choose.
Also, let me know, how to enable virtual console on Tizen (using
systemd?)
If you are not interested in the graphical user interface I
recommend you to use Tizen Micro profile. It was been already
ported for Raspberry Pi. In general porting Micro to new h/w is
easier than Common as it does not have GUI and you will not need to
enable Wayland/Weston. You can build Tizen Micro using the Yocto
project. More information about Tizen Micro is available here:
https://wiki.tizen.org/wiki/Tizen_Micro
Best regards, Leon
Thank You!
With Regards,
Pintu Kumar
------- *Original Message* -------
*Sender* : In-Ki Dae<[email protected]> S5/Senior
Engineer/Tizen Platform Lab./Samsung Electronics
*Date* : Mar 10, 2016 09:47 (GMT+05:30)
*Title* : Re: [Dev] Tizen common profile porting on new h/w
Hi,
2016년 03월 10일 12:31에 PINTU KUMAR 이(가) 쓴 글:
> Hi,
>
> I wanted to port Tizen platform in one of the ARM based open
hardware such as BeagleBone, Raspberry Pi.
> So, I thought, I will start with the Tizen 3.0 common profile
and create my own custom profile.
>
> But, when I see, in http://download.tizen.org/ there are so many
Tizen images available.
> I am really confused which one to choose. There is no clear
documentation which explains about it.
>
> So, I tried one of the images from:
> http://download.tizen.org/snapshots/tizen/common/
>
http://download.tizen.org/snapshots/tizen/common/latest/images/arm-wayland/
>
http://download.tizen.org/snapshots/tizen/common/latest/images/arm-wayland/common-wayland-3parts-armv7l-odroidu3/
(tizen-common_20160309.1_common-wayland-3parts-armv7l-odroidu3.tar.gz)
>
> Because, I just need the rootfs.img, system-data.img,
user.img (only the Tizen platform).
> I already have my own boot loader and Linux Kernel (Raspberry Pi).
>
> Now, my questions are as follows:
>
> 1) Am I using the correct image to create a new profile? Will it
work for me?
>
> 2) When I try to boot the image on Raspberry Pi, I am not able
to get the Login prompt on my virtual terminal (tty1).
> Please let me know what changes are required to get the
login prompt?
>
> Note: I have made the required changes in Kernel (as per Tizen)
but disabled DRM (as I am not interested in Display).
> Like, I have already enabled SMACK in kernel.
>
> 3) If I am not using the correct image, please point me to the
right image, to start with.
>
I believe below link could provide what you need for Tizen porting,
https://wiki.tizen.org/wiki/RaspberryPi
Thanks,
Inki Dae
>
>
>
> Regards,
> Pintu
> _______________________________________________
> Dev mailing list
> [email protected]
> https://lists.tizen.org/listinfo/dev
>
>
--
Leon Anavi
Software Engineer
konsulko.com
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev