• Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.

Ubuntu Linux 11.04 (natty) on Vega (update 13/4)

209 posts in this topic

Posted (edited) · Report post

Update 13/4:

* Working unity-2d

Update 31/3:

* Replaced onboard virtual keyboard with florence

* Fixed wifi to work more consistently

Here is an updated photo of ubuntu running on the vega:

2011-03-31_15-35-49_788.jpg

Update: Sample root, kernel and initrd image now available from http://www.adebenham.com/vega/

To use

* first download linux-kern.img and vega_root.tgz from the above site

* Partition your microSD so that there is a partition set aside for the linux install. Make sure to format this partition as ext3

* Extract the vega_root.tgz to this new partition - this needs to be done as root so that the permissions can be set correctly

* The prebuilt kernel image assumes that root in on the second partition of the SD card - if this is not so then you will need to rebuild the linux-kern.img (see instructions below)

* Put the microsd into your vega ready to use

* Boot the vega into nvflash mode (via back+power button)

* Flash the created boot.img via "./nvflash -w --bl ./bootloader.bin --download 7 linux-kern.img --go"

* You should now be able to boot the vega into ubuntu!

Note: gdm can take a long time to login - you can skip the wait by logging into the console as root and running 'service gdm start' or you can just wait a moment until udev finishes its work.

The default user is 'ubuntu' with password 'ubuntu' and the root user has the password 'root'

There is a problem with libc6 2.13 so if you accidentally update libc you can re-install the 2.12 version by running 'dpkg -i /root/glibc/*' as I have saved a copy of the package in there

Working: Wifi, graphics (via tegra drivers), touchscreen (single-point), usb host (for keyboard etc)

Non-working: Sound, bluetooth

How to manually rebuild the linux-kern.img:

* To do this download initrd.img-2.6.32-custom and zImage from the above site

* Create a suitable boot.img via (that should all be on one line)

mkbootimg --kernel zImage --ramdisk initrd.img-2.6.32-custom --cmdline "root=/dev/mmcblk3p2 rootdelay=5 rw mem=448M@0M
nvmem=64M@448M vmalloc=192M init=/sbin/init video=tegrafb console=tty0,115200n8 usbcore.old_scheme_first=1 mtdparts=tegra_nand:2048K@6784K(misc),5120K@9344K(recovery),8192K@14976K(boot),1
496K@23680K(system),32768K@146688K(cache),4096K@179968K(staging),339200K@184576(
serdata)"
-o linux-kern.img[/codebox]

* This will create a linux-kern.img file suitable for flashing. It assumes the root filesystem is on /dev/mmcblk3p2 (which is the second partition on your microSD card) but you can change it as needed.

----

I have ubuntu 11.04 mostly working on my vega now but there were a few issues on the way.

Here is a basic/general guide on how to get it working (note: this is not for the faint of heart as yet)

It's more of a brain dump of how I got things working and probably not easy to follow.

Once I'm happy with things I'll work on uploading a copy of the root filesystem and kernel I am using to make it easier for others to try it

* Download natty-arm minimal root image from http://elinux.org/BeagleBoardUbuntu#Natty_11.04_Development

* Partition microsd card to have a ext3 partition of at least 2g

* Extract the rootfs from downloaded natty-arm minimal image to that partition

* Copy /system/lib/hw/wlan from existing/working android system (this contains the pre-compiled wireless LAN kernel module)

* Grab vega kernel source from git and apply kmsg patch from https://bugs.launchpad.net/ubuntu/+source/l...-syscalls.patch

* Next recompile the kernel with CONFIG_SIGNALFD enabled and CONFIG_ANDROID_PARANOID_NETWORK disabled

* Flash that kernel with the initrd from the minimal image via (Change the 'root=/dev/mmcblk3p2' to whichever partition the root filesystem is on):

mkbootimg --kernel android_kernel_advent_vega/arch/arm/boot/zImage --ramdisk initrd.img-2.6.32-custom --cmdline "root=/dev/mmcblk3p2 rootdelay=5 rw mem=448M@0M nvmem=64M@448M vmalloc=192M init=/sbin/init video=tegrafb console=tty0,115200n8 usbcore.old_scheme_first=1 mtdparts=tegra_nand:2048K@6784K(misc),5120K@9344K(recovery),8192K@14976K(boot),1

2496K@23680K(system),32768K@146688K(cache),4096K@179968K(staging),339200K@184576

(userdata) " -o linux-kern.img

* The first seen on booting is that the libc that comes with natty causes a bunch of instruction alignment errors.

I worked around this by grabbing an older version from ports.ubuntu.com

The files needed were:

- libc6_2.12.1-0ubuntu10.2_armel.deb

- libc6-dev_2.12.1-0ubuntu10.2_armel.deb

- libc-bin_2.12.1-0ubuntu10.2_armel.deb

- libc-dev-bin_2.12.1-0ubuntu10.2_armel.deb

- libnih1_1.0.2-1ubuntu2_armel.deb

- libnih-dbus1_1.0.2-1ubuntu2_armel.deb

- upstart_0.6.6-4_armel.deb

They were downloaded on a separate machine, copied to the rootfs so that they could be installed manually later

* Once these were installed the machine was able to boot into gdm and work correctly

Update: Found how to recompile the wlan module so now can make more changes to kernel - such as swap and sysv ipc support

See http://armin762.wordpress.com/2010/05/24/n...s-6002-working/

Update: If you are getting compile errors about "undefined reference to `__aeabi_uldivmod'" then apply the following patch : http://www.linux-arm.org/git?p=linux-2.6-l...c0f9d243359d5f8

Edited by hybr1d
0

Share this post


Link to post
Share on other sites

Posted · Report post

You're a god man - You really are.

Is it fast?

0

Share this post


Link to post
Share on other sites

Posted · Report post

This all sounds very interesting mate.

Please keep us updated on how things go and once its usable and the install procedue is little easier to follow i would be looking forward to giving it a go.

Thanks for all your hard and effort in bringing us something else to play with on our vegas.

Jason.

0

Share this post


Link to post
Share on other sites

Posted · Report post

I'm liking the sound of this. I'd love to see Ubuntu running on this. What os did you use to perform the install?

0

Share this post


Link to post
Share on other sites

Posted · Report post

As a massive Ubuntu fan I would be very interested in this if you get it going. Excellent work!!

0

Share this post


Link to post
Share on other sites

Posted · Report post

Can you please explain a little more detail these three paragraphs.

Copy /system/lib/hw/wlan from existing/working android system (this contains the pre-compiled wireless LAN kernel module)

* Grab vega kernel source from git and apply kmsg patch from https://bugs.launchpad.net/ubuntu/+source/l...-syscalls.patch

* Next recompile the kernel with CONFIG_SIGNALFD enabled and CONFIG_ANDROID_PARANOID_NETWORK disabled

I jam on how to compile the kernel. kernel to use? MoDaCo?

thanks in advance.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Can you please explain a little more detail these three paragraphs.

Copy /system/lib/hw/wlan from existing/working android system (this contains the pre-compiled wireless LAN kernel module)

* Grab vega kernel source from git and apply kmsg patch from https://bugs.launchpad.net/ubuntu/+source/l...-syscalls.patch

* Next recompile the kernel with CONFIG_SIGNALFD enabled and CONFIG_ANDROID_PARANOID_NETWORK disabled

I jam on how to compile the kernel. kernel to use? MoDaCo?

thanks in advance.

Yes, use the kernel source from modaco (http://android.modaco.com/content/advent-vega-vega-modaco-com/330834/advent-vega-kernel-source-code-now-available/)

For the kernel config you can use the config file attached to this post (just uncompress, rename to .config, place in the kernel source directory and then run 'make oldconfig')

In relation to the wlan modules - I've actually found the source code for this so there is no longer a need to copy from a running android install.

(see the first post)

config.gz

0

Share this post


Link to post
Share on other sites

Posted · Report post

Sweet work mate. Thanks. Will watch this with great interest. How's the touch screen support in Ubuntu? I'm still running Fiesty Fawn on my main machine and haven't really tinkered with it lately. Are you using Unity?

I know how to make a boot image, but not a lot about initrd and the bootloader. Do you know a bit about them? I'm wondering if there's a possibility of getting GRUB or similar running?

Anyway, thanks for the contribution. Can see a geekfest weekend coming up!

0

Share this post


Link to post
Share on other sites

Posted · Report post

Sweet work mate. Thanks. Will watch this with great interest. How's the touch screen support in Ubuntu? I'm still running Fiesty Fawn on my main machine and haven't really tinkered with it lately. Are you using Unity?

I know how to make a boot image, but not a lot about initrd and the bootloader. Do you know a bit about them? I'm wondering if there's a possibility of getting GRUB or similar running?

Anyway, thanks for the contribution. Can see a geekfest weekend coming up!

Touch screen works fine (but only single-point at this stage - will look at it more once I fix up the eglibc issues)

The eglibc problems are also causing unity to fail so I'm just running a normal gnome desktop

In relation to the boot image - have a look at the 'kernel source released' thread as it is described in there and also check out http://wiki.cyanogenmod.com/index.php?titl...nel_from_source

I don't think grub will be possible (never heard of grub working on arm) but my curiosity has been raised so I might look into that :huh:

0

Share this post


Link to post
Share on other sites

Posted · Report post

Touch screen works fine (but only single-point at this stage - will look at it more once I fix up the eglibc issues)

The eglibc problems are also causing unity to fail so I'm just running a normal gnome desktop

In relation to the boot image - have a look at the 'kernel source released' thread as it is described in there and also check out http://wiki.cyanogenmod.com/index.php?titl...nel_from_source

I don't think grub will be possible (never heard of grub working on arm) but my curiosity has been raised so I might look into that :huh:

Grub doesn't look possible (relies on firmware/MBR capabilities not available on arm) but u-boot may be do-able

0

Share this post


Link to post
Share on other sites

Posted · Report post

Have you got a gui up and running with it or is it just the backend command line interface you have up.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Have you got a gui up and running with it or is it just the backend command line interface you have up.

Full gui up and running - even firefox/openoffice works

Just not that fast as yet due to non-accelerated X drivers

0

Share this post


Link to post
Share on other sites

Posted · Report post

Take it you are using Gnome for the GUI, have you given XFCE a go its less resource intensive. I used to use it on an older system that I couldn't get drivers for the graphics card for so I needed the extra performance boost and it's actually just as good as gnome.

Have you tried the current release 10.10 netbook edition in the arm flavour it has some tablet based tools? Or is there something changed in 11.04 that is necessary? Just seems to me it might be easier with the stable version rather than the beta that way you can distinguish beta problems from vega/Tegra problems.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Take it you are using Gnome for the GUI, have you given XFCE a go its less resource intensive. I used to use it on an older system that I couldn't get drivers for the graphics card for so I needed the extra performance boost and it's actually just as good as gnome.

Have you tried the current release 10.10 netbook edition in the arm flavour it has some tablet based tools? Or is there something changed in 11.04 that is necessary? Just seems to me it might be easier with the stable version rather than the beta that way you can distinguish beta problems from vega/Tegra problems.

I haven't tried xfce as yet because the aim is to get unity working on it (due to unity being more finger-friendly)

I am just using gnome at the moment because it was already there :huh: Also, I have customized my gnome install to use less cpu memory (I'm pretty much just running the panel+metacity)

The desire to get unity working is also why I am using 11.04 instead of 10.10 (also when I had 10.10 running it did not support the touchscreen)

0

Share this post


Link to post
Share on other sites

Posted · Report post

I haven't tried xfce as yet because the aim is to get unity working on it (due to unity being more finger-friendly)

I am just using gnome at the moment because it was already there :) Also, I have customized my gnome install to use less cpu memory (I'm pretty much just running the panel+metacity)

The desire to get unity working is also why I am using 11.04 instead of 10.10 (also when I had 10.10 running it did not support the touchscreen)

Nice work! I don't really know much about the underlying workings of linux - I've just installed modules, messed around with terminals, and compiled some code before, but I'm not sure if I could help to fix things for you.

I would love to test it though. :huh:

0

Share this post


Link to post
Share on other sites

Posted · Report post

I haven't tried xfce as yet because the aim is to get unity working on it (due to unity being more finger-friendly)

I am just using gnome at the moment because it was already there :) Also, I have customized my gnome install to use less cpu memory (I'm pretty much just running the panel+metacity)

The desire to get unity working is also why I am using 11.04 instead of 10.10 (also when I had 10.10 running it did not support the touchscreen)

There is a unity 2d version for 10.10, I'm currently running it on my netbook, http://www.webupd8.org/2011/01/unity-2d-qt...in-ppa-for.html

This might be less processor intensive on our lovely wee devices :huh:

0

Share this post


Link to post
Share on other sites

Posted · Report post

How about virtual keyboard? It has one or you have to install( it's possible, right)?

0

Share this post


Link to post
Share on other sites

Posted · Report post

How about virtual keyboard? It has one or you have to install( it's possible, right)?

Here is a photo of the current status http://twitpic.com/456ypz

'onboard' is the virtual keyboard seen

0

Share this post


Link to post
Share on other sites

Posted · Report post

Sorry to bother you but I can not compile the kernel, I have taken the following steps:

1.Download natty image and transfer to partiotion ext3 on my SD. (OK)

2.Download Kernel MODACO to git and extract in a folder android_kernel_advent_vega(OK)

3.i copy modules wlan of android rom ,but I do not know where to put them.

4.copy patch in folder of kernel an aplly the patch with the command:

patch -p0 < (file name).patch

(and the output is 4 FAILS)

5.Copy .config in the kernel

6.make oldconfig

ask me lot of things! spend all the enter.

I see that many things are answered by default.

(surely this is my big mistake)

Thanks in advance.

PS: I saw the picture with virtual keyboard and I can not endure more ...

0

Share this post


Link to post
Share on other sites

Posted · Report post

4.copy patch in folder of kernel an aplly the patch with the command:

patch -p0 < (file name).patch

(and the output is 4 FAILS)

Not used patch before, but a quick man patch told me that doesn't look quite right.

diff --git a/fs/proc/kmsg.c b/fs/proc/kmsg.c

The -p(NUMBER) flag strips characters from the start of the parameters. Directories a and b, do not exist. So the files

you're patching, wont be found.

Try :

patch -p2 < filename.patch

Good luck :huh:

PS, Whole thread is awesome btw, thanks for all of your work! WRT Kernel options, did you just compile with default

options except the ones specified in OP?

Zeb

0

Share this post


Link to post
Share on other sites

Posted · Report post

Try :

patch -p2 < filename.patch

Just tried it and I got some failures too. However, if you rename all the a/ and b/ within the diff output to absolute

filepaths and use the -p0 flag, it all works successfully!

Good Luck :huh:

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hey all,

I'm having some trouble compiling the kernel.

Despite the patch applying properly, I get plenty of warnings and various errors such as undefined constants (SZ_256K) and undefined references to various methods.

Have I missed any patches or are there any other compilation options I should choose? (I chose all default other than the specified ones).

I downloaded the latest version from github (from master) so I assume my source is up to date as far as that branch is concerned.

Many thanks in advance,

Zeb

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

drivers/mmc/core/mmc.c: In function ‘mmc_read_ext_csd’:

drivers/mmc/core/mmc.c:238: error: ‘SZ_256K’ undeclared (first use in this function)

drivers/mmc/core/mmc.c:238: error: (Each undeclared identifier is reported only once

drivers/mmc/core/mmc.c:238: error: for each function it appears in.)

Defined as : #define SZ_256K 0x00040000

in some other files - inserted definition.

---------------------------------------------------------------------------------------------------

drivers/rtc/alarm.c:16:27: error: asm/mach/time.h: No such file or directory

drivers/rtc/alarm.c: In function ‘alarm_suspend’:

drivers/rtc/alarm.c:404: error: implicit declaration of function ‘save_time_delta’

Added

-I$(srctree)/arch/arm/include \

To LINUXINCLUDE definition in makefile.

------------------------------------------------------------------------------------------

drivers/built-in.o: In function `alarm_suspend':

alarm.c:(.text+0xea592): undefined reference to `save_time_delta'

drivers/built-in.o: In function `bat_proc_write':

(.text+0xf0a77): undefined reference to `nvec_battery_start'

drivers/built-in.o: In function `bat_proc_write':

(.text+0xf0a96): undefined reference to `nvec_battery_stop'

Added to alarm.c

#include <drivers/power/nvec_battery.c>

To LINUXINCLUDE

-I$(srctree) \

---------------------------------------------------------------------------------------------------

(Doesn't fit on my terminal)

 d (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:196: error: ‘NVODM_BATTERY_STATUS_DISCHARGING’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: At top level:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:212: error: expected declaration specifiers or ‘...’ before ‘NvOdmBatteryInstance’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: In function ‘tegra_get_battery_tech’:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:214: error: ‘NvOdmBatteryChemistry’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:214: error: expected ‘;’ before ‘chemistry’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:216: error: implicit declaration of function ‘NvOdmBatteryGetBatteryChemistry’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:216: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:217: error: ‘inst’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:217: error: ‘chemistry’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:220: error: ‘NvOdmBatteryChemistry_NICD’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:224: error: ‘NvOdmBatteryChemistry_NIMH’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:228: error: ‘NvOdmBatteryChemistry_LION’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:232: error: ‘NvOdmBatteryChemistry_LIPOLY’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:236: error: ‘NvOdmBatteryChemistry_XINCAIR’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:237: error: ‘NvOdmBatteryChemistry_Alkaline’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: At top level:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:244: error: expected ‘)’ before ‘*’ token

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:277: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tegra_battery_data’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: In function ‘tegra_power_get_property’:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:322: error: ‘NvOdmBatteryAcLineStatus’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:322: error: expected ‘;’ before ‘status’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:323: error: implicit declaration of function ‘NvOdmBatteryGetAcLineStatus’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:323: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:324: error: ‘status’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:327: error: ‘NvOdmBatteryAcLine_Online’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: In function ‘tegra_battery_get_property’:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:342: error: ‘NvU8’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:342: error: expected ‘;’ before ‘name’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:343: warning: ISO C90 forbids mixed declarations and code

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:344: error: expected ‘;’ before ‘state’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:349: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:350: error: ‘NvOdmBatteryInst_Main’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:350: error: ‘state’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:353: error: ‘NVODM_BATTERY_STATUS_UNKNOWN’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:354: error: ‘struct tegra_battery_dev’ has no member named ‘present’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:354: error: ‘NV_FALSE’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:356: error: ‘NVODM_BATTERY_STATUS_NO_BATTERY’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:357: error: ‘struct tegra_battery_dev’ has no member named ‘present’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:359: error: ‘NVODM_BATTERY_STATUS_CHARGING’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:360: error: ‘struct tegra_battery_dev’ has no member named ‘present’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:360: error: ‘NV_TRUE’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:362: error: ‘NVODM_BATTERY_STATUS_DISCHARGING’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:363: error: ‘struct tegra_battery_dev’ has no member named ‘present’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:365: error: ‘NVODM_BATTERY_STATUS_IDLE’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:366: error: ‘struct tegra_battery_dev’ has no member named ‘present’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:370: error: ‘struct tegra_battery_dev’ has no member named ‘present’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:371: error: ‘struct tegra_battery_dev’ has no member named ‘voltage’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:372: error: ‘struct tegra_battery_dev’ has no member named ‘current_ma’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:373: error: ‘struct tegra_battery_dev’ has no member named ‘current_avg’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:374: error: ‘struct tegra_battery_dev’ has no member named ‘temp’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:375: error: ‘struct tegra_battery_dev’ has no member named ‘percent_remain’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:376: error: ‘struct tegra_battery_dev’ has no member named ‘lifetime’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:377: error: ‘struct tegra_battery_dev’ has no member named ‘consumed’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:378: error: ‘struct tegra_battery_dev’ has no member named ‘capacity’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:379: error: ‘struct tegra_battery_dev’ has no member named ‘capacity_crit’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:380: error: ‘struct tegra_battery_dev’ has no member named ‘capacity_remain’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:390: error: implicit declaration of function ‘tegra_battery_data’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:391: error: ‘struct tegra_battery_dev’ has no member named ‘percent_remain’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:399: error: ‘struct tegra_battery_dev’ has no member named ‘present’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:406: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:411: error: ‘struct tegra_battery_dev’ has no member named ‘present’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:415: error: ‘struct tegra_battery_dev’ has no member named ‘present’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:419: error: ‘NVODM_BATTERY_STATUS_HIGH’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:420: error: ‘NVODM_BATTERY_STATUS_LOW’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:421: error: ‘NVODM_BATTERY_STATUS_CRITICAL’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:425: error: ‘struct tegra_battery_dev’ has no member named ‘present’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:432: error: too many arguments to function ‘tegra_get_battery_tech’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:437: error: ‘struct tegra_battery_dev’ has no member named ‘percent_remain’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:441: error: ‘struct tegra_battery_dev’ has no member named ‘voltage’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:445: error: ‘struct tegra_battery_dev’ has no member named ‘current_ma’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:449: error: ‘struct tegra_battery_dev’ has no member named ‘current_avg’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:453: error: ‘struct tegra_battery_dev’ has no member named ‘capacity_remain’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:457: error: ‘struct tegra_battery_dev’ has no member named ‘capacity’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:461: error: ‘struct tegra_battery_dev’ has no member named ‘capacity_crit’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:466: error: ‘struct tegra_battery_dev’ has no member named ‘temp’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:470: error: implicit declaration of function ‘NvOdmBatteryGetModel’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:470: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:471: error: ‘name’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:478: error: implicit declaration of function ‘NvOdmBatteryGetManufacturer’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:478: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: In function ‘tegra_battery_poll_timer_func’:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:498: error: ‘struct tegra_battery_dev’ has no member named ‘batt_status_poll_period’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: At top level:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:501: warning: ‘struct nvec_device’ declared inside parameter list

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:501: warning: its scope is only this definition or declaration, which is probably not what you want

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: In function ‘nvec_battery_probe’:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:504: error: ‘NvError’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:504: error: expected ‘;’ before ‘ErrorStatus’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:505: error: ‘NvBool’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:505: error: expected ‘;’ before ‘result’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:513: error: ‘ErrorStatus’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:513: error: implicit declaration of function ‘NvOsSemaphoreCreate’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:513: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmSemaphore’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:514: error: ‘NvSuccess’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:519: error: ‘struct tegra_battery_dev’ has no member named ‘exitThread’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:519: error: ‘NV_FALSE’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:520: error: implicit declaration of function ‘NvOsThreadCreate’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:522: error: ‘struct tegra_battery_dev’ has no member named ‘hBattEventThread’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:528: error: ‘result’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:528: error: implicit declaration of function ‘NvOdmBatteryDeviceOpen’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:528: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:529: error: ‘NvOdmOsSemaphoreHandle’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:529: error: expected expression before ‘)’ token

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:530: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:536: error: dereferencing pointer to incomplete type

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:540: error: ‘struct tegra_battery_dev’ has no member named ‘batt_status_poll_period’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:543: error: ‘struct tegra_battery_dev’ has no member named ‘batt_status_poll_period’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:545: error: dereferencing pointer to incomplete type

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:560: error: ‘struct tegra_battery_dev’ has no member named ‘exitThread’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:560: error: ‘NV_TRUE’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:561: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmSemaphore’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:562: error: implicit declaration of function ‘NvOsSemaphoreSignal’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:562: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmSemaphore’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:563: error: implicit declaration of function ‘NvOsSemaphoreDestroy’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:563: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmSemaphore’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:564: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmSemaphore’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:567: error: ‘struct tegra_battery_dev’ has no member named ‘hBattEventThread’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:568: error: implicit declaration of function ‘NvOsThreadJoin’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:568: error: ‘struct tegra_battery_dev’ has no member named ‘hBattEventThread’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:571: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:572: error: implicit declaration of function ‘NvOdmBatteryDeviceClose’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:572: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:573: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: At top level:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:581: warning: ‘struct nvec_device’ declared inside parameter list

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: In function ‘nvec_battery_remove’:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:586: error: ‘struct tegra_battery_dev’ has no member named ‘exitThread’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:586: error: ‘NV_TRUE’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:587: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmSemaphore’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:588: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmSemaphore’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:589: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmSemaphore’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:590: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmSemaphore’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:593: error: ‘struct tegra_battery_dev’ has no member named ‘hBattEventThread’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:594: error: ‘struct tegra_battery_dev’ has no member named ‘hBattEventThread’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:597: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:598: error: dereferencing pointer to incomplete type

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:602: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:603: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: In function ‘nvec_battery_stop’:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:619: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:620: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:621: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: In function ‘nvec_battery_start’:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:628: error: ‘struct tegra_battery_dev’ has no member named ‘hOdmBattDev’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:629: error: ‘NvOdmOsSemaphoreHandle’ undeclared (first use in this function)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:629: error: expected expression before ‘)’ token

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:632: error: ‘struct tegra_battery_dev’ has no member named ‘batt_status_poll_period’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: At top level:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:637: warning: ‘struct nvec_device’ declared inside parameter list

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:644: warning: ‘struct nvec_device’ declared inside parameter list

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: In function ‘nvec_battery_resume’:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:649: error: ‘struct tegra_battery_dev’ has no member named ‘batt_status_poll_period’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: At top level:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:653: error: variable ‘nvec_battery_driver’ has initializer but incomplete type

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:654: error: unknown field ‘name’ specified in initializer

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:654: warning: excess elements in struct initializer

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:654: warning: (near initialization for ‘nvec_battery_driver’)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:655: error: unknown field ‘probe’ specified in initializer

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:655: warning: excess elements in struct initializer

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:655: warning: (near initialization for ‘nvec_battery_driver’)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:656: error: unknown field ‘remove’ specified in initializer

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:656: warning: excess elements in struct initializer

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:656: warning: (near initialization for ‘nvec_battery_driver’)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:657: error: unknown field ‘suspend’ specified in initializer

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:657: warning: excess elements in struct initializer

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:657: warning: (near initialization for ‘nvec_battery_driver’)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:658: error: unknown field ‘resume’ specified in initializer

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:658: warning: excess elements in struct initializer

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:658: warning: (near initialization for ‘nvec_battery_driver’)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:661: error: variable ‘nvec_battery_device’ has initializer but incomplete type

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:662: error: unknown field ‘name’ specified in initializer

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:662: warning: excess elements in struct initializer

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:662: warning: (near initialization for ‘nvec_battery_device’)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:663: error: unknown field ‘driver’ specified in initializer

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:663: warning: excess elements in struct initializer

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:663: warning: (near initialization for ‘nvec_battery_device’)

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: In function ‘nvec_battery_init’:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:671: error: implicit declaration of function ‘nvec_register_driver’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:678: error: implicit declaration of function ‘nvec_register_device’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:682: error: implicit declaration of function ‘nvec_unregister_driver’

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c: In function ‘nvec_battery_exit’:

/home/alex/Desktop/VEGA_UBUNTU/paulobrien-android_kernel_advent_vega-c51ce6e/drivers/power/nvec_battery.c:692: error: implicit declaration of function ‘nvec_unregister_device’

Sorry to fill the page >.<

Yeah.... I don't have time to debug any further right now, I must have missed something?

Edited by Zebrahead
0

Share this post


Link to post
Share on other sites

Posted · Report post

Any more news on this? Am keen to see how it's getting on.

Alternatively, MeeGo: http://twitpic.com/44r7yt <-- Anyone know anything on this?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Any more news on this? Am keen to see how it's getting on.

Alternatively, MeeGo: http://twitpic.com/44r7yt <-- Anyone know anything on this?

Looks like meego on the Pandaboard: http://pandaboard.org

Hard to tell how big the device in that photo is. Could be a Joggler.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.