mobile version linux, last world news, last security news, last net4me news. all net 4me!
next
 
time

net4me logo

linux commands
shell script
protocol
ip, tcp, smtp, ntp, ftp
telnet terminal
java and javascript
ajax web technology
documentation
howto, man, info
cisco in network
linux server
linux in home
online utility
and more more more.
python development
туе4ьу дштгч

tux

  Содержание подраздела:

nokia 810 scratchbox SDK установка

Никогда ни с чем таким не сталкивался.
Поэтому в SDK я полный ламер.
Почему я за это взялся:
Поставил на nokia 810 mplayer понял, что его мне вполне достаточно.
И умудрился снести со своей нокии 810 mediaplayer со всеми вытекающими последствиями (нет браузера, нет менеджера фалов и т.п.)
Можно было, конечно, заново поставить OS2008, но захотелось поэкспериментировать, раз уж всё-равно перепрошивать.

Итак, что у меня стоит на большом компе:
Kubuntu 7.10
$ uname -a
Linux r7 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
Т.е. всё стандартное "из коробки" и даже ядро не перебиралось.

1. Зашел на http://maemo.org/development/sdks/maemo_4_0_1_chinook_sdk/
Прочитал.
# Release Notes for maemo 4.0.1
# INSTALL.txt
Что-то понял, что-то нет.

2. Создал директорию develop

3. "Сохранил как" два скрипта в этот каталог (develop)
# SDK installer script
# Scratchbox Installer script

4.
$ cd ~/develop/
$ ls
maemo-scratchbox-install_4.0.1.sh
maemo-sdk-install_4.0.1.sh
Ну вроде я что-то слышал про скрэтчбокс. Поэтому начну с него.

SCRATCHBOX
--------------------------

$ chmod +x maemo-scratchbox-install_4.0.1.sh
$ sudo ./maemo-scratchbox-install_4.0.1.sh -d
Пошло скачиваться и ставиться.
$ ll /
Появился каталог scratchbox в корне моего большого компа.
$ ls -la /scratchbox/
total 84
drwxr-xr-x 14 root root  4096 2008-04-28 13:51 .
drwxr-xr-x 22 root root  4096 2008-04-28 13:51 ..
drwxrwsr-x  2 root sbox  4096 2008-04-28 13:51 ccache
drwxr-xr-x  6 root root  4096 2008-04-28 13:51 compilers
drwxr-xr-x 12 root root 20480 2008-04-28 13:51 dev
drwxr-xr-x  6 root root  4096 2008-04-28 13:51 device_tools
drwxr-xr-x 10 root root  4096 2008-04-28 13:51 devkits
drwxr-xr-x  2 root root  4096 2008-04-28 13:51 doc
drwxr-xr-x  6 root root  4096 2008-04-28 13:51 etc
drwxr-xr-x  4 root root  4096 2008-04-28 13:51 host_shared
-rwxr-xr--  1 root sbox  7041 2007-08-01 16:01 login
drwxr-xr-x  3 root root  4096 2008-04-28 13:51 packages
-rw-r--r--  1 root root     5 2008-04-28 13:51 .run_me_first_done
drwxr-xr-x  2 root root  4096 2008-04-28 13:51 sbin
drwxr-xr-x 11 root root  4096 2008-04-28 13:51 tools
drwxr-xr-x  2 root root  4096 2008-04-28 13:51 users

Хм.. Может надо было чрутить?
Ну да ладно. Идем дальше.

В конце отработки скрипта было написано:

Installation was successful!
----------------------------

You now have Scratchbox 1.0.8 'apophis' release installed.

Scratchbox cannot be run as user root. Instead, use your normal login
user account. Add additional scratchbox users and sandboxes with the
following command (outside scratchbox with root permissions):

        # /scratchbox/sbin/sbox_adduser USER yes

Running this command will create sandbox environment for that user and
add user to the 'sbox' scratchbox user group.
You will need to start a new login terminal after being added to the
'sbox' group for group membership to be effective.

Login to scratchbox session using the following command (as user):

        $ /scratchbox/login

Refer to scratchbox.org documentation for more information re scratchbox:
http://scratchbox.org/documentation/user/scratchbox-1.0/

поэтому набираю
$ sudo /scratchbox/sbin/sbox_adduser ИМЯ_ЮЗЕРА_НА_БОЛЬШОМ_КОМПЕ yes
[sudo] password for *****:
Adding user `ИМЯ_ЮЗЕРА_НА_БОЛЬШОМ_КОМПЕ' to group `sbox' ...
Done.
Scratchbox user account for user ИМЯ_ЮЗЕРА_НА_БОЛЬШОМ_КОМПЕ added

Зашибись. Добавлено. Пересмотрим наши группы:
$ newgrp sbox
$ groups
И вижу, что списке моих груп появилась группа sbox
скрэтчбокс поставили, юзеров и группы настроили. Вроде пока с первым скриптом всё.

Едем дальше.

5. SDK.
------------------------------

$ chmod +x maemo-sdk-install_4.0.1.sh

Упс. Какая-то менюшка с выбором чего-то...
Ну ка посмотрю в http://tablets-dev.nokia.com/4.0.1/INSTALL.txt
Чем эти установки отличаются...
Так. По моему, мне вполне хватит того, что стоит по дефолту т.е. третий пункт.
* Runtime Environment + All Dev Packages.
Choose this to get a full development environment.
Так. Опять что-то спрашивают...
Ага. Бинарники от нокии предлагают... Ну давай бинарники тоже.
Так чего-то написали:

Installation about to begin with following settings:

│ Installed component: maemo-sdk-dev
│ Install free components only: no
│ X86 target name: CHINOOK_X86
│ Armel target name: CHINOOK_ARMEL
│ Overwrite existing targets: no
│ Proxy server:
│ Alternative sources.list:

Ну давлю "continue".

Скачивается. Ставится. Так лицензия. Читаем. Ага это про бинарники нокиа. Угу.
Прочитали.
Написали что согласны.
Пошла установка...
Уууу... Это на долго....
Не прошло и получаса.
Installation was successful!
----------------------------

IMPORTANT! Please read this.

You now have the maemo 4.0.1 chinook installed on your computer.
You can now start your maemo SDK session with /scratchbox/login and
then select your target with 'sb-conf select CHINOOK_ARMEL' for the
armel target or 'sb-conf select CHINOOK_X86' for the i386 target.

If you have any problems with targets' package databases, you can try
running 'fakeroot apt-get -f install' on your scratchbox target.
This command will try to fix any problems with the package database.


Nokia EUSA binaries
-------------------

The package maemo-explicit is a metapackage of Nokia EUSA licensed
binaries which can be installed to scratchbox targets. It is highly
recommended to install this package on both targets to ensure a fully
working system.

If you want to install these, login to scratchbox (see commands above)
and run the command 'fakeroot apt-get install maemo-explicit' for both
armel (CHINOOK_ARMEL) and i386 (CHINOOK_X86) targets.

Happy hacking!

6. Апдейт и апгрейд:
$ /scratchbox/login
Залогинились. Теперь правим сетевые настройки для апдейта SDK:
[sbox-CHINOOK_ARMEL: ~] > vim /etc/resolv.conf
nameserver пишу_DNS_сервер_с_большого_компа
:wq
Апдейт списков:
[sbox-CHINOOK_ARMEL: ~] > apt-get update
Апгрейд всех пакетов:
[sbox-CHINOOK_ARMEL: ~] > apt-get dist-upgrade
Хм... На этот раз быстренько. =)

7. X SERVER:
В другом терминале ставлю на большую машину xephyr:
$ sudo apt-get install xserver-xephyr
Setting up xserver-xephyr (2:1.3.0.0.dfsg-12ubuntu8.3) ...
В том же НЕ SDK терминале тестим:
$ Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac
Чтой-то запустилось. Ок. Но не закрываем.
Попробуем теперь туда что-нить вывести...

8. Старт:
В терминале скрэтчбокса:
[sbox-CHINOOK_ARMEL: ~] > export DISPLAY=:2
[sbox-CHINOOK_ARMEL: ~] > af-sb-init.sh start
Заработала!!! =))))

На сегодня мне достаточно. Завтра продолжу ковыряться.


maemo SDK 810

Tags: , , ,

home back top
При копировании материалов нашего портала, сылка на net4me обязательна.
Рейтинг@Mail.ru   Rambler's Top100   Valid HTML 4.01 Transitional  

 



...

net4me snowflake
 
net4me portal This page last modified: Friday, May 21, 2010   be in net. net4me

portal net4me linux education center

Network to the internet. Open source laboratory must have Linux online services on net4me portal. web develop and information about OpenSource creation project in net. Example of javascript code is wonderful. Download software and drivers for Linux Geeks on net4me and have fun!
Microsoft’s marketing team considers ridiculously skewed charts to be a killer weapon in the war on competitors, so it’s only natural that they’d provide retail store employees with a surreal “comparison” between Windows 7 and Linux to explain for customers.
The chart is part of an ExpertZone training course provided by Microsoft to retail employees at stores like Best Buy. After the training, the employees are expected to be able to better explain the merits of software like the soon-to-launch Windows 7. Microsoft felt it necessary, however, to specifically compare Windows 7 to Linux—something we usually save for the particularly emotional commenters.
In this case, though, it has to be pointed out that Linux can and does play “the games your customers want”, specifically the World of Warcraft (wow) example mentioned, through the WINE project, and the idea that Linux has compatibility with “few” cameras, iPods, MP3 players, printers and scanners is definitely a stretch of a justification for a stark comparison. Linux, in fact, keeps legacy support intact for many of the printers, scanners, and other devices that Windows Vista and 7 have left behind, and generally supports models from the major manufacturers.
Video chat on “all major IM networks” just got better on Linux moemo, actually, with the release of Pidgin 2.6, and the lack of access to Windows Live Essentials has likely not caused many a netbook owner to make a red-faced return trip.
All that is not to say that a Linux machine, presumably a netbook in this case, is the best choice for any computer user not interested in configuring his machine a little if they’re looking for app use beyond basic web surfing and document access. Let’s hear your take on Microsoft’s talking points in the comments on net4me.

After releasing with much fanfare 20,000 lines of driver code under the GNU General Public License (GPL) for inclusion in the Linux kernel, Microsoft hasn’t followed through with the necessary updates and fixes required by the community, according to one Linux leader on net4me.
Greg Kroah-Hartman, a Novell fellow with SuSE Labs and Linux Driver Project lead, posted on September 9 a status update on the drivers being assembled for inclusion in the Linux 2.6.32 kernel, Kroah-Hartman had some harsh words about Microsoft’s participation since its original announcement of its GPL plans in late July.
Поток знания поможет определить поисковикам пользу для бизнеса от web-сервисов и скачать эту страницу на первые места download рейтингов.
Маркетинг и сеть. Разве может менеджер в галстуке продавать сеть? Сеть для сетевиков в джинсах и свитере. Это же ошибка. Почти как microsoft windows 7 в своей бете.
Сеть в интернет. Любая Open Source лаборатория должна иметь онлайн linux сервисы на портале net4me. Примеры скриптов и подробная документация по фофч, то есть ajax, помогут программистам в разработке web страниц и software не только в линукс, но и в windows. И даже простой сисадмин сможет научиться как правильно сделать javascript сайт и написать правильный скрипт bash или программу python на сервер в сети.
Даже обжим провода с названием витуха станет доступен простым языком войны. А про обжим розетки под rj45 и говорить нечего! Всё описание сетевых протоколов и консольных команд линукса тут, net 4 me рулит! Настройка роутера как и любого сервера под линуксом связана с конфигами. Править конфиг удобно в linux редакторе vim.
В общем, net4me это подробное описание как провести время хорошо и с пользой для знаний. Онлайн игры, wow и война в наши дни тут не уместны. Net это значит сеть. Сеть для меня. Именно так можно перевести название net4me.

В продолжение статьи о бизнесе и раскрутке сайтов посредством добавления букв и цифр на сравнительные страницы сайта о сетях, хочется сказать:
Раскрутить страницу благодаря справочнику net4me может каждый. Надо только захотеть. А вот построить сеть на основе витой пары, даже зная раскладку кабеля по цветам, дано не каждому программисту без умения обжать витуху.

Английский в плане оптимизации сайтов для поисковых систем конечно удобнее. Там нет падежей и склонений. И это не бред. Это долбанный SEO не по GPL. Интересно, кому это надо? Зачем заставлять людей писать, а со временем и даже думать SEO фразами и готовыми шаблонами для поисковиков? Неужели пришла пора и понятие "люди для машин" уже более актуально, нежели "машины для людей"? =((

Ладно. Оставим как есть. И заменим импортный бред про майкрософт и линукс нашим отечественного производства. Ой! Забыл про games, download driver и про туе4ьу is net4me сказать! =)) Ошибка которую можно и нужно исправить.
Найдется команда и пример на все случаи жизни в линукс и подробное описание любой команды простым языком.
И даже утилита из pdf 2 tf2 > pdf2fb2 utilites for moemo docs окажется здесь. Driver code under the GNU General Public License (GPL) for inclusion (install) in the Linux kernel as nvidia not nv.