From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Fri, 21 Sep 2012 09:15:59 -0500 Subject: [U-Boot] arch/powerpc/lib/board.c:get_effective_memsize() for 4GB+ systems In-Reply-To: <9081694521850B4D91387C8C2E612B5948EE7E7536@ESESSCMS0361.eemea.ericsson.se> References: <1348066056-12965-1-git-send-email-galak@kernel.crashing.org> <9081694521850B4D91387C8C2E612B5948EE7E7513@ESESSCMS0361.eemea.ericsson.se> <9081694521850B4D91387C8C2E612B5948EE7E7528@ESESSCMS0361.eemea.ericsson.se> <6AE080B68D46FC4BA2D2769E68D765B708074D05@039-SN2MPN1-023.039d.mgd.msft.net> <9081694521850B4D91387C8C2E612B5948EE7E752D@ESESSCMS0361.eemea.ericsson.se> <6AE080B68D46FC4BA2D2769E68D765B708080598@039-SN2MPN1-022.039d.mgd.msft.net> <9081694521850B4D91387C8C2E612B5948EE7E7530@ESESSCMS0361.eemea.ericsson.se> <505C6B91.4060200@freescale.com> <9081694521850B4D91387C8C2E612B5948EE7E7536@ESESSCMS0361.eemea.ericsson.se> Message-ID: <505C769F.7090703@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Robert Thorhuus wrote: > Sorry. But this is were I disagree with you. Of course its prime > function is to boot an operating system. And usually in a desktop > environment that is what you need. But if you have newly developed > hardware it is very seldom everything works all the time. There are a > lot of debugging hardware sessions before you have stable hardware. So > in embedded systems I would say U-Boot can very well be a primary > choice of testing platform in the beginning of a development. Mainly > because sucessfully booting U-Boot demands less of the hardware than > sucessfully boot an OS. Say you have a NOR and 1 MB L3 cache but no > DDR3, U-Boot is set, OS not. If you really want to turn U-Boot into a testing platform, feel free to post patches that implement those features. But don't be surprised if your patches are rejected. > And what test platform would you suggest? And what if your extended > testing needs to be a viable option at every boot and that you have > boot time requirements? You can create U-boot "applications" that test your hardware, if you want to test from within U-Boot. -- Timur Tabi Linux kernel developer at Freescale