# nanddump -b -o -f ddd -l 2097152 /dev/mtd3
# nandwrite /dev/mtd3 ddd 0 (I have not test it yet)
Showing posts with label embeded. Show all posts
Showing posts with label embeded. Show all posts
Monday, December 15, 2008
nanddump
Here is the command to dump linux kernel, suppose "ddd" is the image name, "2097152" is the digit number of 0x200000 in hex, may not be exactly the same of the actual length, but it works.
Tuesday, January 8, 2008
Work on iPAQ 5550 PocketPC
Use the COM port to connect with PC. On Windows, HyperTerminal is perfact for the connection. In most time, it is desire to work on Linux, here is the way to connect througth ssh on my Linux Host:
you need to get the ip address, user name and password to enter into the system.
To find out the ip address, you can start the terminal in iPAQ (GPE installed), and type ifconfig.
Copy files forth and back with scp on Linux Host:
Right now my iPAQ's ip address is connected to the wireless network, and is associated with an external ip address (NOT 192*), so it can not ping my internel network, but the linux host can ping the external ip address. That is why scp works.
ssh root@192.168.10.177
you need to get the ip address, user name and password to enter into the system.
To find out the ip address, you can start the terminal in iPAQ (GPE installed), and type ifconfig.
Copy files forth and back with scp on Linux Host:
scp foo root@192.168.10.177:/home/root
scp -p -r root@192.168.10.177:/home/root/foo foo
Right now my iPAQ's ip address is connected to the wireless network, and is associated with an external ip address (NOT 192*), so it can not ping my internel network, but the linux host can ping the external ip address. That is why scp works.
Monday, October 29, 2007
tftp - on marvell device
My marvell device(PXA300) seems only work on static ip. I use HyperTerminal as emulator on Windows, with ifconfig, I got "192.168.1.101", while my workstation ip is 192.168.10.130, and my vmware Fedora Core 5 is 192.168.100.129. I don't know how to connect the device to my linux host, but here is how it works on my workstation.
- I change my workstation ip to "192.168.1.102", gateway to "192.168.1.100"
- Then on HyperTerminal, I can "ping 192.168.1.102", and on workstation I can "ping 192.168.1.101"
- On workstation(XP), I download and install tftp server. (Let google help to find one)
- Setup tftp, that is, start or stop tftp server, I would say my tftp server is local.

- on HyperTerminal:
- I change my workstation ip to "192.168.1.102", gateway to "192.168.1.100"
- Then on HyperTerminal, I can "ping 192.168.1.102", and on workstation I can "ping 192.168.1.101"
- On workstation(XP), I download and install tftp server. (Let google help to find one)
- Setup tftp, that is, start or stop tftp server, I would say my tftp server is local.
- on HyperTerminal:
tftp -p -r blah 192.168.1.102 (send blah to workstation)
tftp -g -r clock.txt 192.168.1.102 (get clock.txt from workstation)
Subscribe to:
Posts (Atom)