Find a file
2017-10-25 17:51:56 +02:00
bitmaps deleted .svn subdirectories 2013-08-22 20:01:12 -05:00
include deleted .svn subdirectories 2013-08-22 20:01:12 -05:00
qemu Fixed Makefiles to support Ubuntu 12.04 2013-08-22 20:33:51 -05:00
sim deleted .svn subdirectories 2013-08-22 20:01:12 -05:00
.gitignore ignore DS_Store 2013-08-22 20:04:21 -05:00
49Gp_88.bin Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
4950_92.bin Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
block-qcow.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
block-raw.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
block-vvfat.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
block.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
boot-49g+.bin Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
boot-50g.bin Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
boot.bin Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
config.tmpl Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
EqnData.lib Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
EqnLib.lib Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
flash.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
gdbstub.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
gdbstub.h Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
hex2bin.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
hp49g+.png Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
hp49g+small-notext.png Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
hp49g-u.bin Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
HP49GP_IO_PORT Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
hp50g-hack.png Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
hp50g.png Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
le32hex2bin.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
main.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
Makefile compile on debian 2017-10-25 17:51:56 +02:00
MEMORY Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
module.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
newconfig Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
README Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
README.config Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
README.md add backticks for code 2017-10-25 17:51:06 +02:00
README.QEMU Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_adc.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_arm.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_intc.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_io_port.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_lcd.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_memc.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_nand.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_power.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_rtc.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_sdi.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_spi.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_sram.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_timer.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_uart.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_usbdev.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_watchdog.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
sram.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
symbol.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
SYSCALL-28-TRACE Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
timer.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
tiny_font.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
ui.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
update.scp Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
x49gp.gif Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05: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:
  sudo port install gtk2
  sudo port install pkgconfig
  • 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 subversion
  • RedHat/CentOS 5.4 64-bit, Fedora 12 64-bit:
  sudo yum install subversion gtk2-devel

Start up X11 and use xterm


Download x49gp source:

svn co http://x49gp.svn.sourceforge.net/svnroot/x49gp x49gp

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:

cd x49gp
make
make sdcard
make config

Mount SD card:

OS/X:

open sdcard.dmg

Linux:

sudo mkdir -p /Volumes/X49GP/
sudo mount -o loop sdcard /Volumes/X49GP

Put stuff in SD, e.g.:

OS/X:

cp BACKUP /Volumes/X49GP/

Linux:

sudo cp BACKUP /Volumes/X49GP/

NOTE: If using HPGCC2 don't forget the the ARMToolbox.


Eject SD:

OS/X:

hdiutil detach $(df | grep -i x49gp | head -1 | awk '{print $1}')

Linux:

sudo umount /Volumes/X49GP

Run:

./x49gp config

Where's the key labels?

Good question. This is a bug when compiled for 64-bit platforms.

Hack:

cp hp50g-hack.png hp50g.png

Do stuff, e.g.:

Restore backup:

BACKUP
3
->TAG
RESTORE

Install ARMToolbox (HPGCC2):

2
SETUP.BIN
3
->TAG
RCL
EVAL

(Right Click ON, Left Click C)


To Exit Emulator

  • ctrl-c to exit (from launch window)

Start Over:

  • clean slate?
rm -f flash-49g+ flash-50g flash-noboot sram s3c2410-sram
make flash-49g+ flash-50g flash-noboot sram s3c2410-sram
./newconfig
  • soft reset only?
./newconfig

Known Limitations:

  • HPGCC SD Card I/O . libfsystem unavailable. . f* calls unstable (HPGCC2) . f* calls stable (HPGCC3)