Haret on Wm6.1 on PXA320 Device - General Questions and Answers

Hi
i am trying to use haret 0.5.2 on WM6.1 to load the Linux got the following from the earlyharet logging after it sais GO GO GO i just got the white screen . can any one help me out
Detected machine Default/generic (Plat='PocketPC' OEM='PXA320 Device')
CPU is Intel ARM arch 5TE revision 2 product 2 stepping 7 running in system mode

here is the attachement of the log file

Related

[TUT] Windows XP for Bochs

Hy everyone,
I thought to make a Tutorial about how to install Windows XP and run it on Android.
------------------------------------------------------------------------
Requirment
At first you have to download Bochs for Android and PC
Android version: http://forum.xda-developers.com/showthread.php?t=1389700
Thanks to korvs2003
PC Version: http://bochs.sourceforge.net/getcurrent.html
Then Download Qemu: http://wiki.qemu.org/Download
You need Windows XP
Android: Install Bochs
PC: Install Bochs and Qemu
--------------------------------------------------------
Creating the bootable image!
1. Open up Bochs for PC and run bximage.exe -> you can find bximage here C:/Program Files/bochs/ | depends on where you have installed it.
2. Create a Image with following: hd, flat, 1500, c.img
hd: It is the format of your boot disk. | fd will create a bootable floppy disk image. For some odd reasons you can use with win 3.11 or something like that.
flat: It means that it has a fixed size.
1500: It is the size of your Image. | you need around 1,5 gb disk space, because the installation of winxp, even you edit it with nlite, wont let you use lower disks -.- , i am trying to solve that problem.
c.img: It is the name of your Image. | choose the name like you want to, but dont forget to edit the bochsrc.txt, else it wont start.
notice: Maybe you have to run bximage.exe as Admin.
--------------------------------------------------------
Install Windows XP in the boot image
1. Open up Qemu
2. Set up a new Virtual Machine
3. As disk use the c.img
4. Configure the cdrom
5. Give the machine around 512 MB - 1 GB RAM if possible
6. start the Virtual machine and run the installation of Windows XP
---------------------------------------------------------
Run the Image on Android
1. create a SDL folder on your SDCARD like here http://forum.xda-developers.com/showthread.php?t=1389700
2. copy your c.img to your SDCARD: sdcard/SDL/c.img
3. now replace the bochsrc.txt lines with:
Code:
megs: 256
cpu: count=1, ips=6000000, reset_on_triple_fault=1, ignore_bad_msrs=1
# filename of ROM images
romimage: file=BIOS-bochs-latest
vgaromimage: file=VGABIOS-lgpl-latest
vga: extension=cirrus, update_freq=25
pci: enabled=1, chipset=i440fx, slot1=cirrus
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata0-master: type=disk, path="c.img"
#ata0-slave: type=disk, path="d.img"
#ata1-master: type=disk, mode=vvfat, path=/sdcard/HDD, journal=vvfat.redolog
#type=cdrom, path="CD.ISO", status=inserted
boot: c
config_interface: textconfig
#display_library: x
# other choices: win32 sdl wx carbon amigaos beos macintosh nogui rfb term svga
log: bochsout.txt
sb16: enabled=1
mouse: enabled=1
sb16: wavemode=1, dmatimer=500000
clock: sync=none, time0=1
For more Information about bochsrc configuration visit http://bochs.sourceforge.net/doc/docbook/user/bochsrc.html
megs: ram in MB you will give the machine.
I use 256 (Xperia Play) 300mb will crash your windows after a while.
4. Run bochs on Android.
Boot will take around 30 min, yeah it is really slow
---------------------------------------------------------
Notice
I used Nlite to resize and optimize windows xp before installing it.
here some screenshots:
http://imageshack.us/photo/my-images/254/screenshot1327566148311.png
http://imageshack.us/photo/my-images/819/screenshot1327565583563.png
http://imageshack.us/photo/my-images/263/screenshot1327569555412.png
http://imageshack.us/photo/my-images/692/screenshot1327569773009.png
http://imageshack.us/photo/my-images/715/screenshot1327569992581.png
More specific options in "Creating the bootable image!"
Can you upload the file c.img ... I dont understand these steps ( AND ALSO DONT WANT TO UNDERSTAND > HEHEHE )
nguyen_vh said:
Can you upload the file c.img ... I dont understand these steps
Click to expand...
Click to collapse
+1+1+1+1+1 !!!!
That CPU count var looks interesting.... maybe we could set it to 2 for dual core phones?
Can u supply .txt for sp3 fundamentals
Sent from my GT-I9100 using XDA App
nguyen_vh said:
Can you upload the file c.img ... I dont understand these steps ( AND ALSO DONT WANT TO UNDERSTAND > HEHEHE )
Click to expand...
Click to collapse
no i cant, because it is not legal to upload windows version =), try it it is very easy to create it.
That CPU count var looks interesting.... maybe we could set it to 2 for dual core phones?
Can u supply .txt for sp3 fundamentals
Click to expand...
Click to collapse
its useless setting it up to 2, because bochs is a single thread programm.
(my english is not the best so plz forgive me )
Updatet Creating the bootable image!
Tonight im trying windows 7 maybe it will boot
Working great on my xperia play after some tweaking around.
I used QEMU Manager 7 to install it as this is one of the more easier options for QEMU.
what kind of tweaks did you use? because my image boots about 30 mins....
umm
interesting...
can be installed apps?
also 1ghz+ phones require 30 min to boot?
so,it is useful or only an hobby
just a hobby, not usefull at all, crashes etc. but you can say: I HAVE WINXP ON MY PHONE!!!
Yes as i toyed with it a bit longer it turns out it does boot fine.
But it is very slow and unusable for me still .
What phones have u used bochs with xp on ?
Sent from my GT-I9100 using XDA App
Xperia play
acocalypso said:
no i cant, because it is not legal to upload windows version =), try it it is very easy to create it.
its useless setting it up to 2, because bochs is a single thread programm.
(my english is not the best so plz forgive me )
Click to expand...
Click to collapse
ITs not EZ at alll =.=.... please... please
---------- Post added at 11:13 AM ---------- Previous post was at 11:05 AM ----------
acocalypso said:
Hy everyone,
I thought to make a Tutorial about how to install Windows XP and run it on Android.
------------------------------------------------------------------------
Requirment
At first you have to download Bochs for Android and PC
Android version: http://forum.xda-developers.com/showthread.php?t=1389700
Thanks to korvs2003
PC Version: http://bochs.sourceforge.net/getcurrent.html
Then Download Qemu: http://wiki.qemu.org/Download
You need Windows XP
Android: Install Bochs
PC: Install Bochs and Qemu
--------------------------------------------------------
Creating the bootable image!
1. Open up Bochs for PC and run bximage.exe -> you can find bximage here C:/Program Files/bochs/ | depends on where you have installed it.
2. Create a Image with following: hd, flat, 1500, c.img
hd: It is the format of your boot disk. | fd will create a bootable floppy disk image. For some odd reasons you can use with win 3.11 or something like that.
flat: It means that it has a fixed size.
1500: It is the size of your Image. | you need around 1,5 gb disk space, because the installation of winxp, even you edit it with nlite, wont let you use lower disks -.- , i am trying to solve that problem.
c.img: It is the name of your Image. | choose the name like you want to, but dont forget to edit the bochsrc.txt, else it wont start.
notice: Maybe you have to run bximage.exe as Admin.
--------------------------------------------------------
Install Windows XP in the boot image
1. Open up Qemu
2. Set up a new Virtual Machine
3. As disk use the c.img
4. Configure the cdrom
5. Give the machine around 512 MB - 1 GB RAM if possible
6. start the Virtual machine and run the installation of Windows XP
---------------------------------------------------------
Run the Image on Android
1. create a SDL folder on your SDCARD like here http://forum.xda-developers.com/showthread.php?t=1389700
2. copy your c.img to your SDCARD: sdcard/SDL/c.img
3. now replace the bochsrc.txt lines with:
Code:
megs: 256
cpu: count=1, ips=6000000, reset_on_triple_fault=1, ignore_bad_msrs=1
# filename of ROM images
romimage: file=BIOS-bochs-latest
vgaromimage: file=VGABIOS-lgpl-latest
vga: extension=cirrus, update_freq=25
pci: enabled=1, chipset=i440fx, slot1=cirrus
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata0-master: type=disk, path="c.img"
#ata0-slave: type=disk, path="d.img"
#ata1-master: type=disk, mode=vvfat, path=/sdcard/HDD, journal=vvfat.redolog
#type=cdrom, path="CD.ISO", status=inserted
boot: c
config_interface: textconfig
#display_library: x
# other choices: win32 sdl wx carbon amigaos beos macintosh nogui rfb term svga
log: bochsout.txt
sb16: enabled=1
mouse: enabled=1
sb16: wavemode=1, dmatimer=500000
clock: sync=none, time0=1
For more Information about bochsrc configuration visit http://bochs.sourceforge.net/doc/docbook/user/bochsrc.html
megs: ram in MB you will give the machine.
I use 256 (Xperia Play) 300mb will crash your windows after a while.
4. Run bochs on Android.
Boot will take around 30 min, yeah it is really slow
---------------------------------------------------------
Notice
I used Nlite to resize and optimize windows xp before installing it.
here some screenshots:
http://imageshack.us/photo/my-images/254/screenshot1327566148311.png
http://imageshack.us/photo/my-images/819/screenshot1327565583563.png
http://imageshack.us/photo/my-images/263/screenshot1327569555412.png
http://imageshack.us/photo/my-images/692/screenshot1327569773009.png
http://imageshack.us/photo/my-images/715/screenshot1327569992581.png
Click to expand...
Click to collapse
How to OPEN UP QeMu... where is it ?
at first you must download qemu see link in first post.
install qemu and start it.
how is the mouse working. we did this with Windows Mobiel but you had to drag the mouse.
do you have to drag it or does the cursor go where you place your finger.
you have to drag it.
acocalypso said:
at first you must download qemu see link in first post.
install qemu and start it.
Click to expand...
Click to collapse
Sent from my SamSungGalaxySII using xda premium
tar.gz file...not exe...... how to install?
Can anyone try this trick with damn small linux or with puppy linux?
Sent from my Desire HD using XDA App

intel bay traill linux support?

hi everyone
ı' am new in here.
ı want to ask does INTEL BAY TRAIL (z3XXX) support to install linux installing? or not why ? (because bootloader or another thing etc..)
There is some variant of windows tablets on market but can ı install ubuntu, arch linux etc? does it support?
sorry my bad englısh
1a) UEFI/BIOS support. looks like for the Asus T100, Asus only gave a 32-bit UEFI bootloader, so there are hacks to go around it. not sure about other devices like Dell Venue 8 Pro (I don't have that much money to buy so many devices)
1b) Secure Boot option to be disabled. If you can't disable Secure Boot, there are ways to get around it (some distros provide a signed UEFI shim that preloads before grub2, but you'll have to get that shim working with 32-bit bootloaders if you hit the problem above in 1a)
2) SoC support. Intel has submitted the Bay Trail SoC to the linux kernel. However, there are still some parts missing (eg open source video driver xf86-video-intel has it somewhat supported with bugs)
here is my WIP on getting ubuntu working on my Asus T100.... only major thing missing is graphics driver, everything else (besides sound) is working
http://forum.xda-developers.com/showthread.php?t=2500078
Baytrail T100 grub won't boot kernel
paperWastage said:
1a) UEFI/BIOS support. looks like for the Asus T100, Asus only gave a 32-bit UEFI bootloader, so there are hacks to go around it. not sure about other devices like Dell Venue 8 Pro (I don't have that much money to buy so many devices)
1b) Secure Boot option to be disabled. If you can't disable Secure Boot, there are ways to get around it (some distros provide a signed UEFI shim that preloads before grub2, but you'll have to get that shim working with 32-bit bootloaders if you hit the problem above in 1a)
2) SoC support. Intel has submitted the Bay Trail SoC to the linux kernel. However, there are still some parts missing (eg open source video driver xf86-video-intel has it somewhat supported with bugs)
here is my WIP on getting ubuntu working on my Asus T100.... only major thing missing is graphics driver, everything else (besides sound) is working
http://forum.xda-developers.com/showthread.php?t=2500078
Click to expand...
Click to collapse
Having a hell of a time getting ubuntu to get past grub.
Tried both Asus T100, and Dell Venue 8 Pro
Rufus (GPT for UEFI + FAT + 64 kb+ bootable disk using ISO Image)
Tried x86_64: ubuntu 13.04, 13.10, Fedora 20
All 6 Combinations, Boot into Grub, but grub throws the following error message every time, when booting the kernel:
"Can't Terminate EFI Services", and go back to grub.
Tried both boot loader binaries: - bootia32.ubuntu_13.04_x64.zip, and bootia32_normal_configfile.zip
From main thread: http://forum.xda-developers.com/showthread.php?p=46861952#post46861952
After that grub error, USB devices are all disabled.
Not sure how to debug further, seems like a grub EFI issue, but can't confirm.
Tried grub debug, using "set debug=all", and the error occurs right after the EFI map is displayed.
Please advise on how to proceed - how can this happen on both T100 and V8P?
M$ ruined baytrail by requiring 32 bit EFI, on a 64 bit system!
I could be wrong, but I thought I remembered seeing a 32 efi folder in Ubuntu GNOME 14.04. I'm not positive because I used the 64 bit installation on my HP Pavilion x2 2-in-1. It has the bay trail graphics. I stumbled upon this thread because I was looking for improved driver support. Right now the only thing not working on my installation (besides bluetooth) is display brightness control.
BayTrailSucks said:
"Can't Terminate EFI Services", and go back to grub.
Click to expand...
Click to collapse
I saw this log from time to time when I've used binaries you've mentioned.
So I've recompiled grub myself from sources taken from: ftp.gnu.org/gnu/grub
I've used version 2.00
To compile grub I've used commands:
./configure \
--with-platform=efi --target=i386 --disable-nls \
--disable-grub-emu-usb --disable-grub-emu-sdl --disable-grub-emu-pci --disable-grub-mkfont \
--disable-device-mapper --disable-libzfs --disable-werror
sed -i -e '/gets is a/d' grub-core/gnulib/stdio.in.h
make -j 2 MAKEINFO=true
make -j 2 install MAKEINFO=true
and then to prepare bootloader binary I've executed:
i386-grub-mkimage -o bootia32.efi -O i386-efi -p /boot/grub ntfs boot cat efi_gop efi_uga elf fat linux keylayouts \
memdisk minicmd ext2 extcmd part_bsd part_gpt search search_fs_file chain \
loadbios loadenv memrw mmap msdospart scsi loopback
For kernel tests I've used kernel 3.12 from kernel.org and 3.13.0-rc8 from repository: git://people.freedesktop.org/~danvet/drm-intel
Kernel 3.12 booted fine when I've added 'video' parameter as was mentioned in paperWastage thread.
For kernel 3.13.0-rc8 I've to revert one commit, see more info in bug 71977 at bugs.freedesktop.org
After I've updated xf86-video-intel to 2.99.907 and libdrm to 2.4.52 I was able to run X server with acceleration:
# glxinfo | grep ren
direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
OpenGL renderer string: Mesa DRI Intel(R) Bay Trail x86/MMX/SSE2
GL_NV_conditional_render, GL_AMD_draw_buffers_blend,
What about hardware accelerated video playback
What about hardware accelerated video playback?
vshalimo said:
What about hardware accelerated video playback?
Click to expand...
Click to collapse
It works. I can use GPU accelerated decoding in vlc compiled with libva support.
-bash-4.2# vainfo
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /kanapi_packages/libva-master/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_34
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.34 (libva 1.2.2.pre1)
vainfo: Driver version: Intel i965 driver - 1.2.3.pre1
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
Battery status
Patch for kernel for battery status has been just added to bug 69011 in kernel bugzilla (I can't put link here)
and it works on ASUS T100TA:
cat /sys/class/power_supply/BATC/uevent
POWER_SUPPLY_NAME=BATC
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=8
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=3750000
POWER_SUPPLY_VOLTAGE_NOW=4174000
POWER_SUPPLY_CURRENT_NOW=1172000
POWER_SUPPLY_CHARGE_FULL_DESIGN=8180000
POWER_SUPPLY_CHARGE_FULL=9595000
POWER_SUPPLY_CHARGE_NOW=9316000
POWER_SUPPLY_CAPACITY=97
POWER_SUPPLY_MODEL_NAME=SR Real Battery
POWER_SUPPLY_MANUFACTURER=Intel SR 1
POWER_SUPPLY_SERIAL_NUMBER=123456789

Boot into Debian or Arch possible on Smartphone? Universal Image for most Devices?

Hello Community!
I am asking myself it is possibe to direkt boot a debian ARM Port or ARCH Linux ARM Port (maybe from SD Card) on my Smartphone? I saw lots of videos booting a Linux on Top of Android but i would like to "natively" run a OS. Where a Custom ROM typically has drivers for a special type of device i am thinking if a very generel distribution could detect most of the devices hardware...
Any Ideas if this would be possible?
AFAIK it's not possible.
Can you give me a (detailled) hint why you think this would not work?
When reading the informations: https://archlinuxarm.org/about/downloads
The released downloads are designed for the specific systems above; however, our package repositories work with any ARM device compatible with ARMv5, ARMv6, ARMv7-a, or ARMv8-a AArch64 instructions.
In TWRP i can select Storage - maybe starting from TWRP command line a image start from SD Card would be possible?
You initially said your goal is to completely replace Android by Linux ( ARCH Linux - what is for tablets only ) on a smartphone, IIRC.
Now you say you want to run Linux ( ARCH Linux ) on top of Android. Confused ...
hello! i meant that my smartphone can start the TWRP bootloader and from there the boot process could be (maybe) handed over to an image at the SD card....
thats the idea... ;-)
TWRP is a Custom Recovery means a restricted Android OS ( like Windows RE for Windows machines), not a bootloader ( what is comparable to UEFI / BIOS on Windows machines ).
The Android bootloader starts the recovery mode and the kernel, which then starts the operating system of your smartphone.

xFSTK downloader for Intel processors

Hi,
I was just wondering if there is any forum specific for xFSTK?
Lots of Android devices have an Intel processor and considering the hugh number of different types of Intel processors it might be worth to have a forum specific for xFSTK, whatever the target processor in the device and whatever the platform xFSTK is running on (Win PC, Linux, Mac).
I'm also asking this because I have a post about xFSTK (see link) but, considering the post is related to an old device, it will probably not get any response while the error(s) in the xFSTK log may also appear with other devices and Intel processors.
Thanks in advance
link:
Intel Atom Z3560 (Moorefield) - Not Flashing Correctly
Hi, I got an old Asus Android S 8.0 Z580CA tablet with above mentioned processor. The bootloader is bricked, so I got a black screen all the time. However, xFSTK downloader running on my Win7 PC seems to communicate with the tablet over USB...
forum.xda-developers.com
Good question. I have found your message because I have the same in mind. What I'm interested in where is the latest and greatest xFSTK is located. So far I found this link: https://github.com/edison-fw/xFSTK/. I don't know if this one is anyhow diverged from the windows versions.
I'm wondering if i can installl windows or linux on the phone using xfstk?

Can NOT install blissos

HW: x86 PC (intel integrated graphic card + NVIDIA graphics card)
SW: Blissos 14.3 (since nvidia card is poorly supported on x86 android, in android-x86_64_defconfig, comment out all NOUVEAU related configs)
Prerequisite: In BIOS, video setup -> IGD (expect to use intel graphic card)
Steps:
1) Install Ubuntu 20.04
2) Use rufus to write .iso image into U disk
3) Insert U disk into x86 PC, reboot x86 PC
4) From boot options, if choose 1st option to start Blissos directly // it's OK to start
5) From boot options, if choose installation of blissos // Why?? display screen is black, can't see any log output, after a while, blocked here, have to ctl+alt+del to reboot system
6) Power off x86 PC, unplug the NVIDIA graphics card
7) Start X86 PC again, it's OK to install Blissos!
8) Power off x86 PC again, plug the NVIDIA graphics card
9) Start X86 PC again, it's still OK to install Blissos!! // Why??
QA:
In step 5, since display screen is black, can't see any log output, it's difficult to know what is happened, could you please check it and give some comments?
After step 6 ~ step 9, if NOT change BIOS to default setting, it's OK to install Blissos for further installations,
for my special enviroment, NVIDIA graphics card of most x86 PCs can't be unplugged, how can I handle this case?
Dear experts, @electrikjesus and @HMTheBoy154 , could you have a look at this issue? thanks a lot

Categories

Resources