Part Number: BEAGLEBK
Tool/software: Linux
Hi,
I tried to change Debain kernel (after running the upgrade script) from 4.14.108 to 4.14.79 - the one that came with the am SDK)
to be able to build a compatible kernel module. Something I am sure I am missing here....
I have on the BBB latest Debian from https://beagleboard.org/latest-images
- This is what I did.
- rename the System.map to System.map-4.14.79-ge669d52447 and copy it to <sdcard>//boot
- copy the vmlinux-4.14.79-ge669d52447 to <sdcard>/boot/
- make a folder <sdcard>/boot/dtb/4.14.79-ge669d52447/*.dtb's and put here the dtb files installed on <PC><SDK>/targetNFS/boot/ *.dtb
- Modify the <sdcard>/uEnv uname_r=4.14.79-ge669d52447
- copy modules from targetNFS/lib/modules to <sdcard>/lib/modules (the modules were installed in the targetNFS by running make whatever)
- The kernel was build by selecting tisdk_am335x-evm_defconfig config.
Upon reboot the board boots the eMMC version.
Appreciate and thank you very much.
debian@beaglebone:/lib$ sudo reboot [ 285.898241] watchdog: watchdog0: watchdog did not stop! [ 286.325536] reboot: Restarting system U-Boot SPL 2018.01-00002-gbbdeb63-dirty (May 08 2018 - 15:14:23) Trying to boot from MMC2 U-Boot 2018.01-00002-gbbdeb63-dirty (May 08 2018 - 15:14:23 +0800) CPU : AM335X-GP rev 2.1 I2C: ready DRAM: 512 MiB No match for driver 'omap_hsmmc' No match for driver 'omap_hsmmc' Some drivers were not found Reset Source: Global warm SW reset has occurred. Reset Source: Power-on reset has occurred. TPS65217: PGDLY 400 ms -> 400 ms MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Using default environment Board: BeagleBone Black <ethaddr> not set. Validating first E-fuse MAC BeagleBone Black: Model: SeeedStudio BeagleBone Green: BeagleBone: cape eeprom: i2c_probe: 0x54: BeagleBone: cape eeprom: i2c_probe: 0x55: BeagleBone: cape eeprom: i2c_probe: 0x56: BeagleBone: cape eeprom: i2c_probe: 0x57: Net: eth0: MII MODE cpsw, usb_ether Press SPACE to abort autoboot in 2 seconds board_name=[BBG1] ... switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 ** Bad device 0:2 0x82000000 ** ** Bad device 0:2 0x82000000 ** switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... gpio: pin 56 (gpio 56) value is 0 gpio: pin 55 (gpio 55) value is 0 gpio: pin 54 (gpio 54) value is 0 gpio: pin 53 (gpio 53) value is 1 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... gpio: pin 56 (gpio 56) value is 0 gpio: pin 55 (gpio 55) value is 0 gpio: pin 54 (gpio 54) value is 0 gpio: pin 53 (gpio 53) value is 1 switch to partitions #0, OK mmc0 is current device gpio: pin 54 (gpio 54) value is 1 Checking for: /uEnv.txt ... Checking for: /boot.scr ... Checking for: /boot/boot.scr ... Checking for: /boot/uEnv.txt ... gpio: pin 55 (gpio 55) value is 1 2156 bytes read in 55 ms (38.1 KiB/s) Loaded environment from /boot/uEnv.txt Checking if uname_r is set in /boot/uEnv.txt... gpio: pin 56 (gpio 56) value is 1 Running uname_boot ... ** Invalid partition 2 ** ** Invalid partition 3 ** ** Invalid partition 4 ** ** Invalid partition 5 ** ** Invalid partition 6 ** ** Invalid partition 7 ** switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... gpio: pin 56 (gpio 56) value is 0 gpio: pin 55 (gpio 55) value is 0 gpio: pin 54 (gpio 54) value is 0 gpio: pin 53 (gpio 53) value is 1 switch to partitions #0, OK mmc1(part 0) is current device gpio: pin 54 (gpio 54) value is 1 Checking for: /uEnv.txt ... Checking for: /boot.scr ... Checking for: /boot/boot.scr ... Checking for: /boot/uEnv.txt ... gpio: pin 55 (gpio 55) value is 1 2061 bytes read in 15 ms (133.8 KiB/s) Loaded environment from /boot/uEnv.txt Checking if uname_r is set in /boot/uEnv.txt... gpio: pin 56 (gpio 56) value is 1 Running uname_boot ... loading /boot/vmlinuz-4.9.78-ti-r94 ... 9960536 bytes read in 646 ms (14.7 MiB/s) uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot.dtb] ... uboot_overlays: Switching too: dtb=am335x-boneblack-uboot.dtb ...