you have to set the BL_AS and BL_AP environment variables.
(BL_AS= and BL_AP=9831)
So in the WinPE image i can add something like:
in one of the scripts that's called during the init process ?
both of these need to happen before the bmi call gets made?
Yes, exactly. For WinPe simply add your lines to init.bat and init2k3.bat.
For gentoo look into setup.sh. There is a section called "#export stuff we need". Simply add your lines here , generate a new boot image and you´re done.