Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-31 Thread Stefan Roese
On 19.08.20 16:24, Pali Rohár wrote: Due to different partition layouts in different U-Boot versions, DTS for Espressobin in Linux does not contain any definition of MTD partitions. See commit https://git.kernel.org/stable/c/00954566464a4 for more details. This patch via ft_board_setup() hook fi

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-27 Thread Andre Heider
On 19/08/2020 16:24, Pali Rohár wrote: Due to different partition layouts in different U-Boot versions, DTS for Espressobin in Linux does not contain any definition of MTD partitions. See commit https://git.kernel.org/stable/c/00954566464a4 for more details. This patch via ft_board_setup() hook

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-25 Thread Pali Rohár
On Thursday 20 August 2020 14:09:50 Stefan Roese wrote: > On 20.08.20 14:03, Pali Rohár wrote: > > On Thursday 20 August 2020 10:51:28 Pali Rohár wrote: > > > On Thursday 20 August 2020 10:17:55 Stefan Roese wrote: > > > > On 20.08.20 09:40, Pali Rohár wrote: > > > > > Anyway, updating DTS has adva

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-20 Thread Stefan Roese
On 20.08.20 14:03, Pali Rohár wrote: On Thursday 20 August 2020 10:51:28 Pali Rohár wrote: On Thursday 20 August 2020 10:17:55 Stefan Roese wrote: On 20.08.20 09:40, Pali Rohár wrote: Anyway, updating DTS has advantage that it is not needed to update existing boot scripts for OS. There are mor

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-20 Thread Pali Rohár
On Thursday 20 August 2020 10:51:28 Pali Rohár wrote: > On Thursday 20 August 2020 10:17:55 Stefan Roese wrote: > > On 20.08.20 09:40, Pali Rohár wrote: > > > Anyway, updating DTS has advantage that it is not needed to update > > > existing boot scripts for OS. There are more distributions for > >

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-20 Thread Pali Rohár
On Thursday 20 August 2020 13:19:34 Stefan Roese wrote: > On 20.08.20 13:12, Pali Rohár wrote: > > On Thursday 20 August 2020 10:51:28 Pali Rohár wrote: > > > On Thursday 20 August 2020 10:17:55 Stefan Roese wrote: > > > > On 20.08.20 09:40, Pali Rohár wrote: > > > > > On Thursday 20 August 2020 07

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-20 Thread Stefan Roese
On 20.08.20 13:12, Pali Rohár wrote: On Thursday 20 August 2020 10:51:28 Pali Rohár wrote: On Thursday 20 August 2020 10:17:55 Stefan Roese wrote: On 20.08.20 09:40, Pali Rohár wrote: On Thursday 20 August 2020 07:02:18 Stefan Roese wrote: Can't you just use "mtdparts=" kernel cmdline paramet

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-20 Thread Pali Rohár
On Thursday 20 August 2020 10:51:28 Pali Rohár wrote: > On Thursday 20 August 2020 10:17:55 Stefan Roese wrote: > > On 20.08.20 09:40, Pali Rohár wrote: > > > On Thursday 20 August 2020 07:02:18 Stefan Roese wrote: > > > > Can't you just use "mtdparts=" kernel cmdline parameter instead to pass > >

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-20 Thread Pali Rohár
On Thursday 20 August 2020 10:17:55 Stefan Roese wrote: > On 20.08.20 09:40, Pali Rohár wrote: > > On Thursday 20 August 2020 07:02:18 Stefan Roese wrote: > > > Can't you just use "mtdparts=" kernel cmdline parameter instead to pass > > > the MTD layout to the kernel? > > > > Maybe it is possible

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-20 Thread Stefan Roese
On 20.08.20 09:40, Pali Rohár wrote: On Thursday 20 August 2020 07:02:18 Stefan Roese wrote: Can't you just use "mtdparts=" kernel cmdline parameter instead to pass the MTD layout to the kernel? Maybe it is possible too, I have not tried it. I thought that more common is to update DTS file by

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-20 Thread Pali Rohár
On Thursday 20 August 2020 07:02:18 Stefan Roese wrote: > Can't you just use "mtdparts=" kernel cmdline parameter instead to pass > the MTD layout to the kernel? Maybe it is possible too, I have not tried it. I thought that more common is to update DTS file by uboot when loading kernel as it is a

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-19 Thread Stefan Roese
On 19.08.20 16:24, Pali Rohár wrote: Due to different partition layouts in different U-Boot versions, DTS for Espressobin in Linux does not contain any definition of MTD partitions. See commit https://git.kernel.org/stable/c/00954566464a4 for more details. This patch via ft_board_setup() hook fi

RE: [EXT] [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-19 Thread Kostya Porotchkin
> -Original Message- > From: Pali Rohár > Sent: Wednesday, August 19, 2020 17:24 > To: Stefan Roese ; Kostya Porotchkin > Cc: u-boot@lists.denx.de > Subject: [EXT] [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions > when booting kerne

[PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-19 Thread Pali Rohár
Due to different partition layouts in different U-Boot versions, DTS for Espressobin in Linux does not contain any definition of MTD partitions. See commit https://git.kernel.org/stable/c/00954566464a4 for more details. This patch via ft_board_setup() hook fills current partition layout used by U-