Guest BigBearMDC Posted June 23, 2010 Report Posted June 23, 2010 One down, 20 to go ;) Huawei are such idiots. Nya they just only patched the things they needed, and broke those ones they didn't need. Saves time I guess ... or are they just lazy :(
Guest Tom G Posted June 23, 2010 Report Posted June 23, 2010 Yay USB works now (no errors) ;) But therefore there are now ~20 others :( I gave up on usb since it isn't really needed to get it booting. I think I've fixed the app_info problems (by removing app_info).
Guest BigBearMDC Posted June 23, 2010 Report Posted June 23, 2010 I gave up on usb since it isn't really needed to get it booting. I think I've fixed the app_info problems (by removing app_info). Why? That was an easy fix ;) What app_info problem do you mean? I haven't got any related errors I think. Did you enable CONFIG_USB_AUTO_INSTALL?
Guest gusthy Posted June 23, 2010 Report Posted June 23, 2010 Nya they just only patched the things they needed, and broke those ones they didn't need. Saves time I guess ... or are they just lazy ;) It does not save time - managing unified code is time-consuming in the long term...
Guest Tom G Posted June 23, 2010 Report Posted June 23, 2010 Why? That was an easy fix ;) What app_info problem do you mean? I haven't got any related errors I think. Did you enable CONFIG_USB_AUTO_INSTALL? app_info looks like it is some additions to procfs written by huawei. It should not be needed. fs/built-in.o: In function `app_version_read_proc': fs/proc/app_info.c:196: undefined reference to `get_hw_sub_board_id' fs/proc/app_info.c:198: undefined reference to `get_hw_sub_board_id' fs/proc/app_info.c:200: undefined reference to `get_hw_sub_board_id' fs/proc/app_info.c:202: undefined reference to `get_hw_sub_board_id' fs/proc/app_info.c:206: undefined reference to `get_hw_sub_board_id' fs/built-in.o:fs/proc/app_info.c:211: more undefined references to `get_hw_sub_board_id' follow fs/built-in.o: In function `app_version_read_proc': fs/proc/app_info.c:215: undefined reference to `get_lcd_panel_name' At the moment I have CONFIG_USB_FUNCTION disabled which is a requirement for CONFIG_USB_AUTO_INSTALL, so no its not enabled.
Guest BigBearMDC Posted June 23, 2010 Report Posted June 23, 2010 app_info looks like it is some additions to procfs written by huawei. It should not be needed. fs/built-in.o: In function `app_version_read_proc': fs/proc/app_info.c:196: undefined reference to `get_hw_sub_board_id' fs/proc/app_info.c:198: undefined reference to `get_hw_sub_board_id' fs/proc/app_info.c:200: undefined reference to `get_hw_sub_board_id' fs/proc/app_info.c:202: undefined reference to `get_hw_sub_board_id' fs/proc/app_info.c:206: undefined reference to `get_hw_sub_board_id' fs/built-in.o:fs/proc/app_info.c:211: more undefined references to `get_hw_sub_board_id' follow fs/built-in.o: In function `app_version_read_proc': fs/proc/app_info.c:215: undefined reference to `get_lcd_panel_name'[/code] At the moment I have CONFIG_USB_FUNCTION disabled which is a requirement for CONFIG_USB_AUTO_INSTALL, so no its not enabled. Oh okay, that's exactly the error that I'm facing too. How to disable it?
Guest gusthy Posted June 23, 2010 Report Posted June 23, 2010 I dropped a topic to huaweidevice.com about missing source files just in case...
Guest BigBearMDC Posted June 23, 2010 Report Posted June 23, 2010 (edited) I dropped a topic to huaweidevice.com about missing source files just in case... optimist :) No, just kidding, thanks ;) But you should post it here :( Edited June 23, 2010 by BigBearMDC
Guest gusthy Posted June 23, 2010 Report Posted June 23, 2010 optimist ;) No, just kidding, thanks ;) But you should post it here :D :()) Well, dunno how to post there, i dont speak chinese :)
Guest BigBearMDC Posted June 23, 2010 Report Posted June 23, 2010 ;))) Well, dunno how to post there, i dont speak chinese :( That's no problem:登录 (login)发表主题 (reply)标题 (topicname)有人回复时给我发邮件 (email notification of replies)校验码 (verification code)hit the middle button Finished :)
Guest BigBearMDC Posted June 23, 2010 Report Posted June 23, 2010 (edited) Tom G, get_hw_sub_board_id is declared in linux/hardware_self_adapt.h. I even added extern hw_ver_sub_type get_hw_sub_board_id(void); to the app_info.c source, but the compiler still mucks around =/ Edited June 23, 2010 by BigBearMDC
Guest Simon O Posted June 23, 2010 Report Posted June 23, 2010 That's no problem:登录 (login)发表主题 (reply)标题 (topicname)有人回复时给我发邮件 (email notification of replies)校验码 (verification code)hit the middle buttonFinished :( And if that doesn't work, insult them in Chinese ;)
Guest ogiogi Posted June 23, 2010 Report Posted June 23, 2010 That's no problem:登录 (login)发表主题 (reply)标题 (topicname)有人回复时给我发邮件 (email notification of replies)校验码 (verification code)hit the middle buttonFinished ;) 我也说中文 :(
Guest BigBearMDC Posted June 23, 2010 Report Posted June 23, 2010 (edited) And if that doesn't work, insult them in Chinese ;) Exactly :) 我也说中文 :( Вы говорите русский тоже? :D ;) Edited June 23, 2010 by BigBearMDC
Guest gusthy Posted June 23, 2010 Report Posted June 23, 2010 That's no problem:登录 (login)发表主题 (reply)标题 (topicname)有人回复时给我发邮件 (email notification of replies)校验码 (verification code)hit the middle buttonFinished ;) :()))
Guest Tom G Posted June 23, 2010 Report Posted June 23, 2010 Tom G, get_hw_sub_board_id is declared in linux/hardware_self_adapt.h. I even added extern hw_ver_sub_type get_hw_sub_board_id(void); to the app_info.c source, but the compiler still mucks around =/ just comment it out. I also deletd app_info.c, but that shouldn't be necessary. diff kernel/fs/ clean/fs/ -r Only in clean/fs//proc: app_info.c diff -r kernel/fs//proc/Makefile clean/fs//proc/Makefile 29c29 < # proc-y += app_info.o --- > proc-y += app_info.o diff -r kernel/fs//proc/root.c clean/fs//proc/root.c 121c121 < /* proc_app_info_init(); */ --- > proc_app_info_init(); now onto the msm_vfe7x.c problems.
Guest ogiogi Posted June 23, 2010 Report Posted June 23, 2010 Вы говорите русский тоже? :( :) Noo. Chỉ có Việt ;)
Guest BigBearMDC Posted June 23, 2010 Report Posted June 23, 2010 just comment it out. I also deletd app_info.c, but that shouldn't be necessary. diff kernel/fs/ clean/fs/ -r Only in clean/fs//proc: app_info.c diff -r kernel/fs//proc/Makefile clean/fs//proc/Makefile 29c29 < # proc-y += app_info.o --- > proc-y += app_info.o diff -r kernel/fs//proc/root.c clean/fs//proc/root.c 121c121 < /* proc_app_info_init(); */ --- > proc_app_info_init();[/code] now onto the msm_vfe7x.c problems. Okay. I don't even fully understand that piece of code :( hw_ver_sub_type is an enumeration, so hw_sub_board_id has to be an enumeration too. Why are they calling it like a function and even explicetly typecast it to a character??? I don't get it ... ;) Have I misunderstood the syntax?
Guest gusthy Posted June 23, 2010 Report Posted June 23, 2010 Exactly :( Вы говорите русский тоже? :) :D Da ;)
Guest Tom G Posted June 23, 2010 Report Posted June 23, 2010 Okay. I don't even fully understand that piece of code :( hw_ver_sub_type is an enumeration, so hw_sub_board_id has to be an enumeration too. Why are they calling it like a function and even explicetly typecast it to a character??? I don't get it ... ;) Have I misunderstood the syntax? I didn't really look much at what the code does (and I don't really know C so I wouldn't know if its wrong anyway). The diff output I posted basically says comment out one line in fs/proc/Makefile and one line in fs/proc/root.c. Just search for app_info in them and comment out the line.
Guest gusthy Posted June 23, 2010 Report Posted June 23, 2010 Tom G, get_hw_sub_board_id is declared in linux/hardware_self_adapt.h. I even added extern hw_ver_sub_type get_hw_sub_board_id(void); to the app_info.c source, but the compiler still mucks around =/ yep, it compiles all the files that call this, but the function itself is missing Do we now what is sub_board_id for pulse?
Guest gusthy Posted June 23, 2010 Report Posted June 23, 2010 yep, it compiles all the files that call this, but the function itself is missing Do we now what is sub_board_id for pulse? Hey, dont deal with this, simply comment out its usages, it is not used for pulse: pulse is neither U8120, nor U8150, and it isnt any of msm7x25, so we dont have to deal with it
Guest rjm2k Posted June 23, 2010 Report Posted June 23, 2010 Hey, dont deal with this, simply comment out its usages, it is not used for pulse: pulse is neither U8120, nor U8150, and it isnt any of msm7x25, so we dont have to deal with it hmm, interesting, I compiled it out of the box (except for removing include/asm), no errors at all. let me know which output file is of interest and I'll attach it here for someone to try, this was using the .config that came with the tar
Guest gusthy Posted June 23, 2010 Report Posted June 23, 2010 hmm, interesting, I compiled it out of the box (except for removing include/asm), no errors at all. let me know which output file is of interest and I'll attach it here for someone to try, this was using the .config that came with the tar That one is for Pulse Mini, thats why it compiled
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now