Re: BUG: Bad page state in process swapper on new imx8qm board

2019-10-21 Thread Oliver Graute
On 17/10/19, Cengiz Can wrote:
> Hello Oliver,
> 
> > So after some more digging I assume that this error is related to a
> > missing "reserved-memory" node in my devicetree. Now I need to find
> > out how to split up my memory the right way for this imx8qm congatec
> > board.
> 
> I think asking in #linux-imx (freenode) would be a much better idea.
> 
> You can use https://webchat.freenode.net/ if you don't have an IRC
> client handy.

thx for this hint. I'll show up there.

Best regards,

Oliver

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: BUG: Bad page state in process swapper on new imx8qm board

2019-10-21 Thread Oliver Graute
On 17/10/19, Peng Fan wrote:
> 
> 
> > -Original Message-
> > From: Oliver Graute 
> > Sent: 2019年10月17日 15:34
> > To: kernelnewbies@kernelnewbies.org; Aisheng Dong
> > ; Peng Fan 
> > Subject: Re: BUG: Bad page state in process swapper on new imx8qm board
> > 
> > On 16/10/19, Oliver Graute wrote:
> > > Hello list,
> > >
> > > I try to bootup up a new imx8qm congatec board and I have written a
> > > dts file for it and applied some imx8qm related patches which are not
> > > mainline yet but working fine on another imx8qm board (same cpu,
> > > different board vendor).
> > >
> > > The Kernel starts to boot. But unfortunately its stucked after few
> > > seconds with a lot memory/swapper issues.
> > >
> > > BUG: Bad page state in process swapper
> > >
> > > Some clue what`s going on here?
> > 
> > So after some more digging I assume that this error is related to a missing
> > "reserved-memory" node in my devicetree. Now I need to find out how to
> > split up my memory the right way for this imx8qm congatec board.
> 
> Which uboot release are you using? Did you include M4 image in flash.bin?

I'am using the u-boot master branch with my board patches. Together with
the M4 Image. This particular problem is solved now by adding the right
reserved-memory statement and linux,cma {} statement.

No more kernel crashes yet. Now the kernel starts systemd and is stucked
there. I get no login prompt. It looks for me like getty can't find any
serial to attach. But the kernel is still running and writing to serial
lpuart32.

Best regards,

Oliver

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: BUG: Bad page state in process swapper on new imx8qm board

2019-10-17 Thread Peng Fan


> -Original Message-
> From: Oliver Graute 
> Sent: 2019年10月17日 15:34
> To: kernelnewbies@kernelnewbies.org; Aisheng Dong
> ; Peng Fan 
> Subject: Re: BUG: Bad page state in process swapper on new imx8qm board
> 
> On 16/10/19, Oliver Graute wrote:
> > Hello list,
> >
> > I try to bootup up a new imx8qm congatec board and I have written a
> > dts file for it and applied some imx8qm related patches which are not
> > mainline yet but working fine on another imx8qm board (same cpu,
> > different board vendor).
> >
> > The Kernel starts to boot. But unfortunately its stucked after few
> > seconds with a lot memory/swapper issues.
> >
> > BUG: Bad page state in process swapper
> >
> > Some clue what`s going on here?
> 
> So after some more digging I assume that this error is related to a missing
> "reserved-memory" node in my devicetree. Now I need to find out how to
> split up my memory the right way for this imx8qm congatec board.

Which uboot release are you using? Did you include M4 image in flash.bin?

Regards,
Peng.

> 
> Any hints?
> 
> Best regards,
> 
> Oliver
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: BUG: Bad page state in process swapper on new imx8qm board

2019-10-17 Thread Cengiz Can
Hello Oliver,

> So after some more digging I assume that this error is related to a
> missing "reserved-memory" node in my devicetree. Now I need to find
> out how to split up my memory the right way for this imx8qm congatec
> board.

I think asking in #linux-imx (freenode) would be a much better idea.

You can use https://webchat.freenode.net/ if you don't have an IRC
client handy.

Good luck!

-- 
Cengiz Can


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: BUG: Bad page state in process swapper on new imx8qm board

2019-10-17 Thread Oliver Graute
On 16/10/19, Oliver Graute wrote:
> Hello list,
> 
> I try to bootup up a new imx8qm congatec board and I have written a dts
> file for it and applied some imx8qm related patches which are not
> mainline yet but working fine on another imx8qm board (same cpu,
> different board vendor).
> 
> The Kernel starts to boot. But unfortunately its stucked after few
> seconds with a lot memory/swapper issues.
> 
> BUG: Bad page state in process swapper
> 
> Some clue what`s going on here?

So after some more digging I assume that this error is related to a
missing "reserved-memory" node in my devicetree. Now I need to find out
how to split up my memory the right way for this imx8qm congatec board.

Any hints?

Best regards,

Oliver

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies