Joined: Thu Aug 09, 2007 10:48 am Posts: 106 Location: Artec Design LLC, Tallinn, Estonia
|
|
Tough case...
You can not change those registers on-the-fly with current linux kernel. All the peripheal clock prescalers would need to be recalculated and those end up being incorrect. These registers must be set before all kernel peripheals are initialized. Probably by u-boot.
If you have root access to /dev/mem, you should be able to do register i/o through that interface. It depends, what kind of flash are you using. If the flash controller driver is not in the kernel (so that you won't need to compete with something), you might be able to write a program, that re-programs the flash that way. But it's a real pain, definitely...
|
|