Jump to content

Pulse Mini Kernel Source


Guest rjm2k

Recommended Posts

Guest BigBearMDC
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 :(

Link to comment
Share on other sites

Guest Tom G
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).

Link to comment
Share on other sites

Guest BigBearMDC
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?

Link to comment
Share on other sites

Guest gusthy
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...

Link to comment
Share on other sites

Guest Tom G
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.

Link to comment
Share on other sites

Guest BigBearMDC
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?

Link to comment
Share on other sites

Guest BigBearMDC
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 by BigBearMDC
Link to comment
Share on other sites

Guest BigBearMDC
;)))

Well, dunno how to post there, i dont speak chinese :(

That's no problem:

  1. 登录 (login)
  2. 发表主题 (reply)
  3. 标题 (topicname)
  4. 有人回复时给我发邮件 (email notification of replies)
  5. 校验码 (verification code)
  6. hit the middle button

Finished :)

Link to comment
Share on other sites

Guest BigBearMDC

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 by BigBearMDC
Link to comment
Share on other sites

Guest Simon O
That's no problem:
  1. 登录 (login)
  2. 发表主题 (reply)
  3. 标题 (topicname)
  4. 有人回复时给我发邮件 (email notification of replies)
  5. 校验码 (verification code)
  6. hit the middle button
Finished :(

And if that doesn't work, insult them in Chinese ;)

Link to comment
Share on other sites

Guest ogiogi
That's no problem:
  1. 登录 (login)
  2. 发表主题 (reply)
  3. 标题 (topicname)
  4. 有人回复时给我发邮件 (email notification of replies)
  5. 校验码 (verification code)
  6. hit the middle button
Finished ;)

我也说中文 :(

Link to comment
Share on other sites

Guest BigBearMDC
And if that doesn't work, insult them in Chinese ;)

Exactly :)

我也说中文 :(

Вы говорите русский тоже?

:D ;)

Edited by BigBearMDC
Link to comment
Share on other sites

Guest gusthy
That's no problem:
  1. 登录 (login)
  2. 发表主题 (reply)
  3. 标题 (topicname)
  4. 有人回复时给我发邮件 (email notification of replies)
  5. 校验码 (verification code)
  6. hit the middle button
Finished ;)

:()))

Link to comment
Share on other sites

Guest Tom G
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.

Link to comment
Share on other sites

Guest BigBearMDC
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?

Link to comment
Share on other sites

Guest Tom G
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.

Link to comment
Share on other sites

Guest gusthy
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?

Link to comment
Share on other sites

Guest gusthy
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

Link to comment
Share on other sites

Guest rjm2k
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

Link to comment
Share on other sites

Guest gusthy
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

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.