[U-Boot] reducing u-boot.bin size
Hello, I am trying to reduce the size of the u-boot.bin file so that it fits into a 256KB promjet. I disabled all the drivers that I didn't need and have just kept the NOR driver but the binary size is still 512KB, it seems to be a hard number coded in somewhere. I would have thought this was the size of the .data section set somewhere in the linker script but it does not appear to be so. Does anyone know where the image size can be altered from? Thanks, Fahd Abidi Sr. Field Application Engineer Ultimate Solutions, Inc. Your Single Source for Professional Development Tools and Embedded Solutions Ph: 978-455-3383 x255 Fx: 978-926-3091 Email: fab...@ultsol.com Visit: http://www.ultsol.com http://www.ultsol.com/ ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] Adding NAND Boot to uboot
Hello, I am relatively new to uboot development and was wondering if someone can give me some pointers. I am trying to configure uboot to bootup from NAND on CS0 on an MPC8536 platform. I am trying to disable the FLASH CFI driver (No NOR flash on the board ) and add support for the FSM NAND flash controller on the 8536. Thus far I have written the NAND flash driver but I am having some issues disabling the NOR driver. From by board.h file I tried just commenting out the lines: CFG_FLASH_CFI_DRIVER CFG_FLASH_CFI and added the line: CFG_NO_FLASH but I get compile errors. How do I tell uboot to disable the FLASH CFI driver, for instance if I want to load uboot into ram and run from ram? Fahd Abidi Sr. Field Application Engineer Ultimate Solutions, Inc. Your Single Source for Professional Development Tools and Embedded Solutions Ph: 978-455-3383 x255 Fx: 978-926-3091 Email: [EMAIL PROTECTED] Visit: http://www.ultsol.com http://www.ultsol.com/ ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot