2009-09-15 15:30:58 BF561 Linux kernel upload failure - Minicom / Ymodem / Kermit. Transfer no worky
Mario Valenta (UNITED STATES)
Message: 79939
BF561EZkit. Das U-boot installed, i can boot it and see u-boot menu using minicom.
I've read this document multiple times:
http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:serial_port_loading_files
however following these instructions, upload not working.
I boot my board, when menu comes up i type "loady" at the u-boot prompt (I'm using the default address 0x1000000) then i back out to the minicom send file command (CTRL-A then S) and give it the location of my compiled kernel which happens to be stored in /uClinux-dist-2008R1.5-RC3/linux-2.6.x/
with filename 'linux'. "file linux" command reports this as:
mario@karma-ii:~/blackfin/uClinux-dist-2008R1.5-RC3/linux-2.6.x$ file linux
linux: ELF 32-bit LSB executable, Analog Devices Blackfin, version 1 (SYSV), statically linked, not stripped
when i select this file for uploading, the upload progress screen shows up but it seems to stall there. progress meter never changes. If i CTRL-C out, the prompt reports 0% transferred.
I have minicomm modem prefix commands blanked out per the documents, and also the lock file is removed as well.
has anyone had this problem? Since I can see the das u-boot screen OK and can enter commands at prompt I would think this would rule out a config setting issue or cable issue.
QuoteReplyEditDelete
2009-09-15 15:34:24 Re: BF561 Linux kernel upload failure - Minicom / Ymodem / Kermit. Transfer no worky
Mario Valenta (UNITED STATES)
Message: 79940
ps seems to work using c-kermit. wondering why its not working in minicom...
QuoteReplyEditDelete
2009-09-15 15:38:39 Re: BF561 Linux kernel upload failure - Minicom / Ymodem / Kermit. Transfer no worky
Mike Frysinger (UNITED STATES)
Message: 79942
did you select the correct transfer protocol ? minicom defaults to zmodem which is not ymodem.
QuoteReplyEditDelete
2009-09-15 15:42:20 Re: BF561 Linux kernel upload failure - Minicom / Ymodem / Kermit. Transfer no worky
Mario Valenta (UNITED STATES)
Message: 79943
yep. when i did CTRL-Z, S it asked for protocol, and I selected Ymodem (which IIRC is 2nd from top)
I suppose its not an issue considering c-kermit worked but would still like to know why I couldn't get minicom working properly for this transfer.
QuoteReplyEditDelete
2009-09-15 16:14:09 Re: BF561 Linux kernel upload failure - Minicom / Ymodem / Kermit. Transfer no worky
Mike Frysinger (UNITED STATES)
Message: 79944
might want to try newer u-boot release ... there has been some odd fixes in the serial driver. although that should have caused problems for kermit too ...