Discussion:
Firmaware update mode doesn't working on allwinner a31
Андрей Зворыгин
2013-04-23 10:17:36 UTC
Permalink
Hey guys! Please, help me with my problem. I have Chuwi V10 tablet, and
once day I'd installed Ampe A10 quad core firmware on it. And now, I can't
enter to firmware update mode (Vol+ -> plugin usb cable -> press power many
times) and can't update firmware through Phoenix Suite. I read that it is
possible to create bootable sd-card for allwinner a10 devices. So, that's
my question: how can I make this bootabe sd for allwinner a31?
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
me-kFVMXUcczinmgXItx6QXqFpr/1R2p/
2013-04-23 13:56:19 UTC
Permalink
This post might be inappropriate. Click to display it.
Oliver Schinagl
2013-04-23 14:01:22 UTC
Permalink
Post by me-kFVMXUcczinmgXItx6QXqFpr/1R2p/
So, that's my question: how can I make this bootabe sd for allwinner a31?
Yup, you need to use Phoenix Card - the tool for creating special bootable flash cards. Look here for more info, section 1.1 http://rhombus-tech.net/allwinner_a10/hacking_the_mele_a1000/android/
One thing not mentioned in the above link is that you must only have a single card reader present, otherwise Phoenixcard doesn't work.
I don't know for sure if this tool works on the A31, but it should do if it's generic enough for the Allwinner SoCs.
Wouldn't http://linux-sunxi.org/Sunxi-tools#fel-boot work as well?

If you dd that onto an SD card, hat should force the CPU into FEL mode.
Other then that, you have the fel 'pins' if exposed. If the SD card
doesn't work to get it into fel mode, something might actually be dead.
Oliver Schinagl
2013-04-23 14:03:36 UTC
Permalink
Post by Oliver Schinagl
Post by me-kFVMXUcczinmgXItx6QXqFpr/1R2p/
So, that's my question: how can I make this bootabe sd for allwinner a31?
Yup, you need to use Phoenix Card - the tool for creating special
bootable flash cards. Look here for more info, section 1.1
http://rhombus-tech.net/allwinner_a10/hacking_the_mele_a1000/android/
One thing not mentioned in the above link is that you must only have
a single card reader present, otherwise Phoenixcard doesn't work.
I don't know for sure if this tool works on the A31, but it should do
if it's generic enough for the Allwinner SoCs.
Wouldn't http://linux-sunxi.org/Sunxi-tools#fel-boot work as well?
Hmm, I thought the wiki listed more info then a header, but check out
sunxi-tools on github, fel-boot.c to be precise.
Post by Oliver Schinagl
If you dd that onto an SD card, hat should force the CPU into FEL
mode. Other then that, you have the fel 'pins' if exposed. If the SD
card doesn't work to get it into fel mode, something might actually be
dead.
Андрей Зворыгин
2013-04-23 14:43:55 UTC
Permalink
Thx for help guys. But this methods doesn't work :-( Except sd card tool.
This is my last chance...

×ÔÏÒÎÉË, 23 ÁÐÒÅÌÑ 2013 Ç., 14:17:36 UTC+4 ÐÏÌØÚÏ×ÁÔÅÌØ áÎÄÒÅÊ ú×ÏÒÙÇÉÎ
Post by Андрей Зворыгин
Hey guys! Please, help me with my problem. I have Chuwi V10 tablet, and
once day I'd installed Ampe A10 quad core firmware on it. And now, I can't
enter to firmware update mode (Vol+ -> plugin usb cable -> press power many
times) and can't update firmware through Phoenix Suite. I read that it is
possible to create bootable sd-card for allwinner a10 devices. So, that's
my question: how can I make this bootabe sd for allwinner a31?
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Neal Peacock
2013-04-23 16:07:30 UTC
Permalink
I have seen tablets before with a 'fel boot' button instead of a reset
button. I'm guessing that when you reflashed with a different devices
firmware the key codes for the hardware buttons changed leaving you
unable to enter fel boot mode with the new firmware. I have seen these
codes change between two shipments of the same tablet with the same
control board.
Post by Андрей Зворыгин
Thx for help guys. But this methods doesn't work :-( Except sd card
tool. This is my last chance...
×ÔÏÒÎÉË, 23 ÁÐÒÅÌÑ 2013 Ç., 14:17:36 UTC+4 ÐÏÌØÚÏ×ÁÔÅÌØ áÎÄÒÅÊ
Hey guys! Please, help me with my problem. I have Chuwi V10
tablet, and once day I'd installed Ampe A10 quad core firmware on
it. And now, I can't enter to firmware update mode (Vol+ -> plugin
usb cable -> press power many times) and can't update firmware
through Phoenix Suite. I read that it is possible to create
bootable sd-card for allwinner a10 devices. So, that's my
question: how can I make this bootabe sd for allwinner a31?
--
You received this message because you are subscribed to the Google
Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/groups/opt_out.
--
Neal Peacock
PengPod
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Oliver Schinagl
2013-04-23 16:40:53 UTC
Permalink
Post by Neal Peacock
I have seen tablets before with a 'fel boot' button instead of a reset
button. I'm guessing that when you reflashed with a different devices
firmware the key codes for the hardware buttons changed leaving you
unable to enter fel boot mode with the new firmware. I have seen these
codes change between two shipments of the same tablet with the same
control board.
Those keys are hard-programmed into the BROM, and can't be changed afaik.

But yes, boot0 could in theory be reconfigured for a particular device
and have different keymappings. I don't think customers get the boot0
source however, it's internal to allwinner I belive.
Post by Neal Peacock
Post by Андрей Зворыгин
Thx for help guys. But this methods doesn't work :-( Except sd card
tool. This is my last chance...
I don't think the SD card tool does anything other then what is in
fel-boot.c Basically, the CPU executes that instruction from the SD
card, and jumps directly to fel mode. If that doesn't work, nothing will.

Though I gladly be proven wrong.
Post by Neal Peacock
Post by Андрей Зворыгин
вторник, 23 апреля 2013 г., 14:17:36 UTC+4 пользователь Андрей
Hey guys! Please, help me with my problem. I have Chuwi V10
tablet, and once day I'd installed Ampe A10 quad core firmware on
it. And now, I can't enter to firmware update mode (Vol+ -> plugin
usb cable -> press power many times) and can't update firmware
through Phoenix Suite. I read that it is possible to create
bootable sd-card for allwinner a10 devices. So, that's my
question: how can I make this bootabe sd for allwinner a31?
--
You received this message because you are subscribed to the Google
Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/groups/opt_out.
--
Neal Peacock
PengPod
--
You received this message because you are subscribed to the Google
Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Андрей Зворыгин
2013-04-24 05:42:51 UTC
Permalink
Neal Peacock, can you tell me, where this key codes setting are located?
After wrong firmware update I tried to restore my old partitions with dd
(from nanda to nandi). But key layout has not changed...
Post by Neal Peacock
I have seen tablets before with a 'fel boot' button instead of a reset
button. I'm guessing that when you reflashed with a different devices
firmware the key codes for the hardware buttons changed leaving you unable
to enter fel boot mode with the new firmware. I have seen these codes
change between two shipments of the same tablet with the same control board.
Thx for help guys. But this methods doesn't work :-( Except sd card tool.
This is my last chance...
×ÔÏÒÎÉË, 23 ÁÐÒÅÌÑ 2013 Ç., 14:17:36 UTC+4 ÐÏÌØÚÏ×ÁÔÅÌØ áÎÄÒÅÊ ú×ÏÒÙÇÉÎ
Post by Андрей Зворыгин
Hey guys! Please, help me with my problem. I have Chuwi V10 tablet, and
once day I'd installed Ampe A10 quad core firmware on it. And now, I can't
enter to firmware update mode (Vol+ -> plugin usb cable -> press power many
times) and can't update firmware through Phoenix Suite. I read that it is
possible to create bootable sd-card for allwinner a10 devices. So, that's
my question: how can I make this bootabe sd for allwinner a31?
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
Neal Peacock
PengPod
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Oliver Schinagl
2013-04-24 07:13:58 UTC
Permalink
Post by Андрей Зворыгин
Neal Peacock, can you tell me, where this key codes setting are
located? After wrong firmware update I tried to restore my old
partitions with dd (from nanda to nandi). But key layout has not
changed...
FEL mode (by keypress) is either initiated by the BROM or by boot0. Even
if it is done by boot1, those 3 files are located:
BROM = INSIDE the chip. You cannot ever change it. BROM first tries to
boot from mmc0, then from nand. If those fail (and some other options,
see the wiki) it forcefully boots to FEL mode.
boot0 and boot1 are both stored BEFORE /dev/block/nanda. Normal users
can't really access it. You could a dd if=/dev/zero of=/dev/block/nand
(so whipe the Entire nand device) and boot0/1 would still survive as it
is on a special area before the 'disk'. You'd have to flash a livesuit
image to mess boot0 and boot1 up, and even that's assuming they somehow
obtained a special version from Allwinner with keys swapped which is
EXTEMLY unlikly.

Your best option to enter fel mode is to cross compile boot-fel.c
(instructions inside the C file) and dd that onto an empty SD card
(instructions in the C file).

Then insert the SD card and force a boot (power off/power on) you can
force a power off by holding the power button anywhere from 10 to 30
seconds.
Post by Андрей Зворыгин
I have seen tablets before with a 'fel boot' button instead of a
reset button. I'm guessing that when you reflashed with a
different devices firmware the key codes for the hardware buttons
changed leaving you unable to enter fel boot mode with the new
firmware. I have seen these codes change between two shipments of
the same tablet with the same control board.
Post by Андрей Зворыгин
Thx for help guys. But this methods doesn't work :-( Except sd
card tool. This is my last chance...
×ÔÏÒÎÉË, 23 ÁÐÒÅÌÑ 2013 Ç., 14:17:36 UTC+4 ÐÏÌØÚÏ×ÁÔÅÌØ áÎÄÒÅÊ
Hey guys! Please, help me with my problem. I have Chuwi V10
tablet, and once day I'd installed Ampe A10 quad core
firmware on it. And now, I can't enter to firmware update
mode (Vol+ -> plugin usb cable -> press power many times) and
can't update firmware through Phoenix Suite. I read that it
is possible to create bootable sd-card for allwinner a10
devices. So, that's my question: how can I make this bootabe
sd for allwinner a31?
--
You received this message because you are subscribed to the
Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it,
For more options, visit https://groups.google.com/groups/opt_out.
--
Neal Peacock
PengPod
--
You received this message because you are subscribed to the Google
Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it,
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google
Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Андрей Зворыгин
2013-04-24 09:47:11 UTC
Permalink
Thx very much. I'll try this method.

среЎа, 24 апреля 2013 г., 11:13:58 UTC+4 пПльзПватель Oliver Schinagl
Post by Андрей Зворыгин
Neal Peacock, can you tell me, where this key codes setting are located?
After wrong firmware update I tried to restore my old partitions with dd
(from nanda to nandi). But key layout has not changed...
FEL mode (by keypress) is either initiated by the BROM or by boot0. Even
BROM = INSIDE the chip. You cannot ever change it. BROM first tries to
boot from mmc0, then from nand. If those fail (and some other options, see
the wiki) it forcefully boots to FEL mode.
boot0 and boot1 are both stored BEFORE /dev/block/nanda. Normal users
can't really access it. You could a dd if=/dev/zero of=/dev/block/nand (so
whipe the Entire nand device) and boot0/1 would still survive as it is on a
special area before the 'disk'. You'd have to flash a livesuit image to
mess boot0 and boot1 up, and even that's assuming they somehow obtained a
special version from Allwinner with keys swapped which is EXTEMLY unlikly.
Your best option to enter fel mode is to cross compile boot-fel.c
(instructions inside the C file) and dd that onto an empty SD card
(instructions in the C file).
Then insert the SD card and force a boot (power off/power on) you can
force a power off by holding the power button anywhere from 10 to 30
seconds.
Post by Neal Peacock
I have seen tablets before with a 'fel boot' button instead of a reset
button.О©╫ I'm guessing that when you reflashed with a different devices
firmware the key codes for the hardware buttons changed leaving you unable
to enter fel boot mode with the new firmware.О©╫ I have seen these codes
change between two shipments of the same tablet with the same control board.
Thx for help guys. But this methods doesn't work :-( Except sd card tool.
This is my last chance...
О©╫О©╫О©╫О©╫О©╫О©╫О©╫, 23 О©╫О©╫О©╫О©╫О©╫О©╫ 2013О©╫О©╫., 14:17:36 UTC+4
О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫
Post by Андрей Зворыгин
Hey guys! Please, help me with my problem. I have Chuwi V10 tablet, and
once day I'd installed Ampe A10 quad core firmware on it. And now, I can't
enter to firmware update mode (Vol+ -> plugin usb cable -> press power many
times) and can't update firmware through Phoenix Suite. I read that it is
possible to create bootable sd-card for allwinner a10 devices. So, that's
my question: how can I make this bootabe sd for allwinner a31?
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
О©╫
О©╫
--
Neal Peacock
PengPod
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
О©╫
О©╫
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
О©╫
О©╫
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Tom Cubie
2013-04-24 10:02:51 UTC
Permalink
On Wed, Apr 24, 2013 at 5:47 PM, Андрей Зворыгин
Post by Андрей Зворыгин
Thx very much. I'll try this method.
If you can connect via adb, run the following command in adb shell

dd if=/dev/zero of=/dev/block/nanda
reboot

you will have your device bricked, and boot into fel mode.
--
Keep simple, stay foolish.
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Андрей Зворыгин
2013-04-24 11:00:48 UTC
Permalink
Tom, thanks for your reply. But are you sure that AllWinner A31 device will
boot in fel mode if I do this?
On Wed, Apr 24, 2013 at 5:47 PM, АМЎрей ЗвПрыгОМ
Post by Андрей Зворыгин
Thx very much. I'll try this method.
If you can connect via adb, run the following command in adb shell
dd if=/dev/zero of=/dev/block/nanda
reboot
you will have your device bricked, and boot into fel mode.
--
Keep simple, stay foolish.
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Tom Cubie
2013-04-26 13:15:31 UTC
Permalink
On Wed, Apr 24, 2013 at 7:00 PM, Андрей Зворыгин
Post by Андрей Зворыгин
Tom, thanks for your reply. But are you sure that AllWinner A31 device will
boot in fel mode if I do this?
Of course. BROM -> boot0 -> boot1, any step is wrong, the device will
go to fel mode.
Post by Андрей Зворыгин
Post by Tom Cubie
On Wed, Apr 24, 2013 at 5:47 PM, Андрей Зворыгин
Post by Андрей Зворыгин
Thx very much. I'll try this method.
If you can connect via adb, run the following command in adb shell
dd if=/dev/zero of=/dev/block/nanda
reboot
you will have your device bricked, and boot into fel mode.
--
Keep simple, stay foolish.
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
Keep simple, stay foolish.
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Андрей Зворыгин
2013-04-27 11:32:47 UTC
Permalink
OMG! That works! Works! I filled /dev/block/nanda with zeroes and tablet
was boot in fel mode. Thank you!
On Wed, Apr 24, 2013 at 7:00 PM, áÎÄÒÅÊ ú×ÏÒÙÇÉÎ
Post by Андрей Зворыгин
Tom, thanks for your reply. But are you sure that AllWinner A31 device
will
Post by Андрей Зворыгин
boot in fel mode if I do this?
Of course. BROM -> boot0 -> boot1, any step is wrong, the device will
go to fel mode.
Post by Андрей Зворыгин
On Wed, Apr 24, 2013 at 5:47 PM, áÎÄÒÅÊ ú×ÏÒÙÇÉÎ
Post by Андрей Зворыгин
Thx very much. I'll try this method.
If you can connect via adb, run the following command in adb shell
dd if=/dev/zero of=/dev/block/nanda
reboot
you will have your device bricked, and boot into fel mode.
--
Keep simple, stay foolish.
--
You received this message because you are subscribed to the Google
Groups
Post by Андрей Зворыгин
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by Андрей Зворыгин
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google
Groups
Post by Андрей Зворыгин
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by Андрей Зворыгин
For more options, visit https://groups.google.com/groups/opt_out.
--
Keep simple, stay foolish.
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
me-kFVMXUcczinmgXItx6QXqFpr/1R2p/
2013-04-27 14:47:18 UTC
Permalink
Great news! :)

Did you get the tablet flashed in the end?
OMG! That works! Works! I filled /dev/block/nanda with zeroes and tablet was boot in fel mode. Thank you!
Андрей Зворыгин
2013-04-27 14:50:36 UTC
Permalink
Of course. Finally I updated firmware to ver. 2.0.
Post by me-kFVMXUcczinmgXItx6QXqFpr/1R2p/
Great news! :)
Did you get the tablet flashed in the end?
Post by Андрей Зворыгин
OMG! That works! Works! I filled /dev/block/nanda with zeroes and tablet
was boot in fel mode. Thank you!
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
a***@public.gmane.org
2014-01-19 13:30:27 UTC
Permalink
OMG! That works! Works! I filled /dev/block/nanda with zeroes and tablet was boot in fel mode. Thank you!
пятница, 26 апреля 2013 г., 17:15:31 UTC+4 пользователь hipboi написал:On Wed, Apr 24, 2013 at 7:00 PM, Андрей Зворыгин
Post by Андрей Зворыгин
Tom, thanks for your reply. But are you sure that AllWinner A31 device will
boot in fel mode if I do this?
Of course. BROM -> boot0 -> boot1, any step is wrong, the device will
go to fel mode.
Post by Андрей Зворыгин
Post by Tom Cubie
On Wed, Apr 24, 2013 at 5:47 PM, Андрей Зворыгин
Post by Андрей Зворыгин
Thx very much. I'll try this method.
If you can connect via adb, run the following command in adb shell
dd if=/dev/zero of=/dev/block/nanda
reboot
you will have your device bricked, and boot into fel mode.
--
Keep simple, stay foolish.
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
Keep simple, stay foolish.
Hi! I have same problem. Can you say why you did? thanks!
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Neal Peacock
2013-04-24 16:11:19 UTC
Permalink
This post might be inappropriate. Click to display it.
Oliver Schinagl
2013-04-24 16:54:25 UTC
Permalink
Post by Neal Peacock
Post by Oliver Schinagl
Post by Андрей Зворыгин
Neal Peacock, can you tell me, where this key codes setting are
located? After wrong firmware update I tried to restore my old
partitions with dd (from nanda to nandi). But key layout has not
changed...
FEL mode (by keypress) is either initiated by the BROM or by boot0.
Good point. I think from watching the debug messages during an SD card
boot we can establish that boot0 does not run with an SD boot. Since
holding the buttons down will still take control of the boot process and
force FEL even in the presence of an SD card we must conclude that
decision was made by the BROM.
I fully aggree.
Post by Neal Peacock
Post by Oliver Schinagl
BROM = INSIDE the chip. You cannot ever change it. BROM first tries to
boot from mmc0, then from nand. If those fail (and some other options,
see the wiki) it forcefully boots to FEL mode.
boot0 and boot1 are both stored BEFORE /dev/block/nanda. Normal users
can't really access it. You could a dd if=/dev/zero of=/dev/block/nand
(so whipe the Entire nand device) and boot0/1 would still survive as
it is on a special area before the 'disk'. You'd have to flash a
livesuit image to mess boot0 and boot1 up, and even that's assuming
they somehow obtained a special version from Allwinner with keys
swapped which is EXTEMLY unlikly.
If it is the BROM then it is the same across all hardware right? I
assume this means the BROM is just looking for any button tied to the
built in keyboard controller, since the sun4i-keyboard is where we see
these hardware keys in the Kernel. In which case, why wouldn't it still
work after flashing with the wrong image?
I think 'some' buttons are tied to the AXP gpio isn't it? Or atleast
there's the option available. I think the power button for example. This
is why you can press the power button for XX seconds and it'll force the
device off, no matter what. If it where passed on from the SoC, that
wouldn't always have to work (crashed kernel).

The volume keys are mapped to the LRADC, low resolution ADC. I think
there's actually more keys mapped to the LRADC from some code I saw.
Each key produces a different Resistance and thus is identified via
that. Not really elegant but a cool hack nevertheless.

All in all, FEL mode is unrelated to key mappings, unless you change
some resistors, you can't break it.
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Андрей Зворыгин
2013-04-25 04:56:04 UTC
Permalink
One more thing, I tried to flash correct image with PhoenixSuit 1.0.6 with
turnedon tablet. After I pressed "Update" button, tablet reboots and
detects as vid_1f3a&pid_efe8. But after that I received error "PnpFelIn".
So, if I understand correctly, I can't repair my tablet without
intervention to hardware or destroying boot image? :-(
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
me-kFVMXUcczinmgXItx6QXqFpr/1R2p/
2013-04-25 10:35:00 UTC
Permalink
One more thing, I tried to flash correct image with PhoenixSuit 1.0.6 with turnedon tablet. After I pressed "Update" button, tablet reboots and detects as vid_1f3a&pid_efe8. But after that I received error "PnpFelIn".
So, if I understand correctly, I can't repair my tablet without intervention to hardware or destroying boot image? :-(
Have you tried the fel-boot.c method as suggested by Oliver? If so, what were your results?

Also, make sure that you have the correct image for your device, preferably from the manufacturer (though that is no guarantee!).
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Андрей Зворыгин
2013-04-25 16:07:12 UTC
Permalink
yes, I tried this method. No results...

ÞÅÔ×ÅÒÇ, 25 ÁÐÒÅÌÑ 2013 Ç., 14:35:00 UTC+4 ÐÏÌØÚÏ×ÁÔÅÌØ
Post by Андрей Зворыгин
One more thing, I tried to flash correct image with PhoenixSuit 1.0.6
with turnedon tablet. After I pressed "Update" button, tablet reboots and
detects as vid_1f3a&pid_efe8. But after that I received error "PnpFelIn".
Post by Андрей Зворыгин
So, if I understand correctly, I can't repair my tablet without
intervention to hardware or destroying boot image? :-(
Have you tried the fel-boot.c method as suggested by Oliver? If so, what were your results?
Also, make sure that you have the correct image for your device,
preferably from the manufacturer (though that is no guarantee!).
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Андрей Зворыгин
2013-04-25 09:42:34 UTC
Permalink
And one more thing. Allwinner has released the kernel sources for its A31
http://bit.ly/11DGp9i <http://t.co/wI6PYNpUiw>. With A31 u-boot sources I
can create bootable sd, right?
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Neal Peacock
2013-04-25 14:18:21 UTC
Permalink
Post by Андрей Зворыгин
And one more thing. Allwinner has released the kernel sources for its
A31 http://bit.ly/11DGp9i<http://t.co/wI6PYNpUiw>. With A31 u-boot
sources I can create bootable sd, right?
I'm getting ready to take this on too. I have been waiting for a A31
device with a serial debug header but haven't found one yet. Has anyone
else had any luck with this?
Post by Андрей Зворыгин
--
You received this message because you are subscribed to the Google
Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/groups/opt_out.
--
Neal Peacock
PengPod
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Tom Cubie
2013-04-26 13:25:29 UTC
Permalink
Post by Андрей Зворыгин
And one more thing. Allwinner has released the kernel sources for its A31
http://bit.ly/11DGp9i. With A31 u-boot sources I can create bootable sd,
right?
I'm getting ready to take this on too. I have been waiting for a A31 device
with a serial debug header but haven't found one yet. Has anyone else had
any luck with this?
You need this, the uSD breakout board.
https://cubieboard.myshopify.com/collections/frontpage/products/usd-breakout-board
A31 can also use the uSD pins as uart pins. For a31 tablets, hold a
key(ie Vol-), and long press the power key to power on, and then press
another key(ie Vol+), the uSD pin will be set as uart pin. You can get
serial console on uSD breakout board.
Post by Андрей Зворыгин
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
Neal Peacock
PengPod
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
Keep simple, stay foolish.
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Tom Cubie
2013-04-26 13:33:49 UTC
Permalink
On Thu, Apr 25, 2013 at 5:42 PM, Андрей Зворыгин
Post by Андрей Зворыгин
And one more thing. Allwinner has released the kernel sources for its A31
http://bit.ly/11DGp9i. With A31 u-boot sources I can create bootable sd,
right?
No, no spl support yet. However, you can make a bootable sd card image
with another tool, phonex card. You can also restore your image to
nand with this tool. You can find the tool and readme here:
http://tom.linux-sunxi.org/mom/

I wrote it for a client before.
Post by Андрей Зворыгин
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
Keep simple, stay foolish.
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Андрей Зворыгин
2013-04-27 09:42:10 UTC
Permalink
OK, I will try it. Thanks for help!
On Thu, Apr 25, 2013 at 5:42 PM, АМЎрей ЗвПрыгОМ
Post by Андрей Зворыгин
And one more thing. Allwinner has released the kernel sources for its A31
http://bit.ly/11DGp9i. With A31 u-boot sources I can create bootable sd,
right?
No, no spl support yet. However, you can make a bootable sd card image
with another tool, phonex card. You can also restore your image to
http://tom.linux-sunxi.org/mom/
I wrote it for a client before.
Post by Андрей Зворыгин
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
Keep simple, stay foolish.
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...