Archive

Archive for the ‘dica’ Category

Debian: Install Java 6 - JDK JRE (Yes!! Tutorial about Java AGAIN!! :P )

I found a good tutorial to install Java under Ubuntu and I followed the steps under Debian. And it works.

Reference : http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/

The main steps are ->

Install the Java:

sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk

Setting up:

sudo update-java-alternatives -s java-6-sun
Insert  “/usr/lib/jvm/java-6-sun” in the of /etc/jvm using a text editor.
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export PATH=$PATH:$JAVA_HOME/bin

Testing:

java –version

Create HelloWorld.java ->

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}

javac HelloWorld.java
java HelloWorld

That’s it!!

Categories: debian, dica Tags:

N810: 3 OS and 1 DEVICE (Mamona/Maemo/Debian)

I have a N810 and 3 OS in the same device.

Now you will ask me : How?

The answer is below:

1 - Move your Maemo to the MMC internal

* Advantage : you will have more space.

Steps:  http://maemo.org/community/wiki/HowTo_EASILY_Boot_From_MMC_card/

Now you have the Maemo in the internal MMC.

2 -  Flash Mamona in your flash memory

* Advantage: Nowadays Mamona distro is good for developers. ;)

Steps:  http://dev.openbossa.org/trac/mamona/wiki/Releases/0.1/RunningMamona

3 - Debian XFCE in external MMC

* Advantage:  Debian rocks !! :P

You should partition your MicroSD in 2 parts:

- partition 1 - 100MB - fat32

- partition 2 - ALL THE REST - ext2

Download the Debian rootfs

wget  http://debian.i2c3.com/debian-armel-n800-xfce-beta3.tar.bz2

Untar the Debian rootfs in the second partition:

tar -xvjf  debian-armel-n800-xfce-beta3.tar.bz2

Boot using your external MMC.

That’s all!!

Categories: debian, dica, maemo, mamona, planet_maemo Tags:

Debian: using chroot ubuntu

Download Ubuntu debootstrap:

http://archive.ubuntu.com/ubuntu/pool/main/d/debootstrap/debootstrap_1.0.9~hardy1_all.deb

Install Ubuntu debootstrap:

sudo dpkg -i debootstrap_1.0.9~hardy1_all.deb

Download Ubuntu rootfs using debootstrap:

sudo debootstrap –variant=buildd –arch i386 hardy /var/chroot/hardy http://archive.ubuntu.com/ubuntu/

Copy the sources.list:

 sudo editor /var/chroot/hardy/etc/apt/sources.list # copy and paste the text below

# ——— START HERE
#
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080422.2)]/ hardy main restricted

#deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080422.2)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://br.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://br.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy universe
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://br.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the ‘backports’
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://br.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
# ——— FINISH HERE

Define DNS server :

sudo cp /etc/resolv.conf /var/chroot/hardy/etc/resolv.conf

Chrooting to your ubuntu:

 sudo chroot /var/chroot/hardy

Update and some configurations:


apt-get update
apt-get install wget debconf devscripts gnupg nano #For package-building
apt-get update #clean the gpg error message
apt-get install locales dialog #If you don’t talk en_US
locale-gen en_GB.UTF-8 # or your preferred locale
tzselect; TZ=’Continent/Country’; export TZ #Configure and use our local time instead of UTC; save in .profile
exit
echo “export LANG=C” >> ~/.bashrc # if you don’t want locale warnings

Reinstall Debia debootstrap:


sudo apt-get install –reinstall debootstrap

reference: https://wiki.ubuntu.com/DebootstrapChroot

Categories: debian, dica Tags:

Debian wireless Thinkpad X60s (ipw3945 -> iwl3945)

Na última atualização do Debian Lenny houve uma mudança importante. O suporte a placa wireless passa a vir no kernel 2.6.24, portanto não é mais necessário compilar o modulo separadamente(sudo m-a ipw3945).

$ lspci | grep Wireless
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
Para que a placa de wireless funcione basta carregar o modulo iwl3945.

modprobe -r iwl3945
modprobe iwl3945

Para o modulo ser carregado durante o boot. Basta editar:

sudo vim /etc/modules

Adicionar ao final do arquivo:

iwl3945

No modo antigo era necessaria a utilização de firmware.

ipw3945-source - Source for the Intel Wireless 3945ABG (ipw3945) driver
firmware-ipw3945 - Binary firmware for Intel Wireless 3945 (old style)

Reference and english information.

Abraço,
Alecrim

Categories: debian, dica Tags:

debian/ubuntu : firefox : plugin java

Olá pessoal,

Este tutorial é para minha irmã que está em casa com o ubuntu instalado e não sabe muito de linux. ;) Beijaum Karine!!!

Abrindo o terminal:

pressione (alt+f2) e digite “gnome-terminal” no janela que vai aparecer um terminal

Virando super-usuário:

Existem duas opções:

digite “su -” e quando ele perguntar a senha coloque a senha de root.

ou

digite “sudo su -” e quando ele perguntar a senha coloque a senha de root.

se o final do seu prompt mudou de “$” para “#”, então deu certo.

Instalando java:

digite “apt-get install sun-java5-jre sun-java5-fonts sun-java5-plugin”

ele deve fazer algumas perguntas sobre licença e você deve responder “yes”

update-java-alternatives –set java-1.5.0-sun

Feche o navegador e abra novamente.

Você pode testar o seu java plugin no site oficial da sun:

http://java.com/en/download/help/testvm.xml

Ou em um camera localizado na frente do nosso apartamento em Espoo/Finlandia. :)

http://webcam.jellona.net/en/JViewer.html

Categories: debian, dica Tags:

debian: configurando timweb

Algumas vezes utilizo o TimWeb para navegar e segui o tutorial disponível no wiki do ubuntu para configuração.

http://wiki.ubuntubrasil.org/TimWeb

Funciona perfeitamente no Debian.

Abaixou copiei o tutorial para ter um backup online.

Flw

“”"
- Não conecte o modem ainda
- wget http://sfair.org/public/files/huawei.out
- chmod +x huawei.out
- conecte o modem
- sudo ./huawei.out
- ls -la /dev/*USB*
- sudo touch /etc/wvdial.conf
- sudo gedit /etc/wvdial.conf

      [Dialer Defaults]      Modem = /dev/ttyUSB0      Baud = 3600000      Init1 = ATZ      Init2 = ATQ0 V1 E1 S0=0 &C1 &D2      Init3 =      Area Code =      Phone = *99#      Username = ppp      Password = ppp      Ask Password = 0      Dial Command = ATDT      Stupid Mode = 1      Compuserve = 0      Force Address =      Idle Seconds = 0      DialMessage1 =      DialMessage2 =      ISDN = 0      Auto DNS = 1

- sudo wvdial
- caso não navegue, tente novamente

“”"

retirado de http://wiki.ubuntubrasil.org/TimWeb

Categories: debian, dica Tags:

Debian: Impressora: configurando Xerox Phaser 7760 GX


Debian: Impressora: configurando 7760 GX
——

Olá pessoal,
Aqui no meu trabalho tem algumas/várias impressoras espalhadas e escolhi um para configurar no Debian/Lenny.

Na minha opinião o configurador padrão do Gnome não é tão bom, por isto estou utilizando um outro configurador.

system-config-printer - printer configuration GUI

# apt-get install cupsys system-config-printer

Baixar drivers para impressoras Xeror no Linux

http://www.support.xerox.com/go/results.asp?Xtype=download&prodID=4500&Xlang=en_US&Xcntry=USA&source=XOG&prodName=Phaser%204500

Descompactar em área conhecida

tar -xvzf LinuxCupsPrinterPkg.tar.gz

Abrir o aplicativo

$ system-config-printer

tela 1 - Clique em New printer –>

tela 2 - Coloque o nome da impressora e clique em avancar –>

tela 3 - Selecione a impressora e clique em avançar –>

tela 4, 5 e 6- Selecione “Provide PPD file”, selecione drivers referente a impressora e clique em avançar –>

tela 7 - Confirmar criação de impressora –>

tela 8 - inserir senha de root–>

tela 9 - Printer1 pronta para imprimir–>

Abra o Gedit e teste um impressão qualquer.

PS: Configurar impressara Xeror Phaser 4500 é o mesmo princípio.

Flw

Categories: debian, dica Tags:

customizing fluxbox


Hi all,

Recently I changed my desktop manager from Gnome to Fluxbox.

Good bye Gnome!!! Welcome Fluxbox!!

The reasons:
* lightweight
**working with kernel development and using a laptop, it’s really important.

* Highly configurable
**after many years, my gnome was very customized and the shortcuts are very familiar.

Below I describe the main steps.

Install and start fluxbox.

$ sudo apt-get install fluxbox

The first contact with fluxbox is really hard and the most difficult part is configure the shortlkeys.

==== Keys(~/.fluxbox/keys)====

# Created by Francisco Alecrim # Based on: http://darkshed.net/files/rcs/fluxbox/keys.html# Syntax :  [ ] key [key key] :command 

# HELPING YOU# Mod1 = Tab# Mod4 = SuperKey(AKA window key)

# Mouse optionsOnDesktop Mouse1 :HideMenusOnDesktop Mouse2 :WorkspaceMenuOnDesktop Mouse3 :RootMenu#OnDesktop Mouse4 :NextWorkspace#OnDesktop Mouse5 :PrevWorkspace

################################## Application switch + operation#################################

Mod1 F1 :RootMenuMod1 F2 :ExecCommand fbrunMod1 F4 :CloseMod1 F5 :MinimizeMod1 F10 :MaximizeF11 :MaximizeMod1 Tab :NextWindowMod1 Shift Tab :PrevWindowShift Control Mod1 Right :TakeToNextWorkspace 1Shift Control Mod1 Left :TakeToPrevWorkspace 1

Shift Mod1 Left           :MoveTo 0 * LeftShift Mod1 Right          :MoveTo 0 * RightShift Mod1 Up             :MoveTo * 0 UpperShift Mod1 Down           :MoveTo * 0 LowerShift Mod1 1            :SetHead 1Shift Mod1 2            :SetHead 2

# Workspace switchControl Mod1 Right :NextWorkspaceControl Mod1 Left :PrevWorkspace

# Applicartion LauncherF1 :ExecCommand gnome-terminalF2 :ExecCommand xfeControl Mod1 x :ExecCommand xmmsControl Mod1 g :ExecCommand gaimControl Mod1 f :ExecCommand firefoxControl Mod1 t :ExecCommand thunderbirdControl Mod1 l :ExecCommand xlock

# XMMS keysMod4 z :ExecCommand xmms -rMod4 x :ExecCommand xmms -pMod4 c :ExecCommand xmms -uMod4 v :ExecCommand xmms -sMod4 b :ExecCommand xmms -f

#Mod1 Tab :NextWindow#Mod1 Shift Tab :PrevWindow#Mod1 F1 :Workspace 1#Mod1 F2 :Workspace 2#Mod1 F3 :Workspace 3#Mod1 F4 :Workspace 4#Mod1 F5 :Workspace 5#Mod1 F6 :Workspace 6#Mod1 F7 :Workspace 7#Mod1 F8 :Workspace 8#Mod1 F9 :Workspace 9#Mod1 F10 :Workspace 10#Mod1 F11 :Workspace 11#Mod1 F12 :Workspace 12

==== Define start up script (~/.fluxbox/init)====

Define the path to your start up script inside .fluxbox/init

Varible: rootCommand

alecrim@alecrim ~ $ cat .fluxbox/init | grep rootCommandsession.screen0.rootCommand: ~/.fluxbox/autostart.sh

Create you startup script. Below you can see mine.

alecrim@alecrim ~ $ cat ~/.fluxbox/autostart.sh#!/bin/bash

# Disable beep soundxset -b

# Wallpaperfbsetbg -f  /home/alecrim/pessoal/image/paisagem/Grassy2.jpg

# IMgaim &

alecrim@alecrim ~ $ chmod +x ~/.fluxbox/autostart.sh

==== Define style (~/.fluxbox/style/snow)====

Snow style from http://customize.org/fluxbox

style.name: SnowFlowstyle.author: snkmchnbstyle.date: 12/23/07style.credits: Wallpaper: "Flow" by iTivo @ http://customize.org/wallpapers/55509style.comments: Part of the "12 Days of Christmas" theme pack

toolbar:   raised gradient verticaltoolbar.color:   rgb:c7/dd/betoolbar.colorTo:  rgb:57/98/94

toolbar.button:   raised gradient verticaltoolbar.button.color:  rgb:57/98/94toolbar.button.colorTo:  rgb:09/0b/17toolbar.button.picColor: rgb:ff/ff/ff

toolbar.button.pressed:  sunken gradient verticaltoolbar.button.pressed.color: rgb:09/0b/17toolbar.button.pressed.colorTo: rgb:57/98/94

toolbar.clock:   sunken gradient verticaltoolbar.clock.color:  rgb:09/0b/17toolbar.clock.colorTo:  rgb:57/98/94toolbar.clock.textColor: rgb:ff/ff/ff

toolbar.label:   sunken gradient verticaltoolbar.label.color:  rgb:09/0b/17toolbar.label.colorTo:  rgb:57/98/94toolbar.label.textColor: rgb:ff/ff/ff

toolbar.windowLabel:  parentrelativetoolbar.windowLabel.color: rgb:c7/dd/betoolbar.windowLabel.colorTo: rgb:57/98/94toolbar.windowLabel.textColor: rgb:c7/dd/be

toolbar.justify:  center

menu.title:   raised gradient verticalmenu.title.color:  rgb:57/98/94menu.title.colorTo:  rgb:09/0b/17menu.title.textColor:  rgb:ff/ff/ffmenu.title.justify:  center

menu.frame:   raised gradient diagonalmenu.frame.color:  rgb:c7/dd/bemenu.frame.colorTo:  rgb:57/98/94menu.frame.textColor:  rgb:ff/ff/ffmenu.frame.justify:  center

menu.hilite:   sunken gradient verticalmenu.hilite.color:  rgb:09/0b/17menu.hilite.colorTo:  rgb:57/98/94menu.hilite.textColor:  rgb:ff/ff/ff

menu.bullet:   emptymenu.bullet.position:  right

window.title.focus:  raised gradient verticalwindow.title.focus.color: rgb:c7/dd/bewindow.title.focus.colorTo: rgb:57/98/94window.title.unfocus:  raised vertical gradientwindow.title.unfocus.color: rgb:c7/dd/bewindow.title.unfocus.colorTo: rgb:57/98/94

window.label.focus:  sunken gradient verticalwindow.label.focus.color: rgb:09/0b/17window.label.focus.colorTo: rgb:57/98/94window.label.focus.textColor: rgb:ff/ff/ffwindow.label.unfocus:  parentrelativewindow.label.unfocus.color: rgb:c7/dd/bewindow.label.unfocus.colorTo: rgb:57/98/94window.label.unfocus.textColor: rgb:ff/ff/ff

window.button.focus:  raised gradient verticalwindow.button.focus.color: rgb:57/98/94window.button.focus.colorTo: rgb:09/0b/17window.button.focus.picColor: rgb:ff/ff/ffwindow.button.unfocus:  parentrelativewindow.button.unfocus.color: rgb:c7/dd/bewindow.button.unfocus.colorTo: rgb:57/98/94window.button.unfocus.picColor: rgb:ff/ff/ffwindow.button.pressed:  sunken gradient verticalwindow.button.pressed.color: rgb:09/0b/17window.button.pressed.colorTo: rgb:c7/dd/be

window.frame.focusColor: rgb:c7/dd/bewindow.frame.unfocusColor: rgb:57/98/94

window.handle.focus:  raised gradient diagonalwindow.handle.focus.color: rgb:c7/dd/bewindow.handle.focus.colorTo: rgb:57/98/94window.handle.unfocus:  raised gradient diagonalwindow.handle.unfocus.color: rgb:50/54/58window.handle.unfocus.colorTo: black

window.grip.focus:  raised gradient verticalwindow.grip.focus.color: rgb:57/98/94window.grip.focus.colorTo: rgb:09/0b/17window.grip.unfocus:  raised gradient verticalwindow.grip.unfocus.color: rgb:57/98/94window.grip.unfocus.colorTo: rgb:09/0b/17

window.justify:   coenter

borderColor:   rgb:57/98/94

bevelWidth:   2borderWidth:   1handleWidth:   5

*Font:                         nu-9

==== Define background ====

I configure it using the fluxbox wiki howto.

$ fbsetbg -i

   display doesn't set the wallpaper properly. Transparency for fluxbox   and apps like aterm and xchat won't work right with it. Consider    installing feh, wmsetbg (from windowmaker) or Esetroot (from Eterm) and   I'll use them instead.

$ sudo apt-get install feh

...

$ fbsetbg -i

feh is a nice wallpapersetter. You won't have any problems.

$ fbsetbg -f  /home/alecrim/pessoal/image/paisagem/Grassy2.jpg

==== File manager ====

$ sudo apt-get install xfe

Based on:
http://darkshed.net/files/rcs/fluxbox/keys.html
http://fluxbox-wiki.org/index.php/Howto_set_the_background

Categories: debian, dica Tags:

Debian Dell D600 dual head

Hi all,

A few months ago I configured my laptop Debian(Unstable) Dell D600 to automatically identify the second screen(VGA) and create a dual head using MergeFB.

Now you can see my xorg.conf configuration.


# xorg.conf (xorg X Window System server configuration file)## This file was generated by dexconf, the Debian X Configuration tool, using# values from the debconf database.## Edit this file with caution, and see the xorg.conf manual page.# (Type "man xorg.conf" at the shell prompt.)## This file is automatically updated on xserver-xorg package upgrades *only*# if it has not been modified since the last upgrade of the xserver-xorg# package.## If you have edited this file but would like it to be automatically updated# again, run the following command:#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"EndSection

Section "InputDevice" Identifier "Generic Keyboard" Driver  "kbd" Option  "CoreKeyboard" Option  "XkbRules" "xorg" Option  "XkbModel" "pc104" Option  "XkbLayout" "us_intl"EndSection

Section "InputDevice" Identifier "Configured Mouse" Driver  "mouse" Option  "CorePointer" Option  "Device"  "/dev/input/mice" Option  "Protocol"  "ImPS/2" Option  "Emulate3Buttons" "true"EndSection

Section "InputDevice" Identifier "Synaptics Touchpad" Driver  "synaptics" Option  "SendCoreEvents" "true" Option  "Device"  "/dev/psaux" Option  "Protocol"  "auto-dev" Option  "HorizScrollDelta" "0"EndSection

Section "Device" Identifier "ATI Technologies Inc Radeon R250 [Mobility FireGL 9000]" Driver  "radeon" BusID  "PCI:1:0:0" # option dual head Option   "MonitorLayout"                 "LCD, CRT"       Option   "CRT2Position"                  "RightOf"       #Option   "CRT2Position"                  "LeftOf"       #Option   "CRT2Position"                  "Above"       #Option   "MetaModes"                     "1400x1050-1024x768"       Option   "MetaModes"                     "1400x1050-1280x1024 1400x1050-1024x768 1400x1050-800x600"       Option   "MergedXinerama"                "on"       Option   "MergedNonRectangular"          "true"       Option   "MergedFB"                      "true"EndSection

Section "Monitor" Identifier "Generic Monitor" Option  "DPMS" HorizSync 28-70 VertRefresh 43-60EndSection

Section "Screen" Identifier "Default Screen" Device  "ATI Technologies Inc Radeon R250 [Mobility FireGL 9000]" Monitor  "Generic Monitor" DefaultDepth 16 SubSection "Display"  Modes  "1400x1050" "1280x1024" "1024x768" "800x600" EndSubSectionEndSection

Section "ServerLayout" Identifier "Default Layout" Screen  "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Synaptics Touchpad"EndSection

Based on https://help.ubuntu.com/community/RadeonDriver

That’s all!! :)

Categories: debian, dica Tags:

OMAP1610 : improving boot up (PART 1/3 U-BOOT UPGRADE)

Hi all,

I’m working with an OMAP1610 H2 and it was taking a long time to load and uncompress kernel. Eduardo recommended me some things to be done.


BE CAREFUL -
I’M NOT RESPONSIBLE FOR YOUR ACTS. YOU CAN MISS INFORMATION IF YOU DO NOT FOLLOW THE STEPS CORRECTLY.

1 - Upgrade u-boot

- Install scratchbox for cross-compilation.

- Download the last version of u-boot.

- Configure and Compile u-boot

[sbox-arm: ~/applications/u-boot-1.3.0] > make omap1610h2_config && make

- Copy the new u-boot.bin to your tftpboot directory(details here)

$ cp /scratchbox/users/alecrim/home/alecrim/applications/u-boot-1.3.0/u-boot.bin /tftpboot

- Using minicom, access the current u-boot prompt and load the new u-boot

OMAP1610 H2 # tftp 0×10000000 u-boot.bin
TFTP from server 10.0.0.1; our IP address is 10.0.0.2
Filename ‘u-boot.bin’.
Load address: 0×10000000
Loading: ###################
done
Bytes transferred = 93568 (16d80 hex)

The bold number is import, save it.IT’S YOUR U-BOOT HEXADECIMAL!!

- Unlock the flash memory, erase a sector, copy the new u-boot.bin and lock the flash again.

DANGEROUS!! TAKE CARE!!DANGEROUS!! TAKE CARE!!DANGEROUS!! TAKE CARE!!DANGEROUS!! TAKE CARE!!

REPLACE THE BOLD HEXADECIMAL (16d80)!!! PUT YOUR U-BOOT HEXADECIMAL !!!

OMAP1610 H2 # protect off 00000000 0001ffff
Un-Protected 1 sectors

OMAP1610 H2 # era 00000000 0001ffff

Erasing sector 0 … done
Erased 1 sectors

OMAP1610 H2 # cp.b 0×10000000 0×00000000 0x16d80
Copy to Flash…\done

OMAP1610 H2 # protect on 00000000 0001ffff
Protected 1 sectors
OMAP1610 H2 #

Now, you can restart your board and pray for some output on your serial.

references:
http://tree.celinuxforum.org/CelfPubWiki/OSK_2fuboot
http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=11994&path=templatedata/cm/product/data/omap_1610
http://tree.celinuxforum.org/CelfPubWiki/OSK

Categories: dica, kernel, omap Tags: