installing new compiled kernel with TWI-support on Stamp 9G45

Hi out there,
I need to use the TWI-Interface on Stamp 9G45 and didn't find out how to initialize the bus or which modules to load. In the end, I thought that I have to compile a new kernel with TWI-support enabled. I built the new kernel as shown in the linux guide from the documentation, wrapped it to an uImage and when trying to install it, I had a problem. The documentation says that the uImage has to be written to the partition linux, but here's my /proc/mtd:

root@stamp9g45:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00020000 "bootstrap"
mtd1: 00040000 00020000 "env"
mtd2: 003a0000 00020000 "boot"
mtd3: 07c00000 00020000 "ubi"

There is no Linux partition. Can anyone tell me what to do? I'm new to embedded Systems at all and kind of a beginner in linux. Perhaps, someone could list me all steps I have to follow to implement TWI-Support.

Thanks in Advance
Fuchs

Re: installing new compiled kernel with TWI-support on Stamp ...

Stamp9G45 does not use U-Boot but another loader. If you want to test a new kernel all you need to do is to copy it to the /boot directory in your root file system. You can do this from linux directly. To start the kernel, reboot the system. The old kernel can be renamed in order to be restored if desired - I recommend to prefix it with something like "old." (e.g. uImage -> old.uImage).

Re: installing new compiled kernel with TWI-support on Stamp ...

ok, thank you very much!

Re: installing new compiled kernel with TWI-support on Stamp ...

Edit: The new loader supports zImage kernel, do not use uImage.

Re: installing new compiled kernel with TWI-support on Stamp ...

just found it out. Now, TWI-support works fine, thanks again :)

Syndicate content