[okl4-developer] regarding interrupts

Nelson Tam nelson at ok-labs.com
Fri Apr 18 12:31:25 EST 2008


On 18/04/2008, at 11:38 AM, Nelson Tam wrote:
>
> If you take a look at pistachio/SConscript, find the line where it  
> says:
>
> 	if args.get("ENABLE_KDB_CONS", True) and args.get("KDB_BREAKIN",  
> True) and getattr(env.machine, "kdb_breakin", True):
>        	cppdefines += [("CONFIG_KDB_BREAKIN", 1)]
>
> CONFIG_KDB_BREAKIN tells the kernel to check for the ESC key on the  
> serial console.  Notice that all 3 conditions have to be true in  
> order for CONFIG_KDB_BREAKIN to be defined, but they are all true by  
> default (the last argument in each condition defines the default  
> value).
>
> This means that unless you explicitly define one of those conditions  
> to be false, the ESC key will work.
>
> The following command line will guarantee to make ESC work:
>
> 	./tools/build.py [blah] ENABLE_KDB_CONS=True KDB_BREAKIN=True


Assuming, of course, that kdb_breakin = True in the platform's  
machines.py, as Jorge said.
--
(nt)

Nelson Tam

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1560 bytes
Desc: not available
Url : http://lists.okl4.org/pipermail/developer/attachments/20080418/c809a154/attachment.bin 


More information about the Developer mailing list