forked from Miroirs/x49gp
add backticks for code
This commit is contained in:
parent
6b07f2cf64
commit
a8998380a4
1 changed files with 34 additions and 2 deletions
36
README.md
36
README.md
|
@ -17,19 +17,23 @@ Prereqs:
|
||||||
* Install X11, Xcode (from your installation media) in that order.
|
* Install X11, Xcode (from your installation media) in that order.
|
||||||
* Install Macports (macports.org), then:
|
* Install Macports (macports.org), then:
|
||||||
|
|
||||||
|
```
|
||||||
sudo port install gtk2
|
sudo port install gtk2
|
||||||
sudo port install pkgconfig
|
sudo port install pkgconfig
|
||||||
|
```
|
||||||
|
|
||||||
* Ubuntu 9.04 32-bit, 9.04 64-bit, 9.10 32-bit, 9.10 64-bit:
|
* Ubuntu 9.04 32-bit, 9.04 64-bit, 9.10 32-bit, 9.10 64-bit:
|
||||||
|
|
||||||
|
```
|
||||||
sudo apt-get install libgtk2.0-dev
|
sudo apt-get install libgtk2.0-dev
|
||||||
sudo apt-get install subversion
|
sudo apt-get install subversion
|
||||||
|
```
|
||||||
|
|
||||||
* RedHat/CentOS 5.4 64-bit, Fedora 12 64-bit:
|
* RedHat/CentOS 5.4 64-bit, Fedora 12 64-bit:
|
||||||
|
|
||||||
|
```
|
||||||
sudo yum install subversion gtk2-devel
|
sudo yum install subversion gtk2-devel
|
||||||
|
```
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -39,7 +43,9 @@ Start up X11 and use xterm
|
||||||
|
|
||||||
Download x49gp source:
|
Download x49gp source:
|
||||||
|
|
||||||
|
```
|
||||||
svn co http://x49gp.svn.sourceforge.net/svnroot/x49gp x49gp
|
svn co http://x49gp.svn.sourceforge.net/svnroot/x49gp x49gp
|
||||||
|
```
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -52,10 +58,12 @@ The default firmware will be 4950_92.bin, for HPGCC3 development copy
|
||||||
|
|
||||||
Build:
|
Build:
|
||||||
|
|
||||||
|
```
|
||||||
cd x49gp
|
cd x49gp
|
||||||
make
|
make
|
||||||
make sdcard
|
make sdcard
|
||||||
make config
|
make config
|
||||||
|
```
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -63,12 +71,16 @@ Mount SD card:
|
||||||
|
|
||||||
OS/X:
|
OS/X:
|
||||||
|
|
||||||
|
```
|
||||||
open sdcard.dmg
|
open sdcard.dmg
|
||||||
|
```
|
||||||
|
|
||||||
Linux:
|
Linux:
|
||||||
|
|
||||||
|
```
|
||||||
sudo mkdir -p /Volumes/X49GP/
|
sudo mkdir -p /Volumes/X49GP/
|
||||||
sudo mount -o loop sdcard /Volumes/X49GP
|
sudo mount -o loop sdcard /Volumes/X49GP
|
||||||
|
```
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -76,11 +88,15 @@ Put stuff in SD, e.g.:
|
||||||
|
|
||||||
OS/X:
|
OS/X:
|
||||||
|
|
||||||
|
```
|
||||||
cp BACKUP /Volumes/X49GP/
|
cp BACKUP /Volumes/X49GP/
|
||||||
|
```
|
||||||
|
|
||||||
Linux:
|
Linux:
|
||||||
|
|
||||||
|
```
|
||||||
sudo cp BACKUP /Volumes/X49GP/
|
sudo cp BACKUP /Volumes/X49GP/
|
||||||
|
```
|
||||||
|
|
||||||
NOTE: If using HPGCC2 don't forget the the ARMToolbox.
|
NOTE: If using HPGCC2 don't forget the the ARMToolbox.
|
||||||
|
|
||||||
|
@ -90,17 +106,23 @@ Eject SD:
|
||||||
|
|
||||||
OS/X:
|
OS/X:
|
||||||
|
|
||||||
|
```
|
||||||
hdiutil detach $(df | grep -i x49gp | head -1 | awk '{print $1}')
|
hdiutil detach $(df | grep -i x49gp | head -1 | awk '{print $1}')
|
||||||
|
```
|
||||||
|
|
||||||
Linux:
|
Linux:
|
||||||
|
|
||||||
|
```
|
||||||
sudo umount /Volumes/X49GP
|
sudo umount /Volumes/X49GP
|
||||||
|
```
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
Run:
|
Run:
|
||||||
|
|
||||||
|
```
|
||||||
./x49gp config
|
./x49gp config
|
||||||
|
```
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -110,7 +132,9 @@ Good question. This is a bug when compiled for 64-bit platforms.
|
||||||
|
|
||||||
Hack:
|
Hack:
|
||||||
|
|
||||||
|
```
|
||||||
cp hp50g-hack.png hp50g.png
|
cp hp50g-hack.png hp50g.png
|
||||||
|
```
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -118,19 +142,23 @@ Do stuff, e.g.:
|
||||||
|
|
||||||
Restore backup:
|
Restore backup:
|
||||||
|
|
||||||
|
```
|
||||||
BACKUP
|
BACKUP
|
||||||
3
|
3
|
||||||
->TAG
|
->TAG
|
||||||
RESTORE
|
RESTORE
|
||||||
|
```
|
||||||
|
|
||||||
Install ARMToolbox (HPGCC2):
|
Install ARMToolbox (HPGCC2):
|
||||||
|
|
||||||
|
```
|
||||||
2
|
2
|
||||||
SETUP.BIN
|
SETUP.BIN
|
||||||
3
|
3
|
||||||
->TAG
|
->TAG
|
||||||
RCL
|
RCL
|
||||||
EVAL
|
EVAL
|
||||||
|
```
|
||||||
(Right Click ON, Left Click C)
|
(Right Click ON, Left Click C)
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
@ -145,13 +173,17 @@ Start Over:
|
||||||
|
|
||||||
* clean slate?
|
* clean slate?
|
||||||
|
|
||||||
|
```
|
||||||
rm -f flash-49g+ flash-50g flash-noboot sram s3c2410-sram
|
rm -f flash-49g+ flash-50g flash-noboot sram s3c2410-sram
|
||||||
make flash-49g+ flash-50g flash-noboot sram s3c2410-sram
|
make flash-49g+ flash-50g flash-noboot sram s3c2410-sram
|
||||||
./newconfig
|
./newconfig
|
||||||
|
```
|
||||||
|
|
||||||
* soft reset only?
|
* soft reset only?
|
||||||
|
|
||||||
|
```
|
||||||
./newconfig
|
./newconfig
|
||||||
|
```
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue