[U-Boot] U-Boot newbie needs help!
Hi, If I am not using the correct method for asking a question I apologize. I am very new to Linux and embedded system and I am still having a hard time with basic stuff. Hopefully I'll get there someday... I am trying to learn this PC104 board from MPL MIP405 and I am going through the process of building a crosstool chain (crosstool-ng). I believe I accomplished this today. Now I am trying to build the u-boot image and transfer to the board using tftpboot command. I am following the instructions but I am getting the following error: = tftpboot 40 u-boot.img ENET Speed is 100 Mbps - FULL duplex connection TFTP from server 192.168.5.1; our IP address is 192.168.5.2 Filename 'u-boot.img'. Load address: 0x40 Loading: ### done Bytes transferred = 155238 (25e66 hex) Automatic boot of image at addr 0x0040 ... ## Booting image at 0040... Image Name: U-Boot 1.1.4 MIP405 released Created: 2005-09-13 15:28:20 UTC Image Type: PowerPC U-Boot Firmware (gzip compressed) Data Size:155174 Bytes = 151.5 kB Load Address: fff8 Entry Point: Verifying Checksum ... OK Wrong Image Type for tftpboot command I also tried to transfer a u-boot.img file that is provided on the MPL website and obtained the same result as above. I was wondering if this could be a problem with the toolchain that I created. Or maybe I am not building the u-boot.img the proper way. I am sure it is a newbie mistake. I am not sure if you require any more specific information about the setup to provide an answer. If so, please let me know. Thanks in advance for any help you can give me. Alex Command used: make MIP405_config make tools/mkimage -A ppc -O u-boot -T firmware -C none -a fff8 -e 0 -n 'U-Boot for MIP405' -d u-boot.bin u-boot.img ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] u-boot newbie
Hello Am a U-Boot newbie and as for now have used u-boot and would like to explore edit n hack U-boot Referring to U-boot manual it explains how to use but i wish to know how u-boot is organised and designed to work could anyone point to some resource for u-boot hacks? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] u-boot newbie
Am a U-Boot newbie and as for now have used u-boot and would like to explore edit n hack U-boot Referring to U-boot manual it explains how to use but i wish to know how u-boot is organised and designed to work could anyone point to some resource for u-boot hacks? Hi, I am currently trying to compile U-Boot for the AT91R40008 (ARM7TDMI based CPU from ATMEL) and the AT91R40008 Evaluation Board (EB40A). I have been reading the documentation and searching the mailing list but the simplest guide I have found is http://free-electrons.com/doc/porting-u-boot.pdf; Hope this helps you too. Regards Luke ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] u-boot newbie
Yesterday I was a JTAG newbie - today I'm a u-boot newbie as well and I was wondering if anyone could help me out. I've managed to get my hands on a surplus gps board (have no idea what gps). The board has a samsung s3c2410 chip (arm9), samsung k9f5608u0d 32M flash mem and two Qimonda HYB25L256160AF-7.5 (SDRAM) chips (16Mbit x 16 organisation I think). My JTAG interface works fine and I can communicate with the chip (I have managed to dump the flash too - i think). I would like to know where to begin in regards to building a u-boot config for this setup. Is there a ready-made config I could use (or edit?) Or some documentation on how to build a config from first principles? The board doesn't have Ethernet, but there is both usb and serial. Also, once the u-boot has been compiled - where do I flash it to? (which location in the flash mem - apparently it's not a good idea to overwrite the first 4k???) Any help would be fantastic! :) ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] u-boot newbie
Dear David Kaplan, In message 62564a490910270526yf6e831bt869695b71a70c...@mail.gmail.com you wrote: Yesterday I was a JTAG newbie - today I'm a u-boot newbie as well and I was wondering if anyone could help me out. By extrapolation you will be a Linux newbie tomorrow, an apprentice in a week and an expert in a month from now. Or so. I've managed to get my hands on a surplus gps board (have no idea what gps). Isn't there _any_ name or type code on that board? The board has a samsung s3c2410 chip (arm9), samsung k9f5608u0d 32M flash mem and two Qimonda HYB25L256160AF-7.5 (SDRAM) chips (16Mbit x 16 organisation I think). My JTAG interface works fine and I can communicate with the chip (I have managed to dump the flash too - i think). Then try to find out what's in the flash. Use hexdump and strings -a etc. - with any luck, there was U-Boot and Linux running on that box, and you can ask the manufacturer for the source code. I would like to know where to begin in regards to building a u-boot config for this setup. Is there a ready-made config I could use (or edit?) Or some documentation on how to build a config from first principles? There is a porting guide in the README. Not joking. But keep in ming that an essential prerequisite for performing a port in a somewhat efficient manner is a thorough understanding of both the processor architecture and the board design. Normally you will need schematics for the board (unless you are lucky in such as the board was derived from some well-known evaluation kit, and you manange to guess from which one - and manage to get the documentation for this). Also, once the u-boot has been compiled - where do I flash it to? (which location in the flash mem - apparently it's not a good idea to overwrite the first 4k???) We cannot tell you. You must know the design of this board, with all these little details, probably including many more things - like how to set (and eventually enable) clocks and outputs, how to power on and/or reset and/or initialize the peripherals on your boards, etc. You need detailed hardware documentation. And experience. Alternatively, you need a LOT of time (after which you eventually may have gathered some experience). Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de No problem is insoluble. -- Dr. Janet Wallace, The Deadly Years, stardate 3479.4 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] u-boot newbie - question about the 'debug( )' function ...
On Wed, Jan 14, 2009 at 2:45 PM, Jonathan Barrow jj.bar...@gmail.com wrote: In many of the sources, such as board.c, I notice calls to 'debug()'. The syntax looks similar to printf(), e.g.: debug (Stack Pointer at: %08lx\n, addr_sp); Is this output sent to the BDM, such as bdi2000? or Ethernet? posted to memory? Also, is debug() related to the setting in 'config.mk' : DBGFLAGS= -g # DDEBUG I can't seem to locate where it lives, so uncertain how it works. It's just a printf that only exists if DEBUG is turned on for the build. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] u-boot newbie - question about the 'debug( )' function ...
On Wed, 2009-01-14 at 15:45 -0500, Jonathan Barrow wrote: In many of the sources, such as board.c, I notice calls to 'debug()'. The syntax looks similar to printf(), e.g.: debug (Stack Pointer at: %08lx\n, addr_sp); Is this output sent to the BDM, such as bdi2000? or Ethernet? posted to memory? Also, is debug() related to the setting in 'config.mk' : DBGFLAGS= -g # DDEBUG I can't seem to locate where it lives, so uncertain how it works. Thank You, J.J. Barrow Typically, I just put a #define DEBUG in a specific file or two that I'm interested in. That has to be done before the #include of common.h to be effective. Rebuild, reflash, read output on serial port. HTH, jdl ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot