[U-Boot] Combine zImage and rootfs in single uImage

2012-05-22 Thread Grant Edwards
that some bootloaders will detect any "extra" bytes after the end of the zImage data and assume that they are a rootfs image. Is that how U-Boot does it? I just cat the ziminage and rootfs.cpio.gz files together and then prepend a uImage header? -- Grant Edwards grant.b.e

Re: [U-Boot] Combine zImage and rootfs in single uImage

2012-05-22 Thread Grant Edwards
On 2012-05-22, Wolfgang Denk wrote: > In message Grant Edwards wrote: [...] >> somebody told me that if I was using U-Boot, I could build the zImage >> and rootfs separately and then combine them into a single uImage file >> for distribution. > > The (deprecated)

Re: [U-Boot] Combine zImage and rootfs in single uImage

2012-05-22 Thread Grant Edwards
. Availability for respective links. Brilliant! I've been looking for that for a while... Thanks again, -- Grant Edwards grant.b.edwardsYow! Will it improve my at CASH FLOW? gmail.com _

Re: [U-Boot] handling of bad blocks in nand

2010-08-13 Thread Grant Edwards
something like this: nand_info[0].read(nand_info+0, offset, sizeof(buffer), &len, buffer) nand_info[0].write(nand_info+0, offset, bytecount, &len, buffer) but, I have a feeling that's not right (though it seems to work, I

Re: [U-Boot] handling of bad blocks in nand

2010-08-13 Thread Grant Edwards
On 2010-08-13, Grant Edwards wrote: > On 2010-07-09, Scott Wood wrote: >> On Fri, Jul 09, 2010 at 08:56:40AM -0400, Ben Gardiner wrote: >> >>> If you are putting an MTD filesystem in that partition then the >>> filesystem itself will take care of bad blocks that

Re: [U-Boot] handling of bad blocks in nand

2010-08-16 Thread Grant Edwards
On 2010-08-16, Scott Wood wrote: > On Fri, Aug 13, 2010 at 09:22:21PM +0000, Grant Edwards wrote: > At one point in the legacy NAND code, a distinction was made when > reading between completely skipping bad blocks, and filling the > buffer with zeroes in place of the bad blocks. I

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-23 Thread Grant Edwards
;t "our bareboard system doesn't support Ethernet" preclude the use of Ethernet (UDP or otherwise)? > Maybe you can implement a server on your hardware? What sort of server? -- Grant Edwards grant.b.edwardsYow! If I pull

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-23 Thread Grant Edwards
Making U-Boot the tftp server and our "restore" program the client solved several problems. I also find have U-Boot be the server is a lot more convenient for development use. [It also U-Boot commands to be sent via the tftp protocol.] I thought about submitting patches (it's pret

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-23 Thread Grant Edwards
On 2010-08-23, Ben Warren wrote: > On 8/23/2010 2:10 PM, Grant Edwards wrote: >> Now that you mention it, I have implemented a tftp server for U-Boot. >> >> We needed a way to recover "bricked" units in the field, and there's >> simply no way we cou

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-23 Thread Grant Edwards
27;s pretty much a stand-alone >> addition except for 3-4 lines in net.[ch]). But it was made >> abundantly clear that tftp server code for U-Boot would never be >> considered -- I was scolded for even asking about it. > > Maybe I can talk you into posting the patches? It

[U-Boot] How to download image to U-Boot

2009-11-17 Thread Grant Edwards
ut I don't see how it's useful since you have to know a-priori the address of the machine from which you want to use it. It would seem that you have to force the customer to change the IP address of their machine (not acceptible). -- Grant Edwards gran

Re: [U-Boot] How to download image to U-Boot

2009-11-17 Thread Grant Edwards
>> the customer to change the IP address of their machine (not >> acceptible). > > Why am I not surprised that this is not acceptable, either? Because it's not something our customers are willing to do. I take it that your position is that everying that U-Boot doesn't

Re: [U-Boot] [WIP] tools/env: cleanup host build flags

2010-11-10 Thread Grant Edwards
part of the SAM-BA utility -- and that's only because I'm too lazy to fix Atmel's Makefiles so they call the compiler with the proper flags. -- Grant Edwards grant.b.edwardsYow! Are we THERE yet? at

Re: [U-Boot] OT Flashing high volume of devices

2010-11-18 Thread Grant Edwards
ocumentation or procedure to do that? Send the hex file to the flash distributor and have them do it. -- Grant Edwards grant.b.edwardsYow! I'm meditating on at the FORMALDEHYDE and the gmail.com

Compile only changed files when doing 'make'?

2022-01-25 Thread Grant Edwards
I'm working on a Renesas supplied port of U-Boot, and it seems that 'make' always compiles every single (configured) source file instead compiling only the source files that have been changed since the previous 'make'. I've never run into this before on projects that use 'make', and it makes devel

Re: Compile only changed files when doing 'make'?

2022-01-26 Thread Grant Edwards
On 2022-01-25, Grant Edwards wrote: > I'm working on a Renesas supplied port of U-Boot, and it seems that > 'make' always compiles every single (configured) source file instead > compiling only the source files that have been changed since the > previous 'ma

How to modify defconfig file - make savedefconfig?

2022-01-27 Thread Grant Edwards
What is the "right" way to modify a defconfig file? Most sources I've found just say things like "edit the defconfig file". That seems error-prone -- especially when dealing with settings that have side effects. I did stumble across one mention of "make savedefconfig", and this seems to be the ri