1
0
Fork 0
forked from Miroirs/x49gp
x50ng/README.md

184 lines
2.8 KiB
Markdown
Raw Normal View History

2013-08-23 03:39:39 +02:00
Additional note: August 22, 2013
Updated this so that it'll compile on Ubuntu 12.04.
--Nicholas Kirchner
Quick Start Guide
04/25/2010
Egan Ford <egan@sense.net>
NOTE: READ ALL INSTRUCTIONS
Prereqs:
* OS/X 10.6 64-bit:
* Install X11, Xcode (from your installation media) in that order.
* Install Macports (macports.org), then:
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
sudo port install gtk2
sudo port install pkgconfig
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
* Ubuntu 9.04 32-bit, 9.04 64-bit, 9.10 32-bit, 9.10 64-bit:
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
sudo apt-get install libgtk2.0-dev
sudo apt-get install subversion
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
* RedHat/CentOS 5.4 64-bit, Fedora 12 64-bit:
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
sudo yum install subversion gtk2-devel
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
------------------------------------------------------------------------
Start up X11 and use xterm
------------------------------------------------------------------------
Download x49gp source:
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
svn co http://x49gp.svn.sourceforge.net/svnroot/x49gp x49gp
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
------------------------------------------------------------------------
Edit FIRMWARE (optional):
The default firmware will be 4950_92.bin, for HPGCC3 development copy
49_hpgcc.bin in to x49gp and change FIRMWARE in the Makefile.
------------------------------------------------------------------------
Build:
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
cd x49gp
make
make sdcard
make config
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
------------------------------------------------------------------------
Mount SD card:
OS/X:
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
open sdcard.dmg
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
Linux:
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
sudo mkdir -p /Volumes/X49GP/
sudo mount -o loop sdcard /Volumes/X49GP
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
------------------------------------------------------------------------
Put stuff in SD, e.g.:
OS/X:
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
cp BACKUP /Volumes/X49GP/
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
Linux:
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
sudo cp BACKUP /Volumes/X49GP/
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
2017-12-07 12:58:13 +01:00
NOTE: If using HPGCC2 don't forget the ARMToolbox.
2013-08-23 03:39:39 +02:00
------------------------------------------------------------------------
Eject SD:
OS/X:
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
hdiutil detach $(df | grep -i x49gp | head -1 | awk '{print $1}')
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
Linux:
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
sudo umount /Volumes/X49GP
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
------------------------------------------------------------------------
Run:
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
./x49gp config
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
------------------------------------------------------------------------
Do stuff, e.g.:
Restore backup:
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
BACKUP
3
->TAG
RESTORE
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
Install ARMToolbox (HPGCC2):
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
2
SETUP.BIN
3
->TAG
RCL
EVAL
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
(Right Click ON, Left Click C)
------------------------------------------------------------------------
To Exit Emulator
* ctrl-c to exit (from launch window)
------------------------------------------------------------------------
Start Over:
* clean slate?
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
rm -f flash-49g+ flash-50g flash-noboot sram s3c2410-sram
make flash-49g+ flash-50g flash-noboot sram s3c2410-sram
./newconfig
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
* soft reset only?
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
./newconfig
2017-10-25 17:51:06 +02:00
```
2013-08-23 03:39:39 +02:00
------------------------------------------------------------------------
Known Limitations:
* HPGCC SD Card I/O
. libfsystem unavailable.
. f* calls unstable (HPGCC2)
. f* calls stable (HPGCC3)