View Single Post
Old 10-05-2017, 12:02 AM   #17
varu
Member
varu knows the difference between 'who' and 'whom'varu knows the difference between 'who' and 'whom'varu knows the difference between 'who' and 'whom'varu knows the difference between 'who' and 'whom'varu knows the difference between 'who' and 'whom'varu knows the difference between 'who' and 'whom'varu knows the difference between 'who' and 'whom'varu knows the difference between 'who' and 'whom'varu knows the difference between 'who' and 'whom'varu knows the difference between 'who' and 'whom'varu knows the difference between 'who' and 'whom'
 
Posts: 12
Karma: 10000
Join Date: Sep 2017
Device: Kindle PW2
The above turned out to be a deceptively easy fix: dump all the initramfs files in a folder, change initramfs.list locations to match, and voila.

Next up:

Code:
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
arch/arm/mach-mx6/built-in.o: In function `arch_idle_single_core':
usb_h1.c:(.text+0x874): undefined reference to `wdg_prep'
arch/arm/mach-mx6/built-in.o: In function `reduce_bus_freq':
usb_h1.c:(.text+0xfd0): undefined reference to `wdg_prep'
usb_h1.c:(.text+0x111c): undefined reference to `wdg_prep'
arch/arm/mach-mx6/built-in.o: In function `set_high_bus_freq':
usb_h1.c:(.text+0x13f0): undefined reference to `wdg_prep'
make: *** [.tmp_vmlinux1] Error 1
That references the watchdog, the function is imx2_wdt.c, which is being loaded:

Code:
cat .config | grep WDT
CONFIG_IMX_HAVE_PLATFORM_IMX2_WDT=y
CONFIG_IMX2_WDT=y
wdg_prep is a LAB126-specific option:

Code:
#ifdef LAB126

void wdg_prep(){
	imx2_wdt_ping();
}

#endif
.. which should also be enabled:

Code:
cat .config | grep LAB126
CONFIG_LAB126_PRINTK_BUFFER=y
CONFIG_LAB126=y
Now I'm stumped
varu is offline   Reply With Quote