Re: [U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-24 Thread Simon Goldschmidt
On 21.11.2018 15:08, Marek Vasut wrote: On 11/21/2018 06:09 AM, Simon Goldschmidt wrote: Am Mi., 21. Nov. 2018, 00:11 hat Marek Vasut mailto:ma...@denx.de>> geschrieben: On 11/20/2018 09:54 PM, Simon Goldschmidt wrote: > On 20.11.2018 20:33, Marek Vasut wrote: >> On 11/20/2018 0

Re: [U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-22 Thread Marek Vasut
On 11/22/2018 06:18 AM, Simon Goldschmidt wrote: > > > Am Do., 22. Nov. 2018, 03:00 hat Marek Vasut > geschrieben: > > On 11/21/2018 10:07 PM, Simon Goldschmidt wrote: > > On 21.11.2018 15:08, Marek Vasut wrote: > >> On 11/21/2018 06:09 AM, Simon Goldschmidt wr

Re: [U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-21 Thread Simon Goldschmidt
Am Do., 22. Nov. 2018, 03:00 hat Marek Vasut geschrieben: > On 11/21/2018 10:07 PM, Simon Goldschmidt wrote: > > On 21.11.2018 15:08, Marek Vasut wrote: > >> On 11/21/2018 06:09 AM, Simon Goldschmidt wrote: > >>> > >>> Am Mi., 21. Nov. 2018, 00:11 hat Marek Vasut >>> > gesc

Re: [U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-21 Thread Marek Vasut
On 11/21/2018 10:07 PM, Simon Goldschmidt wrote: > On 21.11.2018 15:08, Marek Vasut wrote: >> On 11/21/2018 06:09 AM, Simon Goldschmidt wrote: >>> >>> Am Mi., 21. Nov. 2018, 00:11 hat Marek Vasut >> > geschrieben: >>> >>> On 11/20/2018 09:54 PM, Simon Goldschmidt wrote: >

Re: [U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-21 Thread Simon Goldschmidt
On 21.11.2018 15:08, Marek Vasut wrote: On 11/21/2018 06:09 AM, Simon Goldschmidt wrote: Am Mi., 21. Nov. 2018, 00:11 hat Marek Vasut mailto:ma...@denx.de>> geschrieben: On 11/20/2018 09:54 PM, Simon Goldschmidt wrote: > On 20.11.2018 20:33, Marek Vasut wrote: >> On 11/20/2018 0

Re: [U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-21 Thread Marek Vasut
On 11/21/2018 06:09 AM, Simon Goldschmidt wrote: > > > Am Mi., 21. Nov. 2018, 00:11 hat Marek Vasut > geschrieben: > > On 11/20/2018 09:54 PM, Simon Goldschmidt wrote: > > On 20.11.2018 20:33, Marek Vasut wrote: > >> On 11/20/2018 08:22 PM, Simon Goldschmidt wr

Re: [U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-21 Thread Marek Vasut
On 11/21/2018 06:13 AM, Simon Goldschmidt wrote: > > > Am Mi., 21. Nov. 2018, 00:12 hat Marek Vasut > geschrieben: > > On 11/20/2018 10:55 PM, Dalon L Westergreen wrote: > > On Tue, 2018-11-20 at 21:54 +0100, Simon Goldschmidt wrote: > >> On 20.11.2018 20:33, M

Re: [U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-20 Thread Simon Goldschmidt
Am Mi., 21. Nov. 2018, 00:12 hat Marek Vasut geschrieben: > On 11/20/2018 10:55 PM, Dalon L Westergreen wrote: > > On Tue, 2018-11-20 at 21:54 +0100, Simon Goldschmidt wrote: > >> On 20.11.2018 20:33, Marek Vasut wrote: > >>> On 11/20/2018 08:22 PM, Simon Goldschmidt wrote: > From: Simon Gol

Re: [U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-20 Thread Simon Goldschmidt
Am Mi., 21. Nov. 2018, 00:11 hat Marek Vasut geschrieben: > On 11/20/2018 09:54 PM, Simon Goldschmidt wrote: > > On 20.11.2018 20:33, Marek Vasut wrote: > >> On 11/20/2018 08:22 PM, Simon Goldschmidt wrote: > >>> From: Simon Goldschmidt > >>> > >>> On socfpga gen5, a warm reboot from Linux curre

Re: [U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-20 Thread Marek Vasut
On 11/20/2018 10:55 PM, Dalon L Westergreen wrote: > On Tue, 2018-11-20 at 21:54 +0100, Simon Goldschmidt wrote: >> On 20.11.2018 20:33, Marek Vasut wrote: >>> On 11/20/2018 08:22 PM, Simon Goldschmidt wrote: From: Simon Goldschmidt On socfpga gen5, a warm reboot from Linux currentl

Re: [U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-20 Thread Marek Vasut
On 11/20/2018 09:54 PM, Simon Goldschmidt wrote: > On 20.11.2018 20:33, Marek Vasut wrote: >> On 11/20/2018 08:22 PM, Simon Goldschmidt wrote: >>> From: Simon Goldschmidt >>> >>> On socfpga gen5, a warm reboot from Linux currently triggers a warm >>> reset via reset manager ctrl register. >>> >>>

Re: [U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-20 Thread Dalon L Westergreen
On Tue, 2018-11-20 at 21:54 +0100, Simon Goldschmidt wrote: > On 20.11.2018 20:33, Marek Vasut wrote: > > On 11/20/2018 08:22 PM, Simon Goldschmidt wrote: > > > From: Simon Goldschmidt > > > > > > On socfpga gen5, a warm reboot from Linux currently triggers a warm > > > reset via reset manager ct

Re: [U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-20 Thread Simon Goldschmidt
On 20.11.2018 20:33, Marek Vasut wrote: On 11/20/2018 08:22 PM, Simon Goldschmidt wrote: From: Simon Goldschmidt On socfpga gen5, a warm reboot from Linux currently triggers a warm reset via reset manager ctrl register. This currently leads to the boot rom just jumping to onchip ram executing

Re: [U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-20 Thread Marek Vasut
On 11/20/2018 08:22 PM, Simon Goldschmidt wrote: > From: Simon Goldschmidt > > On socfpga gen5, a warm reboot from Linux currently triggers a warm > reset via reset manager ctrl register. > > This currently leads to the boot rom just jumping to onchip ram > executing the SPL that is supposed to

[U-Boot] [PATCH] arm: socfpga: crc-protect SPL on warm boot

2018-11-20 Thread Simon Goldschmidt
From: Simon Goldschmidt On socfpga gen5, a warm reboot from Linux currently triggers a warm reset via reset manager ctrl register. This currently leads to the boot rom just jumping to onchip ram executing the SPL that is supposed to still be there. This is because we tell the boot rom to do so b