From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Pawe=c5=82_Jarosz?= Date: Fri, 9 Jun 2017 15:11:40 +0200 Subject: [U-Boot] [PATCH 12/13] armv7: support rk3066 early back to bootrom in start.S In-Reply-To: References: <53731e0d66575a07294f3fd2c768de5400ba45e8.1496774336.git.paweljarosz3691@gmail.com> <4390d406-b0ac-da01-1a07-982b7b010c98@gmail.com> Message-ID: <21e4ffa2-862d-9dd0-ba7d-5e51685f5ab5@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de W dniu 09.06.2017 o 14:27, Simon Glass pisze: > So can we do this trick with SPL and drop TPL? I think it's better to leave tpl build as it is. >> Ad.2,3 Due to size issues (200KB limit) i needed to move main u-boot to = mmc. >> To load u-boot from >> mmc by SPL (there is 32KB bootrom limit, not enough space for mmc suppor= t) i >> moved SPL to sdram. >> Code executed in sdram can't mess with sdram settings because it will ha= ng >> the board. Sdram setup >> needs to be done by code in SRAM (tpl). > You should be able to fit MMC and SDRAM into 32KB. E.g. I can build > firefly-rk3288 that way as Heiko mentions > Maybe i could drop some configs and fit in 32KB SPL but not with very=20 convenient for users configs for loading u-boot from partition and not=20 offset in mmc :-). Pawe=C5=82