Android source available
Posted Oct 22, 2008 8:02 UTC (Wed) by
johill (subscriber, #25196)
Parent article:
Android source available
There's little, if no, value in this code. Here's a select snippet:
fd = open("/dev/mem", O_RDWR | O_SYNC);
if( fd == -1 ) {
print_error("Cannot access /dev/mem\n");
goto init_driver_end;
}
nvsPtr = (volatile unsigned long *)mmap(0,0x1000,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0x13F13000);
eeprom_image_length = *(nvsPtr + (0xE0C >> 2));
print_debug("---Eeprom from Memory Size = %u\n", eeprom_image_length);
or how about kernel code that is licensed under "Apache License, Version 2.0" which is clearly incompatible with the GPL2...
(
Log in to post comments)