logo       

Re: Tight!! LAB can now reflash itself, as well as bootstrap itself on h390: msg#00004

handhelds.ipaq.boot-loader

Subject: Re: Tight!! LAB can now reflash itself, as well as bootstrap itself on h3900 from flash.

Joshua Wise wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks to much work done at HDC today, LAB can now reflash itself and bootstrap itself from flash on h3900.

/joshua

Console logs:
<... jflash cruft>
Starting programming
Programming done hex address 65c40, 99.27% done
Starting Verify
Verifying flash at hex address 116cc, 17.00% done
wiseguy586@bluefire kernel26 $ cu -l usb/tts/0
Connected.

LAB - Linux As Bootldr, Rev 3-0-0-LAB
Contact: bootldr@xxxxxxxxxxxxx
Intel XScale PXA250 (Cotulla) revision00050000
(c) 2000-2003 Compaq Computer Corporation, provided with NO WARRANTY under
the terms of the GNU General Public License.

See http://www.handhelds.org/bootldr/ for full license and sources

boot>
boot>
boot> copy ymodem: fs:/zImage
Copying [ymodem] to [fs]/zImage...
~+secho
▒▒Error occured while getting file.
boot>
boot> copy ymodem: fs:/zImage
Copying [ymodem] to [fs]/zImage...
~+sx --ymodem -k arch/arm/boot/zImage
Sending: zImage
Bytes Sent: 419968 BPS:44373
Sending:
Ymodem sectors/kbytes sent: 0/ 0k
Transfer complete
boot>
boot> copy fs:/zImage flash:0
Copying [fs]/zImage to [flash]0...
Destination [flash] does not exist.
boot> insmod ymodem:
Inserting module [ymodem]...
~+sx --ymodem labcopyflash.ko
Sending: labcopyflash.ko
Bytes Sent: 114304 BPS:22027
Sending:
Ymodem sectors/kbytes sent: 0/ 0k
Transfer complete
boot>
boot> copy fs:/zImage flash:0
Copying [fs]/zImage to [flash]0...
Unlocking flash... done
Erasing flash: done
Writing flash... 00066828, done
boot> cu: write: No such device

Disconnected.
wiseguy586@bluefire kernel26 $ cu -l ttyS0 -115200 --nostop
Connected.
UFF
{00040010
00004854
0000432D
}F
0STP
1STP
2STP
3STP
4STP
5STP
6STP
MTST
00000001
00000002
00000004
00000008
00000010
00000020
00000040
00000080
00000100
00000200
00000400
00000800
00001000
00002000
00004000
00008000
00010000
00020000
00040000
00080000
00100000
00200000
00400000
00800000
01000000
02000000
04000000
08000000
10000000
20000000
40000000
80000000
A0000000
DEADBEEF
48000000
09C809CB
48000004
0005B018
48000008
26E026E0
4800000C
7FF07FF0
48000010
74A42494
ENDM
DUCK
STKP
A0002000
RELO
IRAM
Uncompressing Linux.............................. done, booting the kernel.
Linux version 2.6.0-test6-hh0 (wiseguy586@xxxxxxxxxxxxxxxxxxxxxxx) (gcc version 3.3.2 20030820 (prerelease)) #174 Sun Oct 5 02:27:03 EDT 2003
CPU: XScale-PXA250 [69052903] revision 3 (ARMv5TE)
CPU: D undefined 5 cache
CPU: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Machine: HP iPAQ H3900
Memory policy: ECC disabled, Data cache write back
<6>Memory clock: 99.53MHz (*27)
<6>Run Mode clock: 199.07MHz (*2)
<6>Turbo Mode clock: 398.13MHz (*2.0, active)
On node 0 totalpages: 16384
DMA zone: 16384 pages, LIFO batch:4
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: video=pxafb:bpp:16 console=tty0
<7>Relocating machine vectors to 0xffff0000
<3>Trying to install chip for IRQ104
<3>Trying to install chip for IRQ105
<3>Trying to install chip for IRQ106
<3>Trying to install chip for IRQ107
<3>Trying to install chip for IRQ108
<3>Trying to install chip for IRQ109
<3>Trying to install chip for IRQ110
<3>Trying to install chip for IRQ111
<3>Trying to install chip for IRQ112
<3>Trying to install chip for IRQ113
<3>Trying to install chip for IRQ114
<3>Trying to install chip for IRQ115
<3>Trying to install chip for IRQ116
<3>Trying to install chip for IRQ117
<3>Setting type of unclaimed IRQ10 from PID hash table entries: 512 (order 9: 4096 bytes)
Console: colour dummy device 80x30
<6>Memory: 64MB = 64MB total
<5>Memory: 63776KB available (708K code, 205K data, 56K init)
Calibrating delay loop... 397.31 BogoMIPS
<6>Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
<6>CPU: Testing write buffer coherency: ok
POSIX conformance testing by UNIFIX
<6>Linux NoNET1.0 for Linux 2.6
<7>pxa2xx_udc: version alpha (26 Sept 2003)
<6>PXA 2xx USB Device Controller driver, IRQ 4 (!cfr) (!dma-out)
About to attempt to initialize pxafb
Initialized pxafb
Console: switching to colour frame buffer device 40x30
ttyS0 at MMIO 0x40100000 (irq = 15) is a FFUART
Console: switching to colour frame buffer device 40x30
<5>iPAQ flash: probing 32-bit flash bus, window=c4800000 with CFI.
<7>IPAQ flash bank 1: Found an alias at 0x2000000 for the chip at 0x0
<5>cfi_cmdset_0001: Erase suspend on write enabled
<7>0: offset=0x0,size=0x40000,blocks=128
<6>Using buffer write method
<5>iPAQ flash: found 33554432 bytes
<5>iPAQ flash: probing 32-bit flash bus, window=c8801000 with CFI.
<4>CFI: Found no IPAQ flash bank 2 device at location zero
<5>iPAQ flash: probing 32-bit flash bus, window=c8801000 with JEDEC.
<6>Search for id:(90 90) interleave(2) type(2)
<6>Search for id:(90 90) interleave(2) type(2)
<6>Search for id:(90 90) interleave(2) type(2)
<6>Search for id:(a3 d3) interleave(2) type(1)
<6>Search for id:(00 00) interleave(2) type(1)
<6>Search for id:(90 90) interleave(2) type(1)
<6>Search for id:(9090 9090) interleave(4) type(2)
<6>Search for id:(9090 9090) interleave(4) type(2)
<6>Search for id:(9090 9090) interleave(4) type(2)
<6>Search for id:(90 90) interleave(4) type(1)
<6>Search for id:(90 90) interleave(4) type(1)
<6>Search for id:(90 90) interleave(4) type(1)
<4>JEDEC: Found no IPAQ flash bank 2 device at location zero
<5>iPAQ flash: failed to find flash.
<5>Concatenating MTD devices:
<5>(0): "IPAQ flash bank 1"
<5>into device "ipaq"
<5>cmdlinepart partition parsing not available
<5>RedBoot partition parsing not available
<5>Using static partition definition
<5>Creating 3 MTD partitions on "ipaq":
<5>0x00000000-0x00080000 : "H3XXX boot firmware"
<5>0x00040000-0x01f80000 : "H3XXX root jffs2"
<5>0x01fc0000-0x02000000 : "asset"
<5>lab: loaded command dummy
<5>lab: loaded command dummymf
<5>lab: loaded command [dummymf]foo
<5>lab: loaded command [dummyso]bar
<5>lab: loaded command [dummyso]baz
<5>lab: loaded command dmesg
<5>lab: loaded command devmem2
<5>lab: loaded command insmod
<5>lab: loaded command rmmod
<5>lab: loaded command copy
<5>lab: loaded command unlink
<5>lab: loaded command rm
<5>lab: loaded copy source [ymodem]
<5>lab: loaded copy destination [dummy]
<5>lab: loaded copy source [fs]
<5>lab: loaded copy destination [fs]
<5>lab: loaded unlink device [fs]
<6>Freeing init memory: 56K
<6>lab: Starting LAB [Linux As Bootloader]
<6>lab: Mounting tmpfs...
<6>lab: Chrooting into ramfs...
<6>lab: Creating devices...
<6>lab: Attempting to open connection to host [USB]...
<6>lab: Please plug in the USB cable. (Error ENXIO)
<6>lab: Attempting to open connection to host [USB]...
<6>lab: Please plug in the USB cable. (Error ENXIO)
<6>lab: Attempting to open connection to host [USB]...
<6>lab: Please plug in the USB cable. (Error ENXIO)
<6>lab: Attempting to open connection to host [USB]...
<6>lab: Please plug in the USB cable. (Error ENXIO)
<6>lab: Attempting to open connection to host [USB]...
<6>lab: Please plug in the USB cable. (Error ENXIO)
<6>lab: Attempting to open connection to host [USB]...
<6>lab: Please plug in the USB cable. (Error ENXIO)
<6>lab: Attempting to open connection to host [USB]...
<6>lab: Please plug in the USB cable. (Error ENXIO)
<6>lab: Attempting to open connection to host [USB]...
<6>lab: Please plug in the USB cable. (Error ENXIO)
<6>lab: Attempting to open connection to host [USB]...
<6>lab: Please plug in the USB cable. (Error ENXIO)
<6>lab: Attempting to open connection to host [USB]...
<6>lab: Please plug in the USB cable. (Error ENXIO)
<6>lab: Attempting to open connection to host [USB]...
<6>lab: Please plug in the USB cable. (Error ENXIO)
<6>lab: Attempting to open connection to host [USB]...
<6>lab: Please plug in the USB cable. (Error ENXIO)
<6>gchar: full speed
<7>gchar: unknown control req00.00 v0000 i0000 l0
<6>lab: Attempting to open connection to host [USB]...
<6>lab: Done! Switching to host connection
wiseguy586@bluefire kernel26 $ cu -l usb/tts/0
Connected.

LAB - Linux As Bootldr, Rev 3-0-0-LAB
Contact: bootldr@xxxxxxxxxxxxx
Intel XScale PXA250 (Cotulla) revision00050000
(c) 2000-2003 Compaq Computer Corporation, provided with NO WARRANTY under
the terms of the GNU General Public License.

See http://www.handhelds.org/bootldr/ for full license and sources

boot>
boot> help
help - Displays this help
dummy - Stupid dummy LAB tester
dummymf - Multifunction dummy
dummymf foo - A subcommand dummy
dummyso bar - Subcommand-only dummy
dummyso baz - Second command in subcommand-only dummy
dmesg - Prints the kernel/LAB debug messages
devmem2 - devmem2-like command
insmod - Inserts a kernel module into LAB.
rmmod - Removes a kernel module from LAB.
copy - Copies data from a source to a destination.
unlink - Unlinks a file.
rm - Unlinks a file.
boot> tight. joshua rocks.
Couldn't find command tight..
boot>


Well done! Joshua rocks!


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise