cross compile you set up on x86 linux box/virtual machine on your computer and NOT on TVlbalan79 wrote:Yes.First step: I was able to get the hello world to run on the tv. But more complex applications do not compile dues to missing flag configs. I will need to set a fully functional crosscompile environment on this ubuntu and see what doesn't work.sectroyer wrote: Well one of the apps I attached is xterm So no need to compile this one Also you should start by learning about autoconf/automake and setting toolchain
Installing Ubuntu in Samsung Smart TV natively
Re: Installing Ubuntu in Samsung Smart TV natively
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
Re: Installing Ubuntu in Samsung Smart TV natively
Nothing new but just showing Ubuntu Gnome running on the HU9000 as well.
I did have some issues with resolution. But I am sure is a mode config issue. Somehow gnome doesn't cover the entire screen at higher resolutions:
PS: I did fix the /dev/pts issue by extracting the read only /dev from /dev/mmcblk0p9 and adding it to the new created image. shm of course still needs to be mounted.
I did have some issues with resolution. But I am sure is a mode config issue. Somehow gnome doesn't cover the entire screen at higher resolutions:
Code: Select all
root@(none):/# xrandr --output LVDS-1 --mode 1920x1080
root@(none):/# xrandr --output LVDS-1 --mode 1024x1080@60
root@(none):/# xrandr --output LVDS-1 --mode 1280x720@60
root@(none):/# xrandr --output LVDS-1 --mode 1920x1080@50
root@(none):/# xrandr --output LVDS-1 --mode 960x768@50
root@(none):/# xrandr --output LVDS-1 --mode 960x720@60
root@(none):/# xrandr --output LVDS-1 --mode 960x576@60
root@(none):/# xrandr --output LVDS-1 --mode 960x540@60
You do not have the required permissions to view the files attached to this post.
Re: Installing Ubuntu in Samsung Smart TV natively
Just post which commands you used so others could follow you step-by-steplbalan79 wrote: PS: I did fix the /dev/pts issue by extracting the read only /dev from /dev/mmcblk0p9 and adding it to the new created image. shm of course still needs to be mounted.
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
Re: Installing Ubuntu in Samsung Smart TV natively
Getting a proper populated /dev matching the tv read only partition.
1. Find the root partition:
2. Dump the root partition to some usb device:
3. Unmount / unplug the usb device at /detv/usb/sdb1. On a different linux box mount root.img and the previously created linux.ext4 file (I did use ext4 instead of xfs). Note: make sure you have squashfs support compiled in the kernel in order to mount root.img .
4. On the mounted linux.ext4 delete /dev
5. Copy from root.img /dev preserving permissions, dates , etc to the linux.ext4 mounted drive : cp -rp
Now you will have a populated /dev matching the read only tv boot partition.
6. Create a new folder /dev/pts
7. Plug in again the usb drive into the tv.
I see some "event" points under dtv so probably binding those under /dev might also help with mouse input.
1. Find the root partition:
Code: Select all
# cat /proc/cmdline
root=/dev/mmcblk0p9 rootfstype=squashfs console=ttyS0,115200n8 rootwait earlyprintk no_console_suspend ???????????????????? onboot=ATSC9-0006 quiet vmalloc=600M EME_BUFFINFO=0x9DF00000,256K jackpack sdp_sparsemem
Code: Select all
dd if=/dev/mmcblk0p9 of=/dtv/usb/sdb1/root.img
4. On the mounted linux.ext4 delete /dev
5. Copy from root.img /dev preserving permissions, dates , etc to the linux.ext4 mounted drive : cp -rp
Now you will have a populated /dev matching the read only tv boot partition.
6. Create a new folder /dev/pts
7. Plug in again the usb drive into the tv.
Code: Select all
mount -o bind /dtv/pts [place where you mounted linux.ext4 on the tv]/dev/pts
mount -o bind /dev/shm [place where you mounted linux.ext4 on the tv]/dev/shm
Re: Installing Ubuntu in Samsung Smart TV natively
BTW I think you could safely create in chroot /dtv/pts/ Just use our libc
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
Re: Installing Ubuntu in Samsung Smart TV natively
This is a very good result. are there any updates? would be great to get that working as well on my h-series tv.
regards,
astrakid
regards,
astrakid
Re: Installing Ubuntu in Samsung Smart TV natively
hu8200 works
i have mouse and keyboard with unifying receiver and works like advanced touch remote, but in chrooted ubuntu works only mouse. i created few different nodes for keyboard, and does't work.
important!!! after "apt-get update" does not do an upgrade or dist-upgrade. it breaks python.
when I find the time, i'll try crosscompile gentoo arm /i'ts my favourite linux/
good tutorial, but gnome working very slow. i need to try different window manager
i have mouse and keyboard with unifying receiver and works like advanced touch remote, but in chrooted ubuntu works only mouse. i created few different nodes for keyboard, and does't work.
important!!! after "apt-get update" does not do an upgrade or dist-upgrade. it breaks python.
when I find the time, i'll try crosscompile gentoo arm /i'ts my favourite linux/
Code: Select all
# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 1988.60
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1
processor : 1
model name : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 1988.60
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1
processor : 2
model name : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 1988.60
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1
processor : 3
model name : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 1988.60
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1
Hardware : Novatek-Cortex A9
Revision : 0000
Serial : 0000000000000000
Re: Installing Ubuntu in Samsung Smart TV natively
Post full tutorial on how did you get ubuntu running on H Few people asked about it
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
Re: Installing Ubuntu in Samsung Smart TV natively
Yes he is right , so please please make a tutsectroyer wrote:Post full tutorial on how did you get ubuntu running on H Few people asked about it
Re: Installing Ubuntu in Samsung Smart TV natively
I've done everything like in tutorial on first page.
i don't know if its important, but i copied /dev from tv. if you want to do this you need to have other Linux with squashfs support in kernel
viewtopic.php?f=49&t=7898&start=50#p72990
on linux:
format pendrive to ext4. you can try with ext2 from tv
copy dev.tar.bz to tv "/mnt/core"
before chroot edit apt sources.list (lines like in tutorial)
when finish, on other session telnet or ssh, copy two pango files and change paths inside
now back to chrooted environment. you can add user "useradd xxxxx" or execute immediately one of the commands (ctrl+c terminate):
IMPORTANT!!! DO NOT UPGRADE "apt-get upgrade, apt-get dist-upgrade".
IT BREAKS PYTHON LIBRARY. I TRIED 3 TIMES
also tried other version with hf but without success "Illegal instruction"
i don't know if its important, but i copied /dev from tv. if you want to do this you need to have other Linux with squashfs support in kernel
viewtopic.php?f=49&t=7898&start=50#p72990
Code: Select all
# cat /proc/cmdline
console=tty1,115200 earlyprintk maxcpus=4 no_console_suspend quiet root=/dev/mmcblk0p7 rootfstype=squashfs mem=584M@68M mem=610M@2462M ???????????????????? ONBOOT:1007 ????
dd if=/dev/mmcblk0p7 of=/dtv/usb/sdXX/p7.img
Code: Select all
mount -o loop /home/p7.img /mnt/img
cd /mnt/img
tar -cvpf dev dev.tar.bz
Code: Select all
mkfs.ext4 -L exceria -m 0 /dev/sdXX
Code: Select all
mkdir /mnt/core
mount /dev/sdXX /mnt/core
cd /mnt/core
wget http://old-releases.ubuntu.com/releases/ubuntu-core/releases/12.04/release/ubuntu-core-12.04-core-armel.tar.gz
tar -xvpf ubuntu-core-12.04-core-armel.tar.gz
rm ubuntu-core-12.04-core-armel.tar.gz
tar -xvpf dev.tar.bz --overwrite --overwrite-dir
rm dev.tar.bz
cp /etc/resolv.conf /mnt/core/etc/resolv.conf
cp /etc/hosts /mnt/core/etc/hosts
cp /etc/HOSTNAME /mnt/core/etc/hostname
Code: Select all
nano -w /mnt/core/etc/apt/sources.list
deb http://ports.ubuntu.com/ubuntu-ports/ precise main universe multiverse restricted
deb http://ports.ubuntu.com/ubuntu-ports/ precise-security main restricted
deb http://ports.ubuntu.com/ubuntu-ports/ precise-updates main restricted
chroot /mnt/core /bin/bash
hostname localhost
mount -t sysfs sysfs /sys
mount -t proc proc /proc
mount -t usbfs none /proc/bus/usb
mount -t devpts devpts /dev/pts
export LD_LIBRARY_PATH=""
export HOME="/root"
export TMPDIR="/tmp"
export FONTCONFIG_FILE="/etc/fonts/fonts.conf"
export FONTCONFIG_PATH="/etc/fonts"
export PANGO_RC_FILE="/usr/lib/arm-linux-gnueabi/pango/pangorc"
apt-get update
dpkg-divert --local --rename --add /sbin/initctl
ln -s /bin/true /sbin/initctl
apt-get install dialog apt-utils
apt-get install vim-tiny sudo ssh net-tools ethtool wireless-tools network-manager iputils-ping rsyslog alsa-utils
apt-get install gnome-session-fallback
Code: Select all
cp /mtd_exe/Runtime/pango/pango.modules /mnt/core/usr/lib/arm-linux-gnueabi/pango/
cp /mtd_exe/Runtime/pango/pangorc /mnt/core/usr/lib/arm-linux-gnueabi/pango/
Code: Select all
pangorc:
ModuleFiles = /usr/lib/arm-linux-gnueabi/pango/pango.modules
pango modules: (1 line for example)
/usr/lib/arm-linux-gnueabi/pango/1.6.0/modules/pango-arabic-lang.so ArabicScriptEngineLang PangoEngineLang PangoRenderNone arabic:*
Code: Select all
firefox forum.samy.go --dislpay=:0
gnome-session --dislpay=:0
gnome-session-fallback
IT BREAKS PYTHON LIBRARY. I TRIED 3 TIMES
also tried other version with hf but without success "Illegal instruction"
You do not have the required permissions to view the files attached to this post.