Re: [U-Boot] [RFC] mx28: Fix reboot from the kernel

2012-01-25 Thread Stefano Babic
On 24/01/2012 17:23, Fabio Estevam wrote: > When running Linux on a mx28evk and issuing a 'reboot'command the following > behaviour is observed: > Hi Fabio, > > Calling mx28_power_init() prior to mxs_iomux_setup_multiple_pads() fixes the > problem and > make U-boot to re-start succesfully. T

Re: [U-Boot] [RFC] mx28: Fix reboot from the kernel

2012-01-25 Thread Matthias Fuchs
On 24.01.2012 17:23, Fabio Estevam wrote: > When running Linux on a mx28evk and issuing a 'reboot'command the following > behaviour is observed: > > root@freescale /$ reboot > > starting pid 329, tty '': '/etc/rc.d/rcS stop'

Re: [U-Boot] [RFC] mx28: Fix reboot from the kernel

2012-01-24 Thread Marek Vasut
> On Tue, Jan 24, 2012 at 11:25 PM, Marek Vasut wrote: > > Now that IS CREEPY. You mean like ... just anything ? Or does the code > > executed before need to be exactly long or longer than something ? > > Yes, my tests show that anything prior to > mxs_iomux_setup_multiple_pads makes reboot to wo

Re: [U-Boot] [RFC] mx28: Fix reboot from the kernel

2012-01-24 Thread Fabio Estevam
On Tue, Jan 24, 2012 at 11:25 PM, Marek Vasut wrote: > Now that IS CREEPY. You mean like ... just anything ? Or does the code > executed > before need to be exactly long or longer than something ? Yes, my tests show that anything prior to mxs_iomux_setup_multiple_pads makes reboot to work. I a

Re: [U-Boot] [RFC] mx28: Fix reboot from the kernel

2012-01-24 Thread Marek Vasut
> On Tue, Jan 24, 2012 at 9:48 PM, Marek Vasut wrote: > > Can you explain why this patch fixes anything ? It's hard to understand > > why doing this would fix it. > > Yes, I agree and that's why I marked it as RFC and please also see my > comments below the --- line. > > I don't understand the r

Re: [U-Boot] [RFC] mx28: Fix reboot from the kernel

2012-01-24 Thread Fabio Estevam
On Tue, Jan 24, 2012 at 9:48 PM, Marek Vasut wrote: > Can you explain why this patch fixes anything ? It's hard to understand why > doing this would fix it. Yes, I agree and that's why I marked it as RFC and please also see my comments below the --- line. I don't understand the reason for the f

Re: [U-Boot] [RFC] mx28: Fix reboot from the kernel

2012-01-24 Thread Marek Vasut
> When running Linux on a mx28evk and issuing a 'reboot'command the following > behaviour is observed: > > root@freescale /$ reboot > starting pid 329, tty '': '/etc/rc.d/rcS stop' > root@freescale /$ Stopping inetd: > Terminated > Unmounting filesystems > umount: tmpfs busy - remounted read-only

[U-Boot] [RFC] mx28: Fix reboot from the kernel

2012-01-24 Thread Fabio Estevam
When running Linux on a mx28evk and issuing a 'reboot'command the following behaviour is observed: root@freescale /$ reboot starting pid 329, tty '': '/etc/rc.d/rcS stop' root@freescale /$ Stopping inetd: